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

Need help w/ changing cost of weapons

broken avatar :(
Created 7 years ago
by pwman123
0 Members and 1 Guest are viewing this topic.
1,109 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 9 May 2015
Last active: 5 years ago
Posts
103
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
Signature
"Mod builder lied. Everything isn't ok."
×
pwman123's Groups
pwman123's Contact & Social Linkspwman123pwman123pwman123
I want to change the ppsh wallbuy from 2000 to pretty much anything. I tried changing it by importing _zombiemode_weapons into my map's maps folder, but that causes it to display the ugly "ZOMBIE_WEAPON_PPSH_2000" instead. Suggestions?
broken avatar :(
×
broken avatar :(
Pragmatist
Location: in
Date Registered: 9 May 2015
Last active: 8 months ago
Posts
451
Respect
Forum Rank
Perk Hacker
Primary Group
UGX Site Moderator
My Groups
More
My Contact & Social Links
More
Personal Quote
Fish. That is all
Signature
×
Sidzzz's Groups
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
Sidzzz's Contact & Social LinkssidzzzzzzS1dzzzS1dzzzSidzzzSidTheGamer126
Try changing the following code in '_zombiemode_weapons'.gsc
 
Code Snippet
Plaintext
add_zombie_weapon( "zombie_ppsh", 							&"ZOMBIE_WEAPON_PPSH_2000", 				2000,	"vox_ppsh",		5 );

to

Code Snippet
Plaintext
add_zombie_weapon( "zombie_ppsh", 							"Press and Hold &&1 to buy PPSH-41 [Cost: x]", 				x,	"vox_ppsh",		5 );

where x = your preferred price.
Last Edit: December 20, 2016, 12:22:20 pm by Sidzzz
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 9 May 2015
Last active: 5 years ago
Posts
103
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
pwman123's Groups
pwman123's Contact & Social Linkspwman123pwman123pwman123
Try changing the following code in '_zombiemode_weapons'.gsc
 
Code Snippet
Plaintext
add_zombie_weapon( "zombie_ppsh", 							&"ZOMBIE_WEAPON_PPSH_2000", 				2000,	"vox_ppsh",		5 );

to

Code Snippet
Plaintext
add_zombie_weapon( "zombie_ppsh", 							"Press and Hold &&1 to buy PPSH-41 [Cost: x]", 				x,	"vox_ppsh",		5 );

where x = your preferred price.

appreciate ya . I left the & symbol before ("Press and Hold &&1 to buy PPSH-41 [Cost: x]") and that's what threw me over.

 
Loading ...