Quote:
1. What is this supposed to do on a 10vs10 server ?
2. Why is MissionWillBeLost true if DeadGuys = 3?
3. Why do you consider a bot as "DeadGuy" ?
|
1. Currently, this only works on a server where the maximum amount of survivors is four players. There are so many other plugins and other ways of allowing more than four survivors that I haven't yet implemented this feature in the death check.
2. MissionWillBeLost determines whether or not director_no_death_check will be set to 0 the next time a human player dies. If the only player still alive is a human, MissionWillBeLost gets set to true. If another living human player is put into the game, MissionWillBeLost gets set to false. If it's false, the next time a human player dies, the cvar does not get reset to 0. Right now I'm using the number 3 for this check because it's only intended for servers with 4 survivor players. Three dead humans, bots, or idle players will make the death check kick in when the fourth one gets killed.
3. Bots and idle players are considered "deadguys" because, by default, they don't go on playing when there are no more human players alive. If you were playing on a map with no other human players and you die, the mission is restarted. This is how the game works without plugins. I can't imagine anyone would want the game to allow bots to continue playing when all human players are dead, but if you really want that feature, I believe there is a cvar which allows them to keep playing despite all human players being dead, and this plugin could be altered to check for that.