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

Changing the "ZOMBIE_WEAPON_SCAVENGER_750"?

broken avatar :(
Created 7 years ago
by xZekaHD
0 Members and 1 Guest are viewing this topic.
5,412 views
broken avatar :(
×
broken avatar :(
Location: gbLeeds
Date Registered: 24 February 2014
Last active: 10 months ago
Posts
30
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Global on CSGO, Silver at Map Making.
Signature
ZM_SCHOOL PROGRESS = 10%  :gusta:

Last Updated - 21 October 2016
×
xZekaHD's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
xZekaHD's Contact & Social Linkscrawmax1azerukNatrah
Hi UGX,

When I'm ingame, the scavenger I added into my map has "ZOMBIE_WEAPON_SCAVENGER_750" on the wallbuy, I want to change it to be normal like "Hold [Use] To Buy Scavenger".

Even some people in the UGX Chat tried helping but we couldn't get it fixed.
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 1 year ago
Posts
1,187
Respect
1,404Add +1
Forum Rank
Zombie Colossus
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntstuffy@BluntZombieBluntStuffyStuffyZombie
Code Snippet
Plaintext
	add_zombie_weapon( "zombie_scavenger", 		"Hold &&1 To Buy Scavenger", 			750, 	"vox_crappy",	8 );


Or if you want to do it the 'hard' way and use the localized strings:
Code Snippet
Plaintext
	add_zombie_weapon( "zombie_scavenger", 			&"ZOMBIE_WEAPON_SCAVENGER_750", 			750, 	"vox_crappy",	8 );
go to "game_root\raw\english\localizedstrings\" and find the file "zombie.str". For this to work you can't copy the file to your mods\ folder (as far as i know) so edit it right where it is, but make a backup first! Open the "zombie.str" file and go to the bottom and add these line's:

Code Snippet
Plaintext
REFERENCE           ZOMBIE_WEAPON_SCAVENGER_750
LANG_ENGLISH        "Press &&1 to buy Scavenger [Cost: 750]"

Last Edit: October 25, 2016, 08:12:42 pm by BluntStuffy
broken avatar :(
×
broken avatar :(
Location: gbLeeds
Date Registered: 24 February 2014
Last active: 10 months ago
Posts
30
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Global on CSGO, Silver at Map Making.
×
xZekaHD's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
xZekaHD's Contact & Social Linkscrawmax1azerukNatrah
Code Snippet
Plaintext
	add_zombie_weapon( "zombie_scavenger", 		"Hold &&1 To Buy Scavenger", 			750, 	"vox_crappy",	8 );


Or if you want to do it the 'hard' way and use the localized strings:
Code Snippet
Plaintext
	add_zombie_weapon( "zombie_scavenger", 			&"ZOMBIE_WEAPON_SCAVENGER_750", 			750, 	"vox_crappy",	8 );
go to "game_root\raw\english\localizedstrings\" and find the file "zombie.str". For this to work you can't copy the file to your mods\ folder (as far as i know) so edit it right where it is, but make a backup first! Open the "zombie.str" file and go to the bottom and add these line's:

Code Snippet
Plaintext
REFERENCE           ZOMBIE_WEAPON_SCAVENGER_750
LANG_ENGLISH        "Press &&1 to buy Scavenger [Cost: 750]"


Tried both ways it still doesn't change it from "zombie_weapon_scavenger_750, but after I buy the weapon, it then changes to "For Weapon Cost[750], Ammo [1000], Upgraded Ammo[4500]
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 1 year ago
Posts
1,187
Respect
1,404Add +1
Forum Rank
Zombie Colossus
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntstuffy@BluntZombieBluntStuffyStuffyZombie
Has to be a typo somewhere, specially if everything else works ( you get the weapon when you buy it etc ).

Did you notice the & ? If you use a localized string it's there, otherwise it's not:

Code Snippet
Plaintext
"Hold &&1 To Buy Scavenger"
&"ZOMBIE_WEAPON_SCAVENGER_750"

If you cant solve it just post all the line's you added/edited

broken avatar :(
×
broken avatar :(
Location: gbLeeds
Date Registered: 24 February 2014
Last active: 10 months ago
Posts
30
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Global on CSGO, Silver at Map Making.
×
xZekaHD's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
xZekaHD's Contact & Social Linkscrawmax1azerukNatrah
Has to be a typo somewhere, specially if everything else works ( you get the weapon when you buy it etc ).

Did you notice the & ? If you use a localized string it's there, otherwise it's not:

Code Snippet
Plaintext
"Hold &&1 To Buy Scavenger"
&"ZOMBIE_WEAPON_SCAVENGER_750"

If you cant solve it just post all the line's you added/edited

Yeah I noticed well here these are my scripts.

_zombiemode_weapons.gsc:
http://pastebin.com/6TLQHa9W

dlc3_code.gcs:
// Bolt Action
include_weapon( "scavenger" );

Bottom of zombie.str:
REFERENCE           ZOMBIE_WEAPON_SCAVENGER_750
LANG_ENGLISH        "Press &&1 to buy Scavenger [Cost: 750]"



ENDMARKER
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 1 year ago
Posts
1,187
Respect
1,404Add +1
Forum Rank
Zombie Colossus
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntstuffy@BluntZombieBluntStuffyStuffyZombie
dlc3_code:
Code Snippet
Plaintext
include_weapon( "scavenger" );

_zombiemode_weapons:
Code Snippet
Plaintext
add_zombie_weapon( "zombie_scavenger",                      &"ZOMBIE_WEAPON_SCAVENGER_750",             750,    "vox_crappy",   8 );


So it's either 'scavenger' or 'zombie_scavenger' ( wich i added, yes. but if your weaponfile is named different you need to change that obv ).
broken avatar :(
×
broken avatar :(
Location: gbLeeds
Date Registered: 24 February 2014
Last active: 10 months ago
Posts
30
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Global on CSGO, Silver at Map Making.
×
xZekaHD's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
xZekaHD's Contact & Social Linkscrawmax1azerukNatrah
dlc3_code:
Code Snippet
Plaintext
include_weapon( "scavenger" );

_zombiemode_weapons:
Code Snippet
Plaintext
add_zombie_weapon( "zombie_scavenger",                      &"ZOMBIE_WEAPON_SCAVENGER_750",             750,    "vox_crappy",   8 );


So it's either 'scavenger' or 'zombie_scavenger' ( wich i added, yes. but if your weaponfile is named different you need to change that obv ).

Yeah my weapon file is just called "scavenger", so do I have have to change the weapon file name or

do I have to change this
   add_zombie_weapon( "zombie_scavenger",          &"ZOMBIE_WEAPON_SCAVENGER_750",          750,    "vox_crappy",   8 );

to this    
add_zombie_weapon( "scavenger",          &"ZOMBIE_WEAPON_SCAVENGER_750",          750,    "vox_crappy",   8 );
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 1 year ago
Posts
1,187
Respect
1,404Add +1
Forum Rank
Zombie Colossus
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntstuffy@BluntZombieBluntStuffyStuffyZombie
whatever you want to change, as long as all three are the same ( name of the weapon-file + dlc3_code + zombiemode_weapons )
So yeh, easiest would be:

change this
Code Snippet
Plaintext
   add_zombie_weapon( "zombie_scavenger",          &"ZOMBIE_WEAPON_SCAVENGER_750",          750,    "vox_crappy",   8 );

to this   
Code Snippet
Plaintext
add_zombie_weapon( "scavenger",          &"ZOMBIE_WEAPON_SCAVENGER_750",          750,    "vox_crappy",   8 );
Last Edit: October 25, 2016, 09:13:59 pm by BluntStuffy
broken avatar :(
×
broken avatar :(
Location: gbLeeds
Date Registered: 24 February 2014
Last active: 10 months ago
Posts
30
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Global on CSGO, Silver at Map Making.
×
xZekaHD's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
xZekaHD's Contact & Social Linkscrawmax1azerukNatrah
whatever you want to change, as long as all three are the same ( name of the weapon-file + dlc3_code + zombiemode_weapons )
So yeh, easiest would be:

change this
Code Snippet
Plaintext
   add_zombie_weapon( "zombie_scavenger",          &"ZOMBIE_WEAPON_SCAVENGER_750",          750,    "vox_crappy",   8 );

to this   
Code Snippet
Plaintext
add_zombie_weapon( "scavenger",          &"ZOMBIE_WEAPON_SCAVENGER_750",          750,    "vox_crappy",   8 );

Still get the "zombie_weapon_scavenger_750"
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 27 September 2016
Last active: 7 years ago
Posts
23
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
lmg60's Groups
lmg60's Contact & Social Links
Hello, could you help me a week that I try but I can not get there
I followed tuto to put the model1887 of mw3 on my map

https://www.youtube.com/watch?v=Q8gOlRcTkvA


but when I am in game my weapon is a 0 and I did not have message for the purchase of the weapon or ammunition

My weapon is named model1887 in my folder weapon

Could you give me the exact lines of code to get the right price and the message to buy the weapon and ammunition

I have tried many things but nothing to do despite tutos


I put the files of my weapon in the raw folder and also in my folder maps / name of my map and also check the files during the compilation

 
Loading ...