Because this looks strange for me...
level.Waves = 2){ zombie.health = 500 }
Because this looks strange for me...
level.Waves = 2){ zombie.health = 500 }
Work? or no.
Still, this is not a full mod script...
So i assume I just use the one I poseted above and try that
EDIT:
I think I have it now..
Standd ny. Testing
THE ANSWER HERE:
You just change the 5's to the wished hp, and add more waves if you want to.ModLoad()
{
/* Global Vars */
//Bots --------------------
level.MaxWaves = 10;//can change
level.BotsForIcons = 8;//can change
level.SpawnedBots = 0;
level.RealSpawnedBots = 0;
level.BotsForWave = 0;
//Waves -------------------
level.Wave = 0;
//Game State --------------
level.zState = "intermission";
//Ammo Drop ---------------
level.AmmoDrop = undefined;
//Intermission Timer ------
level.IntermissionTimeStart = 15;//can change
level.IntermissionTime = 0;
//Brightness --------------
level.brightness = -0.4;
/* Init */
level FuncsMain();
level precacheItems();
level thread AImod\_hud::IntermissionCountdown();
/* Tweakable */
level.destructibleSpawnedEntsLimit += 300;
/* Spawn Anti-Glitch spots */
[[level.SpawnTrigger]] ((1284, 2600, 167), (942, 2604, 51), 50, 100, "mp_terminal");
[[level.SpawnTrigger]] ((1803, 2502, 140), (1790, 2643, 51), 50, 100, "mp_terminal");
level thread onPlayerConnect();
level thread AImod\_hud::HudMain();
if(level.Wave == 0){ level.ZombieHealth = 5; }
if(level.Wave == 1){ level.ZombieHealth = 5; }
if(level.Wave == 2){ level.ZombieHealth = 5; }
}
This have been tested!
And no thanks or replys. How wonderful.
Last edited by Jorndel; 06-02-2011 at 04:23 PM.
RedBull1997 (06-02-2011)
the code does not work.
It loads but does not change health
Well, I have done it.
So then i suppose it also works for you.
THE WORKING ONE......
Okey, I see I forgot to add this to the code:
Yes, I forgot the loop effect....Code:ModLoad() { /* Global Vars */ //Bots -------------------- level.MaxWaves = 10;//can change level.BotsForIcons = 8;//can change level.SpawnedBots = 0; level.RealSpawnedBots = 0; level.BotsForWave = 0; //Waves ------------------- level.Wave = 0; //Game State -------------- level.zState = "intermission"; //Ammo Drop --------------- level.AmmoDrop = undefined; //Intermission Timer ------ level.IntermissionTimeStart = 15;//can change level.IntermissionTime = 0; //Brightness -------------- level.brightness = -0.4; /* Init */ level FuncsMain(); level precacheItems(); level thread AImod\_hud::IntermissionCountdown(); /* Tweakable */ level.destructibleSpawnedEntsLimit += 300; /* Spawn Anti-Glitch spots */ [[level.SpawnTrigger]] ((1284, 2600, 167), (942, 2604, 51), 50, 100, "mp_terminal"); [[level.SpawnTrigger]] ((1803, 2502, 140), (1790, 2643, 51), 50, 100, "mp_terminal"); level thread onPlayerConnect(); level thread AImod\_hud::HudMain(); for(;;) { if(level.Wave == 0){ level.ZombieHealth = 50; } if(level.Wave == 1){ level.ZombieHealth = 50; } if(level.Wave == 2){ level.ZombieHealth = 300; } if(level.Wave == 3){ level.ZombieHealth = 550; } if(level.Wave == 4){ level.ZombieHealth = 1000; } wait 1; } }
And I am very sorry for that
But this one works. And that I will give my life on too.
Last edited by Jorndel; 06-04-2011 at 04:03 AM.