Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiplayer Zombies Help
#1
ok this is for wii but i think you guys can still help!

So i want to add an option to the mod menu that is "Insta Kill"

i already know how to add stuff to the menu its just i dont know how to make the dvar affect the opostie team! here is my script:

InstaKill()
{
self.maxhealth = 1;
self.health = self.maxhealth;
InstaKill = "^7Zombies Are 1 Hit Kill";
iPrintln( zombiesNuked );

powerupText = createServerFontString( "objective", 1.5 );
powerupText setPoint( "CENTER", "CENTER", 0, 100 );
powerupText.alpha = 1;
powerupText.sort = 1;
powerupText.hideWhenInMenu = true;

timeRemaining = "^1SpyPlane^7available in: ";
seconds = " ^7seconds";

for( i = 30; i > 0; i-=1.0 )
{
wait 1.0;

powerupText setText( timeRemaining + i + seconds );
}
}


so how do i make this setting affect the opposite team? (axis) btw here are some other settings in the menu (these might help you to understand how to fix)



nuke()
{
if( level._zombies["nukeInAction"] == true ) return;

level._zombies["nukeInAction"] = true;

players = getEntArray( "player", "classname" );

for( i = 0; i < players.size; i++ )
{
wait 0.02;

if( players[i].pers["team"] == "axis" && players[i]._zombies["team"] == "zombie" )
{
playFx( level.chopper_fx["explode"]["death"], players[i].origin );
players[i] playSound( level.heli_sound[self.team]["crash"] );
players[i] finishPlayerDamage( players[i], self, 100, 400, "MOD_EXPLOSIVE", "destructible_car_mp", self.origin, players[i]._vec2, 0.2, 0, 0, "none", 0 );
}
}

zombiesNuked = "^7Zombies ^1nuked!";
iPrintln( zombiesNuked );

powerupText = createServerFontString( "objective", 1.5 );
powerupText setPoint( "CENTER", "CENTER", 0, 100 );
powerupText.alpha = 1;
powerupText.sort = 1;
powerupText.hideWhenInMenu = true;

timeRemaining = "^1Nuke ^7available in: ";
seconds = " ^7seconds";

for( i = 60; i > 0; i-=1.0 )
{
wait 1.0;

powerupText setText( timeRemaining + i + seconds );
}

powerupText destroy();

level._zombies["nukeInAction"] = false;
}

doublePoints()
{
if( level._zombies["doublePoints"] == true ) return;

level._zombies["doublePoints"] = true;

level._zombies["cashFlow"] = level._zombies["cashFlow"] * 2;

powerupText = createServerFontString( "objective", 1.5 );
powerupText setPoint( "CENTER", "CENTER", 0, 80 );
powerupText.alpha = 1;
powerupText.sort = 1;
powerupText.hideWhenInMenu = true;

timeRemaining = "^2Double ^7points: ";
seconds = " ^7seconds";

for( i = 60; i > 0; i-=1.0 )
{
wait 1.0;

powerupText setText( timeRemaining + i + seconds );
}

powerupText destroy();

level._zombies["cashFlow"] = level._zombies["cashFlow"] / 2;

level._zombies["doublePoints"] = false;
}

extraLife()
{
self._zombies["livesRemaining"] = self._zombies["livesRemaining"] + 1;

self iPrintlnFade( "^7You have purchased another life" );
}

SpyPlane()
{
self setClientDvar("compassEnemyFootstepEnabled" , "1" );;
self setClientDvar("compass" , "0" );
self setClientDvar("scr_game_forceuav" , "1" );
self setClientDvar("g_compassShowEnemies" , "1" );
self setClientDvar("compassRadarUpdateTime" , "0.001" );
self setClientDvar( "compassSize", "1.5" );

zombiesNuked = "^7Spy Plane For 30 Seconds!";
iPrintln( zombiesNuked );

powerupText = createServerFontString( "objective", 1.5 );
powerupText setPoint( "CENTER", "CENTER", 0, 100 );
powerupText.alpha = 1;
powerupText.sort = 1;
powerupText.hideWhenInMenu = true;

timeRemaining = "^1SpyPlane^7available in: ";
seconds = " ^7seconds";

for( i = 30; i > 0; i-=1.0 )
{
wait 1.0;

powerupText setText( timeRemaining + i + seconds );
}
}

GodMode2()
{
self.maxhealth = 99999;
self.health = self.maxhealth;

zombiesNuked = "^7God Mode For 30 Seconds!";
iPrintln( zombiesNuked );

powerupText = createServerFontString( "objective", 1.5 );
powerupText setPoint( "CENTER", "CENTER", 0, 100 );
powerupText.alpha = 1;
powerupText.sort = 1;
powerupText.hideWhenInMenu = true;

timeRemaining = "^1God Mode ^7available in: ";
seconds = " ^7seconds";

for( i = 30; i > 0; i-=1.0 )
{
wait 1.0;

powerupText setText( timeRemaining + i + seconds );
}
}


Thanks Alot For Helping.

Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Rainbow Preview "Beware of Zombies" mod Nekochan 50 26,828 09-01-2013, 17:33
Last Post: Nekochan
  [Release] Granny's Zombies 1.5b (The Last Update) 4FunPlayin 5 13,306 08-08-2013, 15:10
Last Post: TheZeroWinger
  No Hope: AI Zombies [Bots] d0h! 10 96,333 07-23-2013, 17:38
Last Post: xXzKingPinzXx
  COD MW3 multiplayer principals - steam, dedicated ... ottop 11 18,109 07-17-2013, 02:43
Last Post: nizamani
  Using Cheat Engine with Zombies Single Player kikkawa 3 10,838 06-03-2013, 01:18
Last Post: kikkawa
  [Release] Survivors coop Zombies 2013 ghilllie 12 12,901 04-20-2013, 21:09
Last Post: ghilllie
  [Request] Modded Zombies Kinodertoten Request The6thMessenger 3 3,799 03-30-2013, 12:12
Last Post: surtek
  [Request] Modded Zombies Kinodertoten The6thMessenger 0 2,386 03-30-2013, 00:39
Last Post: The6thMessenger
Wink Zombiex Party Day (Multiplayer zombiex mod) CodWAW tadej 4 5,213 03-16-2013, 16:54
Last Post: tadej
  [Tutorial] Loading mods for campaign/nazi zombies Rendflex 12 10,840 03-07-2013, 14:09
Last Post: Erik The Born

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.