Call of Duty 5: World at War => Help Desk => Modding => Topic started by: CreeperFace on June 07, 2015, 10:40:33 pm
Title: Gun does not upgrade
Post by: CreeperFace on June 07, 2015, 10:40:33 pm
So I have finally found a proper way to add cool PaP textures to ported weapons, and it works fine for all guns I have tried it on so far. Then something weird happened. A gun that I had already completely done, the mp7 from Black Ops 2, didn't want to upgrade anymore. So thinking how I failed at scripting it properly (even though it did work before) I found no scripting problem at all. Nothing. The mp7_upgraded file is correctly set up as well. Why does my gun, the mp7, not upgrade?
Here are some of the scripts I have added:
Title: Re: Gun does not upgrade
Post by: MZslayer11 on June 07, 2015, 11:36:23 pm
Make sure that the weapon file is in the mods weapon folder and make sure that is is in mod.csv. Also, check your spelling because many times I spelled upgraded wrong one place and that will screw everything up. Make sure that it is ticked in the mod builder.
Title: Re: Gun does not upgrade
Post by: CreeperFace on June 08, 2015, 12:13:32 am
Solved the problem. The solution is to completely redo the gun in order for it to work. Weird, but it works.
Title: Re: Gun does not upgrade
Post by: MakeCents on June 08, 2015, 01:20:27 am
Do you get errors when you build? Something to do with mp7 upgraded?
Title: Re: Gun does not upgrade
Post by: lilrifa on June 08, 2015, 01:56:41 am
Make sure all comments have a space after the double slash.
Example: //weapon,sp\fal_osw // weapon,sp\fal_osw
Title: Re: Gun does not upgrade
Post by: Harry Bo21 on June 08, 2015, 02:48:36 am
not really a "solution" but none the less, seems his issue is resolved now guys
Most likely his weapon wouldnt load due to something being done wrong the first time i assume
Most likely yes, maybe a file was corrupted or messed up and I didnt know, find it or see it. To be fair, everything I did afterwards in regards of redoing the gun looked exactly the same as these files did. In short, if your gun does not upgrade and you cant find why, try completely removing the gun from your mod and re-add it again.
Title: Re: Gun does not upgrade
Post by: MZslayer11 on June 08, 2015, 01:35:21 pm
Op, please mark someone's answer as 'solved' so people know.
Title: Re: Gun does not upgrade
Post by: Harry Bo21 on June 08, 2015, 08:54:13 pm
Most likely yes, maybe a file was corrupted or messed up and I didnt know, find it or see it. To be fair, everything I did afterwards in regards of redoing the gun looked exactly the same as these files did. In short, if your gun does not upgrade and you cant find why, try completely removing the gun from your mod and re-add it again.
this is what we like to call "cod logic" - sometimes things just break lol
example, i cannot edit any weaponfile called "zombie_claymore" in ugxs weapon editor coz it says the file is currently in use - but it isnt lol :D
And yeah make sure to mark yourself as best answer if that worked for you, then others with similar issues can use this topic to find a solution ;)