Updated docs and spawn protection speed.
This commit is contained in:
parent
ebf677c527
commit
68d7476f0e
@ -11,9 +11,9 @@
|
|||||||
// Zombie-Related Server Variables
|
// Zombie-Related Server Variables
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// The max speed of any client in the server. (225 is around the average speed, depending on weapon)
|
// 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: "500"
|
// Default: "800"
|
||||||
sv_maxspeed 500
|
sv_maxspeed 800
|
||||||
|
|
||||||
// Amount of time, in minutes, zombies have to infect all humans.
|
// Amount of time, in minutes, zombies have to infect all humans.
|
||||||
// Default: "5"
|
// Default: "5"
|
||||||
@ -587,9 +587,9 @@ zr_spawnprotect "1"
|
|||||||
// Default: "10"
|
// Default: "10"
|
||||||
zr_spawnprotect_time "10"
|
zr_spawnprotect_time "10"
|
||||||
|
|
||||||
// Speed of the player during protection. ['300.0' = Normal | '600.0' = Double speed | Dependency: zr_spawnprotect]
|
// Speed of the player during protection. See the manual for more information. [Dependency: zr_spawnprotect]
|
||||||
// Default: "600.0"
|
// Default: "250.0"
|
||||||
zr_spawnprotect_speed "600.0"
|
zr_spawnprotect_speed "250.0"
|
||||||
|
|
||||||
// Alpha of the player during protection. ['255' = Fully visible | '0' = Completely invisible | Dependency: zr_spawnprotect]
|
// Alpha of the player during protection. ['255' = Fully visible | '0' = Completely invisible | Dependency: zr_spawnprotect]
|
||||||
// Default: "0"
|
// Default: "0"
|
||||||
|
@ -1343,8 +1343,27 @@ the admin-only flag in the <span class="code">flags</span> attribute.</p>
|
|||||||
<td class="indent" colspan="3">
|
<td class="indent" colspan="3">
|
||||||
<p>The player's running speed.</p>
|
<p>The player's running speed.</p>
|
||||||
<p><strong>Note:</strong> The limits of this attribute depends on the speed method used.
|
<p><strong>Note:</strong> 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
|
See the table below:</p>
|
||||||
normal speed at 250 (-200 to 800).</p>
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>Speed method</th>
|
||||||
|
<th>Min</th>
|
||||||
|
<th>Max</th>
|
||||||
|
<th>CS:S default</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="parameter">LMV</td>
|
||||||
|
<td class="parameter">10.0</td>
|
||||||
|
<td class="parameter">2000.0</td>
|
||||||
|
<td class="parameter">300.0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="parameter">prop</td>
|
||||||
|
<td class="parameter">-200.0</td>
|
||||||
|
<td class="parameter">800.0</td>
|
||||||
|
<td class="parameter">0.0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -3508,12 +3527,29 @@ right after they've spawned.</p>
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="commandheader">zr_spawnprotect_speed</td>
|
<td class="commandheader">zr_spawnprotect_speed</td>
|
||||||
<td class="commandheader">600.0</td>
|
<td class="commandheader">250.0</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="indent" colspan="2">
|
<td class="indent" colspan="2">
|
||||||
<p>Running speed for spawn protected players. Normal running speed is 300.0, double is
|
<p>Running speed for spawn protected players. Speed value depends on the speed method used.
|
||||||
600.0.</p>
|
See the table below for examples:</p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>Speed method</th>
|
||||||
|
<th>Normal speed</th>
|
||||||
|
<th>Double speed</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="parameter">LMV</td>
|
||||||
|
<td class="parameter">300.0</td>
|
||||||
|
<td class="parameter">600.0</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="parameter">prop</td>
|
||||||
|
<td class="parameter">0.0</td>
|
||||||
|
<td class="parameter">250.0</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
@ -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] = 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_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]");
|
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]");
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user