mikey99222 Posted February 4, 2017 Share Posted February 4, 2017 (edited) TL;DR, My item has no image or name when dropped, the file is below in .zip format, Please help! (Useful info at the bottom) I decided, seeing as some of my friends (we're all incapable) were modding, I was mostly helping code (That's why the art is all... random and unrelated). I ran into an error; when I drop any item on the ground, or spawn it in, it disappears. When I hover over it; there's no name, no picture and no highlight. Please help me out! Here are some things that may help: (private mod for friends) I copied the "Bolt Gun", made by emistro the "GreenGuy420", and have thus far renamed the mod to "gun" instead of "boltgun" -I assume it's a naming issue, however, I have used build renamer and have extensively looked at each build.bin, anim and even xml to attempt to spot the error, no luck. -Yes, the code is copied. I just want my character to have this weapon so i'll merge the folders later ;P (My character isn't copied and pasted) Thinggun.rar Edited February 4, 2017 by mikey99222 Link to comment https://forums.kleientertainment.com/forums/topic/73804-custom-item-invisible-with-no-name-when-dropped-please-help/ Share on other sites More sharing options...
Lumina Posted February 4, 2017 Share Posted February 4, 2017 4 hours ago, mikey99222 said: -I assume it's a naming issue, however, I have used build renamer and have extensively looked at each build.bin, anim and even xml to attempt to spot the error, no luck. Ok so if i understand you used another mod as a base, a mod named Bolt Gun, and renamed the build to "gun". But as far as i know, in the prefab of your gun, there is : inst.AnimState:SetBank("gun") inst.AnimState:SetBuild("gun") inst.AnimState:PlayAnimation("idle") When you rename a build, you don't touch the anim. The anim name stay the same. So i guess, even if i'm not sure, that the problem could be that you need to keep the original anim name ("boltgun" or whatever it was), and just change the build name, and see if it's better. Link to comment https://forums.kleientertainment.com/forums/topic/73804-custom-item-invisible-with-no-name-when-dropped-please-help/#findComment-863730 Share on other sites More sharing options...
mikey99222 Posted February 4, 2017 Author Share Posted February 4, 2017 5 hours ago, Lumina said: Ok so if i understand you used another mod as a base, a mod named Bolt Gun, and renamed the build to "gun". But as far as i know, in the prefab of your gun, there is : inst.AnimState:SetBank("gun") inst.AnimState:SetBuild("gun") inst.AnimState:PlayAnimation("idle") When you rename a build, you don't touch the anim. The anim name stay the same. So i guess, even if i'm not sure, that the problem could be that you need to keep the original anim name ("boltgun" or whatever it was), and just change the build name, and see if it's better. I found the mentioned code in the gun.lua file, I changed the "gun" to "boltgun" (as it was when I got it.) What happened: - I have no clue how, but changing the build in the gun prefab file made my character appear. - More bizarrely, the gun is still invisible? Thank you a ton for your time, it really helped :3 Link to comment https://forums.kleientertainment.com/forums/topic/73804-custom-item-invisible-with-no-name-when-dropped-please-help/#findComment-863805 Share on other sites More sharing options...
Lumina Posted February 4, 2017 Share Posted February 4, 2017 I'm glad it helped, but i must admit i don't understand what is happening, so i can't help more sadly. Link to comment https://forums.kleientertainment.com/forums/topic/73804-custom-item-invisible-with-no-name-when-dropped-please-help/#findComment-863819 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