UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Upgraded guns

broken avatar :(
Created 10 years ago
by Undeadmetal
0 Members and 1 Guest are viewing this topic.
1,549 views
broken avatar :(
×
broken avatar :(
Location: usOregon
Date Registered: 20 August 2014
Last active: 1 year ago
Posts
308
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Coding Hobbyist, Application & Web Development
Signature
×
Undeadmetal's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Undeadmetal's Contact & Social LinksOnlyAGamer
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.     ;D
Marked as best answer by Undeadmetal 10 years ago
broken avatar :(
×
broken avatar :(
Location: esMadrid
Date Registered: 27 March 2015
Last active: 5 years ago
Posts
371
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
JIGGLYPUFF used SING! YOU fell asleep!
Signature
×
Soy-Yo's Groups
Soy-Yo's Contact & Social LinksSoy-yoElCerdoRey
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
broken avatar :(
×
broken avatar :(
Location: usOregon
Date Registered: 20 August 2014
Last active: 1 year ago
Posts
308
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Coding Hobbyist, Application & Web Development
×
Undeadmetal's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Undeadmetal's Contact & Social LinksOnlyAGamer
Spoiler: click to open...
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...

Thanks Soy-yo!

 
Loading ...