From 86319d21ac41f292e993ef833d5797880c3e3cec Mon Sep 17 00:00:00 2001 From: Richard Helgeby Date: Thu, 10 Jan 2013 10:32:19 +0100 Subject: [PATCH] Updated the manual with new infection mode documentation. --- docs/zr_manual.htm | 87 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 74 insertions(+), 13 deletions(-) diff --git a/docs/zr_manual.htm b/docs/zr_manual.htm index 7d19eff..35f71b1 100644 --- a/docs/zr_manual.htm +++ b/docs/zr_manual.htm @@ -2485,22 +2485,83 @@ tune game balance.

- zr_infect_mzombie_ratio - 5 + zr_infect_mzombie_mode + "dynamic" -

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.

+
+ + + + + + + + + + + + +
dynamicScales number of mother zombies according to a ratio and number of players + on the server. See zr_infect_mzombie_ratio below.
absoluteAbsolute number of zombies infected. Adjusted by + zr_infect_mzombie_ratio below.
rangeInfects a random number of players between a minimum and maximum range. See + zr_infect_mzombie_min and zr_infect_mzombie_max below.
+ + + + + zr_infect_mzombie_ratio + 7 + + + +

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

absoluteAbsolute 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.
+ + + + + + zr_infect_mzombie_min + 1 + + + +

Minimum number of mother zombies. Only used by range mode. Must be above zero.

+ + + + + zr_infect_mzombie_max + 3 + + + +

Maximum number of mother zombies. Only used by range mode. Must be above zero.