Stimpz Posted July 5, 2020 Share Posted July 5, 2020 Hello! I'm new to this modding thing and wanted to try to port the pirate hat from shipwrecked into dst. Because it's the first time that I mod something I tried to keep it as simple as possible. So my idea was to download a simple hat mod (this one https://steamcommunity.com/sharedfiles/filedetails/?id=1552139091 ) and change only the appeareance at first. I looked with notepad++ inside the files and tried to change all appeareance related lines to the pirate hat (which I found in the DLC2 files from don't starve). At least I made it to not crash the game anymore but the hat is invisible as I wear it. I took some screenshots for you and wanted to ask if i'm totaly on the wrong road? And what could I do to make it work? Also I uploaded the pirate hat.zip from Don't Starve: Shipwrecked (I'm not even sure if it is the right file to use for this) and the changed hat_wizard.lua. Thank you for your attention! hat_pirate.zip hat_wizard.lua Link to comment https://forums.kleientertainment.com/forums/topic/119811-trying-to-port-the-pirate-hat-from-shipwrecked/ Share on other sites More sharing options...
-LukaS- Posted July 5, 2020 Share Posted July 5, 2020 (edited) I don't think you need 2 hat_pirate.zip assets imported. Also, looking through hats.lua file, I see the bank and build should look like this: inst.AnimState:SetBank("piratehat") inst.AnimState:SetBuild("hat_pirate") inst.AnimState:PlayAnimation("anim") Also set your OverrideSymbol to owner.AnimState:OverrideSymbol("swap_hat", "hat_pirate", "swap_hat") Edited July 5, 2020 by IThatGuyI 1 Link to comment https://forums.kleientertainment.com/forums/topic/119811-trying-to-port-the-pirate-hat-from-shipwrecked/#findComment-1351254 Share on other sites More sharing options...
Stimpz Posted July 6, 2020 Author Share Posted July 6, 2020 It worked! Thank you very much! now I can focus on the rest and maybe try to implement the right icons and stuff. I really appreciate your help! 1 Link to comment https://forums.kleientertainment.com/forums/topic/119811-trying-to-port-the-pirate-hat-from-shipwrecked/#findComment-1351439 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now