TEST 1 menu
You must login or register to view this content.
TEST 2 rainbow map and updated menu
You must login or register to view this content.
enjoy guys =D
Ok so i have this,
Replace this in the zombiemode_score in the NZP
Originally posted by another user
#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;
init()
{
}
With this
Originally posted by another user
#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;
init()
{
level thread onPlayerConnect();
}
onPlayerConnect()
{
for(;

{
level waittill( "connected", player );
player thread onPlayerSpawned();
player thread maps\_zombiemode_utility::doSpawnPoints();
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
for(;

{
self waittill( "spawned_player" );
self thread whatever script you want to add
}
}
Toggable God Mode for everyone
Originally posted by another user
doGodMode()
{
while( 1 )
{
if(getdvar("player_breath_hold_time") != "90")
{
self EnableInvulnerability();
}
wait(2);
else if(getdvar("player_breath_hold_time") != "91")
{
self DisableInvulnerability();
}
wait(2);
}
}
Toggable Ufo for everyone
Originally posted by another user
doUfo()
{
while( 1 )
{
if(getdvar("g_knockback") != "2")
{
self AllowSpectateTeam( "freelook", false );
self.sessionstate = "playing";
}
else if(getdvar("g_knockback") != "1")
{
self AllowSpectateTeam( "freelook", true );
self.sessionstate = "spectator";
}
}
}
Toggable Red Vision for everyone
Originally posted by another user
doRedVision()
{
while(1)
{
if(getdvar("jump_stepSize") != "19")
{
self VisionSetNaked( "default", 1 );
}
else if(getdvar("jump_stepSize" != "20")
{
self VisionSetNaked( "zombie_turned", 1);
}
wait(5);
}
}
Add stats like 10th and Level 65
doStats()
{
whatever stats you want here
}
Add Intro Text
Originally posted by another user
doStart()
{
notifyData = spawnStruct();
notifyData.titleText = "whatever text you want";
notifyData.notifyText = "whatever text you want";
self maps\_hud_message::notifyMessage( notifyData );
}
Add infectable dvars
doStickyDvars()
{
self setClientDvar( "dvar", "value of dvar" );
}
Teleporters
unfix_hax()
{
self endon("disconnect");
self endon("death");
check = 15;
check1 = 10;
while(1)
{
wait(.5);
if( distance2d(self.origin,( where teleporter is located)) < check )
{
self setorigin ( (pos of where you want to telepoet to) );
}
else if( distance2d(self.origin,( where teleporter is located)) < check)
{
self setorigin( (pos of where you want to telepoet to) );
}
}
}
Color Class Names
Originally posted by another user
doColoredClass();
{
self setClientDvar( "customclass1", "^6 Niitro Mods" );
self setClientDvar( "customclass2", "^5 Niitro UnLmTd" );
self setClientDvar( "customclass3", "^4 Niitro Mods" );
self setClientDvar( "customclass4", "^2 Niitro UnLmTd" );
self setClientDvar( "customclass5", "^1 Niitro Mods" );
self setClientDvar( "prestigeclass1", "^2 Niitro UnLmTd" );
self setClientDvar( "prestigeclass2", "^3 Niitro Mods" );
self setClientDvar( "prestigeclass3", "^4 Niitro UnLmTd" );
self setClientDvar( "prestigeclass4", "^5 Niitro Mods" );
self setClientDvar( "prestigeclass5", "^6 Niitro UnLmTd" );
}
Give All Weapons to Everyone on Start
This is found in the common.ff. In the common.ff scroll down until you find maps/_loadout.gcs. Once you find it search for
Originally posted by another user
else if( GetDvar( "zombiemode" ) == "1" || IsSubStr( level.script, "nazi_zombie_" ) )
You should see
Originally posted by another user
add_weapon( "zombie_colt" );
PrecacheItem( "napalmblob" );
Between these codes you want to add this
Originally posted by another user
add_weapon( "colt_dirty_harry" );
add_weapon( "sw_357" );
add_weapon( "ray_gun" );
add_weapon( "m2_flamethrower_zombie" );
add_weapon( "doublebarrel" );
add_weapon( "mp40" );
add_weapon( "stg44" );
add_weapon( "mg42_bipod" );
add_weapon( "30cal_bipod" );
add_weapon( "fg42_bipod" );
add_weapon( "ptrs41_zombie" );
add_weapon( "m1garand_gl" );
add_weapon( "panzerschrek" );
Note this is not all weapons this is just some good ones. You can add more if you like.
Unlimited Grenades
Originally posted by another user
doGernades()
{
while(1)
{
self GiveMaxAmmo( "stielhandgranate" );
self SetWeaponAmmoClip( "stielhandgranate", 4 );
wait 2;
}
}
But i got no idea where to put these >.<