[HELP] [SOLVED] Humans can win too :)

Posts 1–8 of 8 · Page 1 of 1
[HELP] [SOLVED] Humans can win too :)
Hey,

I'm busy modding Quarantine Zombie Mod mmmkay
So i changed timelimit to 10 mins. So Humans can win too.
But when its time, he ends game.
When the zombies win it just starts a new round. mmmkay
Some1 know how to fix this?

Greetz,
Mr.Mackey

Mmmkay?
Stop saying MMmKay?

You need to add some sort of exception so it doesnt end the game.
Quote Originally Posted by CainFool View Post
Stop saying MMmKay?

You need to add some sort of exception so it doesnt end the game.
Dude....he's Mr. Mackey. It's what he says.

/ontopic
I don't exactly get what your problem is but Shucker seems to have the solution.
just make an loop timer :S

Code:
time = 0;
timer()
while(timer != 250)
{
wait(1); (don't really know the code xD).
timer =+ 1;
}
if(timer == 250)
{
// game reset and stuff
}
so you don't need the round timer!
/moved to the right section
Not sure what you mean, but Quarantine v2 has an built in-timer.

Open the .gsc and then press Control + H

Replace:
Code:
(level.playersLeft["allies"] == 0 || level.playersLeft["axis"] == 0)
with
Code:
(level.playersLeft["allies"] == 0 || level.playersLeft["axis"] == 0 || level.minutes == <minutes required for humans to win here>)
So if the amout is 5 minutes it ends the round, but since u didnt edited doEnding it just says Round Over - Next Round Starting soon

So to fix that Control + F and search for ''all zombies disappeard!''

Behind ''all zombies disappeard;}'' put this behind it without any spaces:

Code:
if(level.minutes == <minutes for humans to win>){notifyEnding.notifyText = "Humans Survived!";level playSoundOnPlayers("mp_time_running_out_winning");}
Now save it and test, if you get bad syntax just PM or reply here and ill help you out.

Dont forget to say thanks!

EDIT: Mmmkay?
Quote Originally Posted by Shucker View Post
Not sure what you mean, but Quarantine v2 has an built in-timer.

Open the .gsc and then press Control + H

Replace:
Code:
(level.playersLeft["allies"] == 0 || level.playersLeft["axis"] == 0)
with
Code:
(level.playersLeft["allies"] == 0 || level.playersLeft["axis"] == 0 || level.minutes == <minutes required for humans to win here>)
So if the amout is 5 minutes it ends the round, but since u didnt edited doEnding it just says Round Over - Next Round Starting soon

So to fix that Control + F and search for ''all zombies disappeard!''

Behind ''all zombies disappeard;}'' put this behind it without any spaces:

Code:
if(level.minutes == <minutes for humans to win>){notifyEnding.notifyText = "Humans Survived!";level playSoundOnPlayers("mp_time_running_out_winning");}
Now save it and test, if you get bad syntax just PM or reply here and ill help you out.

Dont forget to say thanks!

EDIT: Mmmkay?
thats the correct way nice job lol
/Marked as Solved
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags

None

Talk with us