bopadooper Posted January 18, 2024 Share Posted January 18, 2024 I'm following a character + custom items template to create a mod and my current roadblock is that the helmet I am trying to create does not appear on the character when equipped. The inventory image, crafting menu images, and dropped images all function as intended, but when equipped the helmet is just invisible. I'm using the football helmet as a placeholder until I get this figured out. The folder containing most of the helmet's stuff should be attached. Thanks in advance for any help! <3 swap_guardianhelm.7z Link to comment https://forums.kleientertainment.com/forums/topic/153888-custom-item-invisible-on-character/ Share on other sites More sharing options...
Godge Posted January 22, 2024 Share Posted January 22, 2024 What character + custom items template are you using Link to comment https://forums.kleientertainment.com/forums/topic/153888-custom-item-invisible-on-character/#findComment-1695314 Share on other sites More sharing options...
bopadooper Posted January 22, 2024 Author Share Posted January 22, 2024 16 hours ago, Godge said: What character + custom items template are you using I've been following this one: https://forums.kleientertainment.com/forums/topic/115694-templatetutorial-custom-crafting-tab-and-items/ Link to comment https://forums.kleientertainment.com/forums/topic/153888-custom-item-invisible-on-character/#findComment-1695398 Share on other sites More sharing options...
Thomas_klei Posted January 24, 2024 Share Posted January 24, 2024 Typically the image files aren't the problem but the actual code, you may have not named the directory correctly. owner.AnimState:OverrideSymbol("swap_object", "swap_myitem", "swap_myitem") The names of these may be different in the spriter build as well, that might be confusing you. I haven't looked at the code for dst in a while so it may have changed but I hope this helps you. Link to comment https://forums.kleientertainment.com/forums/topic/153888-custom-item-invisible-on-character/#findComment-1695607 Share on other sites More sharing options...
bopadooper Posted January 28, 2024 Author Share Posted January 28, 2024 On 1/24/2024 at 2:07 PM, Thomas Die said: Typically the image files aren't the problem but the actual code, you may have not named the directory correctly. owner.AnimState:OverrideSymbol("swap_object", "swap_myitem", "swap_myitem") The names of these may be different in the spriter build as well, that might be confusing you. I haven't looked at the code for dst in a while so it may have changed but I hope this helps you. After a few days puzzling this over I got the sprite to show up! Unfortunately, instead of sitting on the character's head it's kind of floating off to the side now :'D 1 Link to comment https://forums.kleientertainment.com/forums/topic/153888-custom-item-invisible-on-character/#findComment-1696021 Share on other sites More sharing options...
bopadooper Posted January 31, 2024 Author Share Posted January 31, 2024 I ended up solving the issue <3 Turns out I had the "AnimState:SetBank" line wrong, and after I changed it to my prefab name the helmet is no longer invisible in any context Link to comment https://forums.kleientertainment.com/forums/topic/153888-custom-item-invisible-on-character/#findComment-1696307 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