From 86319d21ac41f292e993ef833d5797880c3e3cec Mon Sep 17 00:00:00 2001
From: Richard Helgeby
Mother zombie ratio. Every random n-th player is infected. In this case it's - 5 where every fifth player will be infected. If it's set to 0 there will only be 1 mother - zombie every time.
-Note that this is NOT a percentage value. The ratio 5 does not mean 5%, but every - fifth player. To get the percentage you need to do ratio / player slots. - Like 5 / 24 = 0.20 ⇒ 20% infection rate.
-Conversion formula from percent to ratio:
--ratio = player slots - ((percent / 100) * player slots)
Decimals are stripped from the ratio because it's a integer value.
-Options:
- 0 or a positive number up to max server slots
Mother zombie infection mode.
+++
+ +dynamic +Scales number of mother zombies according to a ratio and number of players + on the server. See +zr_infect_mzombie_ratio
below.+ +absolute +Absolute number of zombies infected. Adjusted by + +zr_infect_mzombie_ratio
below.+ +range +Infects a random number of players between a minimum and maximum range. See + +zr_infect_mzombie_min
andzr_infect_mzombie_max
below.
Usage of this variable depends on the mode above.
++ ++
+ +dynamic ++ Mother zombie ratio. Every random n-th player is infected. In + this case it's 7 where every seventh player will be infected. If it's set to 0 + there will only be 1 mother zombie every time.
+Note that this is not a percentage value. The ratio 5 does not mean 5%, but + every fifth player. To get the percentage you need to do + ratio / player slots. Like 5 / 24 = 0.20 ⇒ 20% infection + rate.
+Conversion formula from percent to ratio:
++ratio = player slots - ((percent / 100) * player slots)
Decimals are stripped from the ratio because it's a integer value.
+Options:
+ 0 or a positive number up to max server slots+ +absolute +Absolute number of zombies infected. If the number is negative, it will + keep that many humans (inversed infection). 5 will infect five humans, while + -5 will infect everyone and keep five humans. +
Minimum number of mother zombies. Only used by range mode. Must be above zero.
+Maximum number of mother zombies. Only used by range mode. Must be above zero.