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! self waittill_any( "fake_death", "death", "player_downed", "weapon_change_complete" );
self perk_give_bottle_end( gun, perk );
WOW!!!!!!!!!!
I have t4m installed into my WAW ROOT directory, but it still crashes!!
My Bro thinks this is a
Game won't load the newer Saloon at all. It just turns black and crashes. Any fix?
level thread add_perk("vending_jugg", "specialty_armorvest", "jugger_light", "zombie_vending_jugg_on", 2500, undefined, &"ZOMBIE_PERK_JUGGERNAUT", "specialty_juggernaut_zombies", "zombie_perk_bottle_jugg", "mx_jugger_sting", undefined);
add_perk( vending_machine, specialty, light_fx, machine_change, cost, perk_name, perk_name_actual, shader, bottle_weapon, short_jingle, function);
vending_machine - targetname on machine
specialty - trigger specialty (script_noteworthy)
light_fx - name of fx used for machine (level._effect[ -> light_fx <- ]) e.g. "zombie_vending_jugg_on"
machine_change - name of model to change to when powers on (CAN leave undefined if none)
cost - cost of the perk (should be a whole number e.g. 2500 )
perk_name - string of perks name e.g. "Deadshot Daquari" (leave undefined if string is already made e.g. &"ZOMBIE_PERK_JUGGERNAUT")
perk_name_actual - use this if above is undefined ONLY! should be used if string exists e.g. "ZOMBIE_PERK_JUGGERNAUT"
shader - name of icon to show up in game e.g. "specialty_juggernaut_zombies"
bottle_weapon - name of bottle used when drinking e.g. "zombie_perk_bottle_jugg"
short_jingle - name of jingle to play upon purchase e.g. "mx_jugger_sting"
function - threaded fuction that will only play if perk exists e.g. ::my_fuction
add_custom_perk( vending_machine, specialty, light_fx, machine_change, cost, perk_name, perk_name_actual, shader, bottle_weapon, short_jingle, function);
HasPerk( specialty_NAME ) -|- will become -|- maps\_zombiemode_perks::HasCustomPerk( specialty_NAME )
UnsetPerk( specialty_NAME ) -|- will become -|- maps\_zombiemode_perks::UnsetCustomPerk( specialty_NAME )
SetPerk( specialty_NAME ) -|- will become -|- maps\_zombiemode_perks::SetCustomPerk( specialty_NAME )
extra fuctions for custom specialty perks
maps\_zombiemode_perks::IsCustomPerk( specialty_NAME ) - returns true if specialty is listed as a custom specialty
maps\_zombiemode_perks::CreateCustomPerk( specialty_NAME ) - shouldnt be needed, but this will create a custom specialty (add_custom_perk() will automaticly use this)
maps\_zombiemode_perks::HasThePerk( specialty_NAME ) - finds out if player has that perk as custom or normal (it will find out if its custom or normal for you)
maps\_zombiemode_perks::give_perk_slot();
level.perk_limit = 4; //change to be perk limit for all players
tufbrew_func( mod, hit_location, hit_origin, player, amount )
{
if(player HasThePerk("specialty_bulletdamage") && ( mod == "MOD_RIFLE_BULLET" || mod == "MOD_PISTOL_BULLET" ) )
{
if(amount >= self.health)
player maps\_zombiemode_score::player_add_points( "death", mod, hit_location, self.isdog );
self DoDamage( amount, player.origin );
}
return false;
}
tufbrew_func( mod, hit_location, hit_origin, player, amount )
{
if(player HasThePerk("specialty_rof") && ( mod == "MOD_RIFLE_BULLET" || mod == "MOD_PISTOL_BULLET" ) )
{
if(amount >= self.health)
player maps\_zombiemode_score::player_add_points( "death", mod, hit_location, self.isdog );
self DoDamage( amount, player.origin );
}
return false;
}
level thread candolier(); //bandolier perk, 2 extra clips of ammo for each gun, add to weapon files of each gun
level thread Kill_trigger();
level thread DLC3_threadCalls2();
instakill_trigger