I need a suggestion. -
Zh3r0 - 01.10.2011
Here is the deal, I'm making some team deathmatches, with score, overall score, and each round has 20 minutes.
Now here is the suggestion I need. I'm making one timer where the time gets calculated and drops second by second.
And I will be using the callbacks such as OnPlayerDeath to get kills.
Just an example here:
Let's say that the time is 15:00 minutes.
There is only 2 players left, each different team.
One quits the team deathmatch, what I'm I supposed to actually do with the other one? Kick him out of the deathmatch, keep him, stop the deathmatch, restart?... I'm a bit confused on how to make this flawless.
What if the round finishes, and for example Team 2 wins, should I kick them all out, or restart the deathmatch, let them wait for example 1 minute and check the stats they've done during the deathmatch?...
I think you guys didn't get me...
Re: I need a suggestion. -
iPLEOMAX - 01.10.2011
Give him some kind of prize then spawn him + end DM until someone else joins?
And when a team wins, restart the dm after giving prize to winning team.
That's my suggestion.
Re: I need a suggestion. -
Zh3r0 - 01.10.2011
Quote:
Originally Posted by iPLEOMAX
Give him some kind of prize then spawn him + end DM until someone else joins?
|
Well I don't want it to have tons of variables and lots of code, since I will be making more than one.
Oh well, I think if there is one left, I will let him know he is alone, nobody is left, and he will be respawned, kicked out of the dm and then stop the time-down and kill counting or whatever untill someone joins.
Thanks for the tip. Should I be using ******'s itterators for a better looping through the players?
I see you edited.
Well of course the winning team gets a prize, but what I'm I supposed to do after, restart instantly, or let them watch the statistics for 1 minute or so till next round?
Re: I need a suggestion. -
iPLEOMAX - 01.10.2011
Quote:
Originally Posted by Zh3r0
Well I don't want it to have tons of variables and lots of code, since I will be making more than one.
Oh well, I think if there is one left, I will let him know he is alone, nobody is left, and he will be respawned, kicked out of the dm and then stop the time-down and kill counting or whatever untill someone joins.
Thanks for the tip. Should I be using ******'s itterators for a better looping through the players?
I see you edited.
Well of course the winning team gets a prize, but what I'm I supposed to do after, restart instantly, or let them watch the statistics for 1 minute or so till next round?
|
Statistic viewing at the end is a good idea, that way people will dm hard to be the top..
(Probably for 30 seconds?)
And about loop, I guess you know better than me but imo ******'s would be better.
Re: I need a suggestion. -
davve95 - 13.10.2011
Tdm +1
Can you send the ip if u make a server when its finshed??