


Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!treasure_chest_think()
{
cost = 950;
player maps\_zombiemode_score::add_to_player_score( 950 );
Go to raw/maps and copy _zombiemode_weapons.gsc to you mods/YourModName/maps
Open it with text editor and find this: Code SnippetPlaintexttreasure_chest_think()
{
cost = 950;
Change the cost to whatever you want, then find this:And change "950" to whatever you want Code SnippetPlaintextplayer maps\_zombiemode_score::add_to_player_score( 950 );
That should work, sorry for any english error
EDIT: Don't forget to mark "_zombiemode_weapons.gsc" in your Launcher when you compile your mod.
treasure_chest_think()
{
cost = 950;
self set_hint_string( self, "default_treasure_chest_" + cost );
self setHintString( "Press & hold &&1 to use box [Cost: " + cost + "]" );
You need to change the "zombie_cost" KVP in Radaint for all the boxes' trigger you have to 10000.
You don't need to edit this actually: Code SnippetPlaintexttreasure_chest_think()
{
cost = 950;
And you also have to edit this line:With: Code SnippetPlaintextself set_hint_string( self, "default_treasure_chest_" + cost );
Probably you'll need to change the text for the hint string, because I can't remember now what it says originally. Code SnippetPlaintextself setHintString( "Press & hold &&1 to use box [Cost: " + cost + "]" );
So I change the trigger on the mystery box? It's a prefab.. Should I just click it and press n? Sorry I'm new at this
Open the prefab clicking here
(Image removed from quote.)