From 68d7476f0e49bce68682cc171901f21312002819 Mon Sep 17 00:00:00 2001 From: Richard Helgeby Date: Wed, 7 Jul 2010 00:19:19 +0200 Subject: [PATCH] Updated docs and spawn protection speed. --- .../zombiereloaded/zombiereloaded.cfg | 12 ++--- docs/zr_manual.htm | 46 +++++++++++++++++-- src/zr/cvars.inc | 2 +- 3 files changed, 48 insertions(+), 12 deletions(-) diff --git a/cstrike/cfg/sourcemod/zombiereloaded/zombiereloaded.cfg b/cstrike/cfg/sourcemod/zombiereloaded/zombiereloaded.cfg index 96af8be..0c23d24 100644 --- a/cstrike/cfg/sourcemod/zombiereloaded/zombiereloaded.cfg +++ b/cstrike/cfg/sourcemod/zombiereloaded/zombiereloaded.cfg @@ -11,9 +11,9 @@ // Zombie-Related Server Variables // ---------------------------------------------------------------------------- -// The max speed of any client in the server. (225 is around the average speed, depending on weapon) -// Default: "500" -sv_maxspeed 500 +// The max speed of any player in the server (250 is normal speed). This is just a speed limit, and not the real players' speed. +// Default: "800" +sv_maxspeed 800 // Amount of time, in minutes, zombies have to infect all humans. // Default: "5" @@ -587,9 +587,9 @@ zr_spawnprotect "1" // Default: "10" zr_spawnprotect_time "10" -// Speed of the player during protection. ['300.0' = Normal | '600.0' = Double speed | Dependency: zr_spawnprotect] -// Default: "600.0" -zr_spawnprotect_speed "600.0" +// Speed of the player during protection. See the manual for more information. [Dependency: zr_spawnprotect] +// Default: "250.0" +zr_spawnprotect_speed "250.0" // Alpha of the player during protection. ['255' = Fully visible | '0' = Completely invisible | Dependency: zr_spawnprotect] // Default: "0" diff --git a/docs/zr_manual.htm b/docs/zr_manual.htm index d587114..3ddc8b3 100644 --- a/docs/zr_manual.htm +++ b/docs/zr_manual.htm @@ -1343,8 +1343,27 @@ the admin-only flag in the flags attribute.

The player's running speed.

Note: The limits of this attribute depends on the speed method used. - In LMV-mode the values are absolute (10 to 2000), but in prop-mode values are offsets from - normal speed at 250 (-200 to 800).

+ See the table below:

+ + + + + + + + + + + + + + + + + + + +
Speed methodMinMaxCS:S default
LMV10.02000.0300.0
prop-200.0800.00.0
@@ -3508,12 +3527,29 @@ right after they've spawned.

zr_spawnprotect_speed - 600.0 + 250.0 -

Running speed for spawn protected players. Normal running speed is 300.0, double is - 600.0.

+

Running speed for spawn protected players. Speed value depends on the speed method used. + See the table below for examples:

+ + + + + + + + + + + + + + + + +
Speed methodNormal speedDouble speed
LMV300.0600.0
prop0.0250.0
diff --git a/src/zr/cvars.inc b/src/zr/cvars.inc index d390997..bd81cf7 100644 --- a/src/zr/cvars.inc +++ b/src/zr/cvars.inc @@ -441,7 +441,7 @@ CvarsCreate() // =========================== g_hCvarsList[CVAR_SPAWNPROTECT] = CreateConVar("zr_spawnprotect", "1", "Player will be protected from infection when spawning into the game late."); g_hCvarsList[CVAR_SPAWNPROTECT_TIME] = CreateConVar("zr_spawnprotect_time", "10", "Amount of time to protect player. [Dependency: zr_spawnprotect]"); - g_hCvarsList[CVAR_SPAWNPROTECT_SPEED] = CreateConVar("zr_spawnprotect_speed", "600.0", "Speed of the player during protection. ['300.0' = Normal | '600.0' = Double speed | Dependency: zr_spawnprotect]"); + g_hCvarsList[CVAR_SPAWNPROTECT_SPEED] = CreateConVar("zr_spawnprotect_speed", "250.0", "Speed of the player during protection. See the manual for more information. [Dependency: zr_spawnprotect]"); g_hCvarsList[CVAR_SPAWNPROTECT_ALPHA] = CreateConVar("zr_spawnprotect_alpha", "0", "Alpha of the player during protection. ['255' = Fully visible | '0' = Completely invisible | Dependency: zr_spawnprotect]");