zeroconz For this script to work you have to change every / to a \ unless its part of a comment

chicken emoji
Posts
-
Bug when modding gun.gsc -
Bug when modding gun.gsczeroconz It works for me. Are you sure you also changed it in this line?
level.gungamekillscore = maps\mp\gametypes\_rank::getscoreinfovalue( "kill_gun" );
-
Bug when modding gun.gsczeroconz What does your code look like you probably changed it since the original doesn't have that many lines
-
Denizen ChangeIn the game, players and denizens rely on a scoring system to determine their fate. Players score points with knife attacks, while denizens earn points by scratching players. You can customize this system using script overrides in maps/mp/zombies/_zm_ai_screecher.
You could for example override 'screecher_melee_damage' to increase points gained from knifing, enabling players to defeat denizens faster, or you can override 'screecher_check_score' to lower the required score to defeat denizens, making it easier for players to win.
-
Denizen ChangeLord_J The 'screecher_melee_damage' function has weapon specifications for the bowie knife, galve knuckles and normal knife.
if ( player hasweapon( "bowie_knife_zm" ) ) { if ( one_player ) { melee_score = 30; } else { melee_score = 10; } } else if ( player hasweapon( "tazer_knuckles_zm" ) ) { if ( one_player ) { melee_score = 30; } else { melee_score = 15; } } else if ( one_player ) { melee_score = 15; } else { melee_score = 6; }
You can change the second melee_score value (The one that is not inside the if( one_player ) statement) for the respective weapon, to increase or decrease the amount of points the player gets for each attack, with the target points being 30 by default.
I'm actually not sure what the purpose of the 'if statement' is since to me it seems to be checking a local variable that is always false.
-
[Help][Dvars] Creating A Simple Dvar Toggle Function -- Not working?I think you have to use strings like this
LobbySetter(dvar) { if(getDvar(dvar) == "0") { setDvar(dvar, "1"); self iPrintln("ON"); } else { setDvar(dvar, "0"); self iPrintln("OFF"); } }
-
[Help][Dvars] Creating A Simple Dvar Toggle Function -- Not working? -
Is there a mod where there is only 24 zombies per round?Load a gsc file with this code
init(){ level.max_zombie_func = ::zombies; } zombies(max_num){ return 24; }