BombardmentPigs Posted April 15, 2022 Share Posted April 15, 2022 (edited) I have been making a few custom items. They have the same code, just different stats. When I put the first item on the ground, the texture is fine. However with the second and third items it is invisible when dropped on the ground. There is no hitbox either. All the other textures, including the map, inventory, and handheld work fine. I basically made the first one and then copied and pasted it to create the other two. Any help would be greatly appreciated! Item one and two are attached. One is fine and Two is bugged. boomstick1.lua boomstick2.lua Edited April 17, 2022 by BombardmentPigs Link to comment https://forums.kleientertainment.com/forums/topic/139140-solved-items-invisible-once-dropped-on-the-ground/ Share on other sites More sharing options...
-LukaS- Posted April 15, 2022 Share Posted April 15, 2022 Did you make sure you added this to your mods assets: Asset("ANIM", "anim/boomstick2.zip"), Asset("ANIM", "anim/boomstick2_ground.zip") If yes then there might be a problem with the animation itself, maybe the names are wrong. It's hard to tell without the actual animation files. From what I can here boomstick2 should work fine. Link to comment https://forums.kleientertainment.com/forums/topic/139140-solved-items-invisible-once-dropped-on-the-ground/#findComment-1558204 Share on other sites More sharing options...
BombardmentPigs Posted April 15, 2022 Author Share Posted April 15, 2022 (edited) Yes, they are inside the file, however it does not work. If you need to I can provide the modmain. Also, I tested it with Spriter. The textures show up there. Just not in-game. Edited April 15, 2022 by BombardmentPigs Link to comment https://forums.kleientertainment.com/forums/topic/139140-solved-items-invisible-once-dropped-on-the-ground/#findComment-1558214 Share on other sites More sharing options...
-LukaS- Posted April 15, 2022 Share Posted April 15, 2022 Send your modmain and scml files just in case the modmain doesn't actually contain any errors. Link to comment https://forums.kleientertainment.com/forums/topic/139140-solved-items-invisible-once-dropped-on-the-ground/#findComment-1558270 Share on other sites More sharing options...
BombardmentPigs Posted April 15, 2022 Author Share Posted April 15, 2022 11 hours ago, -t- said: Send your modmain and scml files just in case the modmain doesn't actually contain any errors. modmain.lua boomstick2_ground.scml boomstick1_ground.scml Link to comment https://forums.kleientertainment.com/forums/topic/139140-solved-items-invisible-once-dropped-on-the-ground/#findComment-1558632 Share on other sites More sharing options...
BombardmentPigs Posted April 16, 2022 Author Share Posted April 16, 2022 An update: I don't think it is a problem with the graphics folders, because I tried deleting them and using the autocompilier to recompile them. Unfortunately it doesn't work. If you want the specifics: I deleted the boomstick2_ground.zip file and replaced it with a boomstick1_ground.zip file (Both the exported folder and the anim folder) I deleted the boomstick2_ground.scml file and replaced it with a boomstick1_ground.scml file Link to comment https://forums.kleientertainment.com/forums/topic/139140-solved-items-invisible-once-dropped-on-the-ground/#findComment-1558827 Share on other sites More sharing options...
-LukaS- Posted April 16, 2022 Share Posted April 16, 2022 I checked your scml files and I see that your entity name is boomstick1_ground instead of boomstick2_ground. 1 Link to comment https://forums.kleientertainment.com/forums/topic/139140-solved-items-invisible-once-dropped-on-the-ground/#findComment-1558926 Share on other sites More sharing options...
BombardmentPigs Posted April 17, 2022 Author Share Posted April 17, 2022 Thanks, I'll test that. It worked! Thank you so much for your help! That is a miniscule detail that I probably wouldn't have found! Link to comment https://forums.kleientertainment.com/forums/topic/139140-solved-items-invisible-once-dropped-on-the-ground/#findComment-1559277 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