So here's a quick question... so when making upgraded guns would I just take the gun file and change the name and texture as a new file or how would I make an upgraded gun? Sorry for this noob question.
You have to change the name of the weapon to "nameofweapon_upgraded", change the textures and edit the weapon file (It's easier with UGX WeaponsEditor++ but you can use notepad as well): You'd like to change its name, its stats such as damage, minDamage, maxAmmo, startAmmo, clipSize... Then you have to change the gunModel and worldModel to your upgraded models, the fireSound and fireSoundPlayer to the upgraded weapon sound and finally the effect, replacing the viewFlashEffect with:
Code Snippet
Plaintext
weapon/muzzleflashes/standardflashview_ug
and worldFlashEffect with:
Code Snippet
Plaintext
weapon/muzzleflashes/standardflashworld_ug
I think that's all you need to edit.
Well, and of course, add the new weapon to the mod and to _zombiemode_weapons and dlc3_code, add the new models...
Last Edit: January 11, 2016, 07:12:13 pm by Soy-Yo
You have to change the name of the weapon to "nameofweapon_upgraded", change the textures and edit the weapon file (It's easier with UGX WeaponsEditor++ but you can use notepad as well): You'd like to change its name, its stats such as damage, minDamage, maxAmmo, startAmmo, clipSize... Then you have to change the gunModel and worldModel to your upgraded models, the fireSound and fireSoundPlayer to the upgraded weapon sound and finally the effect, replacing the viewFlashEffect with:
Code Snippet
Plaintext
weapon/muzzleflashes/standardflashview_ug
and worldFlashEffect with:
Code Snippet
Plaintext
weapon/muzzleflashes/standardflashworld_ug
I think that's all you need to edit.
Well, and of course, add the new weapon to the mod and to _zombiemode_weapons and dlc3_code, add the new models...