Added notes about the new speed method. Increased upper speed limit.

This commit is contained in:
Richard Helgeby 2010-07-25 20:44:47 +02:00
parent f74e680ca7
commit e6509e59a7
3 changed files with 8 additions and 6 deletions

View File

@ -12,8 +12,8 @@
// ----------------------------------------------------------------------------
// 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
// Default: "2000"
sv_maxspeed 2000
// Amount of time, in minutes, zombies have to infect all humans.
// Default: "5"

View File

@ -1337,13 +1337,15 @@ the admin-only flag in the <span class="code">flags</span> attribute.</p>
<tr>
<td class="commandheader">speed</td>
<td class="commandheader">decimal</td>
<td class="commandheader">10.0 - 2000.0 | -200.0 - 800.0</td>
<td class="commandheader">-200.0 - 1750.0 | 10.0 - 2000.0</td>
</tr>
<tr>
<td class="indent" colspan="3">
<p>The player's running speed.</p>
<p><strong>Note:</strong> The limits of this attribute depends on the speed method used.
See the table below:</p>
In LMV-mode the speed values are <em>absolute</em>, but in prop-mode values are
<em>offsets</em> from normal speed at 250 (the class speed value is just added to this
value). See the table below for limits:</p>
<table>
<tr>
<th>Speed method</th>
@ -1360,7 +1362,7 @@ the admin-only flag in the <span class="code">flags</span> attribute.</p>
<tr>
<td class="parameter">prop</td>
<td class="parameter">-200.0</td>
<td class="parameter">800.0</td>
<td class="parameter">1750.0</td>
<td class="parameter">0.0</td>
</tr>
</table>

View File

@ -166,7 +166,7 @@
#define ZR_CLASS_SPEED_LMV_MIN 10.0
#define ZR_CLASS_SPEED_LMV_MAX 2000.0
#define ZR_CLASS_SPEED_PROP_MIN -200.0
#define ZR_CLASS_SPEED_PROP_MAX 800.0
#define ZR_CLASS_SPEED_PROP_MAX 1750.0
#define ZR_CLASS_KNOCKBACK_MIN -30.0
#define ZR_CLASS_KNOCKBACK_MAX 30.0
#define ZR_CLASS_KNOCKBACK_IGNORE -31.0 /** Used by class editor volumetric feature. */