This wiki is archived and useful information is being migrated to the main bzflag.org website
Editing Server Variables
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The administrator who locked it offered this explanation: Archived wiki
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
Unless otherwise noted, time values are measured in seconds, distances in [[world units]], and speeds in [[world units]] per second. | Unless otherwise noted, time values are measured in seconds, distances in [[world units]], and speeds in [[world units]] per second. | ||
− | {{InfoBox|Note|Some | + | {{InfoBox|Note|Some of these, such as _worldSize, may require a rejoin before they take effect. It is recommended to apply these in the map file (if they apply specifically to the map, such as _worldSize and _tankSpeed), through the server configuration file, or from the command line. This ensures that all players that join will have the proper gameplay experience.}} |
{|{{Prettytable}} | {|{{Prettytable}} | ||
|- | |- | ||
Line 12: | Line 12: | ||
| _agilityAdVel || 2.25 || Multiplies _tankSpeed for tanks holding Agility flag for a specified amount of time (_agilityTimeWindow) | | _agilityAdVel || 2.25 || Multiplies _tankSpeed for tanks holding Agility flag for a specified amount of time (_agilityTimeWindow) | ||
|- | |- | ||
− | | _agilityTimeWindow || 1 || The amount of time (in seconds) that the tank will have the speed specified by _agilityAdVel | + | | _agilityTimeWindow || 1 || The amount of time (in seconds)that the tank will have the speed specified by _agilityAdVel |
|- | |- | ||
− | | _agilityVelDelta || 0.3 | + | | _agilityVelDelta || 0.3 || |
− | + | ||
− | + | ||
|- | |- | ||
| _angleTolerance || 0.05 || If a tank has turned more than it was expected to, plus this tolerance, a new update is sent so the other clients are aware of the change in heading | | _angleTolerance || 0.05 || If a tank has turned more than it was expected to, plus this tolerance, a new update is sent so the other clients are aware of the change in heading | ||
Line 22: | Line 20: | ||
| _angularAd || 1.5 || Multiplies _tankAngVel to determine how fast tanks can turn while holding the Quick Turn flag | | _angularAd || 1.5 || Multiplies _tankAngVel to determine how fast tanks can turn while holding the Quick Turn flag | ||
|- | |- | ||
− | | _avenueSize || 2*_boxBase || | + | | _avenueSize || 2*_boxBase || Space to leave between objects in random maps? |
|- | |- | ||
| _baseSize || 60 || Width and Depth (bases have constant height) of the square bases for CTF games | | _baseSize || 60 || Width and Depth (bases have constant height) of the square bases for CTF games | ||
|- | |- | ||
− | | _boxBase || 30 || | + | | _boxBase || 30 || Width and Depth of boxes on a random map? |
|- | |- | ||
− | | _boxHeight || 6*_muzzleHeight || | + | | _boxHeight || 6*_muzzleHeight || Height of boxes on a random map? |
|- | |- | ||
− | | _burrowDepth || | + | | _burrowDepth || 1.32 || Determines how far down tanks drop when they have the Burrow Flag. Making this much lower makes it below the floor, and impossible to kill tank! |
|- | |- | ||
| _burrowSpeedAd || .8 || Multiplied by _tankSpeed to determine how fast tanks holding the Burrow Flag move. | | _burrowSpeedAd || .8 || Multiplied by _tankSpeed to determine how fast tanks holding the Burrow Flag move. | ||
Line 41: | Line 39: | ||
|- | |- | ||
| _countdownResumeTime || 5 || This enforces a delay when resuming a paused countdown. If the argument is lower or equal to 0 then resuming is instantly, otherwise it is delayed according to the value (in seconds). ''Available in 2.1 and later'' | | _countdownResumeTime || 5 || This enforces a delay when resuming a paused countdown. If the argument is lower or equal to 0 then resuming is instantly, otherwise it is delayed according to the value (in seconds). ''Available in 2.1 and later'' | ||
− | |||
− | |||
|- | |- | ||
| _cullDepth || 6 || | | _cullDepth || 6 || | ||
Line 53: | Line 49: | ||
|- | |- | ||
| _disableBots || none || A value of 1 in this variable does not allow autopilot or bots on the server, equivalent to the old -prohibitbots command line option. | | _disableBots || none || A value of 1 in this variable does not allow autopilot or bots on the server, equivalent to the old -prohibitbots command line option. | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| _drawCelestial || 1 || Draw the stars, sun, and moon. | | _drawCelestial || 1 || Draw the stars, sun, and moon. | ||
Line 63: | Line 55: | ||
|- | |- | ||
| _drawGround || 1 || Draw the ground plane. | | _drawGround || 1 || Draw the ground plane. | ||
− | |||
− | |||
|- | |- | ||
| _drawMountains || 1 || Draw the mountains. | | _drawMountains || 1 || Draw the mountains. | ||
|- | |- | ||
| _drawSky || 1 || Draw the sky pyramid. | | _drawSky || 1 || Draw the sky pyramid. | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| _explodeTime || 5 || After a tank is killed, this is how long it takes to blow up, and then "respawn". Larger values translates into longer explosions and more client processor time. Note that an explosion is invisible if you are inside it, so large values may make it invisible up close, and extremely large values may make explosions entirely invisible. | | _explodeTime || 5 || After a tank is killed, this is how long it takes to blow up, and then "respawn". Larger values translates into longer explosions and more client processor time. Note that an explosion is invisible if you are inside it, so large values may make it invisible up close, and extremely large values may make explosions entirely invisible. | ||
|- | |- | ||
− | | _flagAltitude || 11 || The height that the flag flies up | + | | _flagAltitude || 11 || The height that the flag flies up dropped and the height that a flag spawns at. |
|- | |- | ||
− | | _flagEffectTime || 0.64 || | + | | _flagEffectTime || 0.64 || The amount of time the flag effect lasts. |
|- | |- | ||
| _flagHeight || 10 || The height of the flag (not its pole). | | _flagHeight || 10 || The height of the flag (not its pole). | ||
Line 91: | Line 77: | ||
|- | |- | ||
| _fogDensity || 0.001 || Used for exp and exp2 fog modes. | | _fogDensity || 0.001 || Used for exp and exp2 fog modes. | ||
− | |||
− | |||
|- | |- | ||
| _fogStart || 0.5*_worldSize || Used for linear fog mode, the distance where fog begins to occlude vision. | | _fogStart || 0.5*_worldSize || Used for linear fog mode, the distance where fog begins to occlude vision. | ||
Line 98: | Line 82: | ||
| _fogEnd || _worldSize || Used for linear fog mode, the distance where the fog occludes everything. | | _fogEnd || _worldSize || Used for linear fog mode, the distance where the fog occludes everything. | ||
|- | |- | ||
− | | _fogColor || "0.25 0.25 0.25" || | + | | _fogColor || "0.25 0.25 0.25" || RGB or black, red, blue (alpha is ignored). |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
| _friction || 0 || Zero is normal friction, the closer to 0 the harder it is to start and stop, and the higher the number the easier it is to start and stop. | | _friction || 0 || Zero is normal friction, the closer to 0 the harder it is to start and stop, and the higher the number the easier it is to start and stop. | ||
|- | |- | ||
− | | _gmActivationTime || 0.5 || The amount of time (in seconds) it takes for a Guided Missile to become active after it is fired. Any contact under this time will not result in detonation (setting it | + | | _gmActivationTime || 0.5 || The amount of time (in seconds) it takes for a Guided Missile to become active after it is fired. Any contact under this time will not result in detonation (setting it to low could cause its owner to run into its own GM and be blown up! |
|- | |- | ||
| _gmAdLife || 0.95 || Multiplied by _shotRange to determine the distance guided missiles will go. | | _gmAdLife || 0.95 || Multiplied by _shotRange to determine the distance guided missiles will go. | ||
− | |||
− | |||
|- | |- | ||
| _gmTurnAngle || 0.628319 || The angle at which a Guided Missile will turn to follow its target. (Measured in radians) | | _gmTurnAngle || 0.628319 || The angle at which a Guided Missile will turn to follow its target. (Measured in radians) | ||
Line 118: | Line 94: | ||
| _gravity || -9.8 || The rate at which a tank will fall (or be kept from jumping) Measured in [[World units]]/Seconds^2. Setting this to a zero or positive value will result in tanks being unable to stay down and will float away. | | _gravity || -9.8 || The rate at which a tank will fall (or be kept from jumping) Measured in [[World units]]/Seconds^2. Setting this to a zero or positive value will result in tanks being unable to stay down and will float away. | ||
|- | |- | ||
− | | _handicapScoreDiff || 50 || How much of a score difference from the | + | | _handicapScoreDiff || 50 || How much of a score difference (from the leader?) there must be for a player to get a handicap |
|- | |- | ||
− | | _handicapVelAd || 2 || Player with handicap will receive this much more (_tankSpeed | + | | _handicapVelAd || 2 || Player with handicap will receive this much more (_tankSpeed + _handicapVelAd) velocity than the normal _tankSpeed value.<br>''**Note: These could be factors rather than additions'' |
|- | |- | ||
− | | _handicapAngAd || 1.5 || Player with handicap will receive this much more (_angularAd | + | | _handicapAngAd || 1.5 || Player with handicap will receive this much more (_angularAd + _handicapAngAd) turning ability than the normal _angularAd. <br>''**Note: These could be factors rather than additions'' |
|- | |- | ||
− | | _handicapShotAd || 1.75 || | + | | _handicapShotAd || 1.75 || ''**Note: These could be factors rather than additions'' |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
| _identifyRange || 50 || If a flag is this distance or closer to a tank carrying the Identify (ID) flag, it will display the closest flag's type. | | _identifyRange || 50 || If a flag is this distance or closer to a tank carrying the Identify (ID) flag, it will display the closest flag's type. | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| _jumpVelocity || 19 || The speed a tank moves vertically while jumping. | | _jumpVelocity || 19 || The speed a tank moves vertically while jumping. | ||
|- | |- | ||
− | | _laserAdVel || 1000 || The length of each laser shot. | + | | _laserAdVel || 1000 || The length of each laser shot. Laser's aren't exactly "infinte" as their description states, they go on for as long as this variable states. |
|- | |- | ||
| _laserAdRate || 0.5 || Multiplied by _rFireAdRate to determine the firing rate for a laser. | | _laserAdRate || 0.5 || Multiplied by _rFireAdRate to determine the firing rate for a laser. | ||
Line 156: | Line 124: | ||
| _maxBumpHeight || 0.33 || Any difference between the surface a tank is on and the top surface of an object the tank runs into that is less than this value will allow the tank to simply move up to the object rather than being stopped by it. | | _maxBumpHeight || 0.33 || Any difference between the surface a tank is on and the top surface of an object the tank runs into that is less than this value will allow the tank to simply move up to the object rather than being stopped by it. | ||
|- | |- | ||
− | | _maxFlagGrabs || 4.0 || How many times a flag can be dropped before it respawns. | + | | _maxFlagGrabs || 4.0 || How many times a flag can be dropped before it respawns. Note that on server startup, flags will get a random # of grabs already assigned to them, and flags will always respawn no matter how many flag grabs they have left if it is are over an 'unsafe' zone. |
|- | |- | ||
| _maxLOD || 32767 || The max level of detail to allow. | | _maxLOD || 32767 || The max level of detail to allow. | ||
Line 170: | Line 138: | ||
| _mGunAdVel || 1/_mGunAdRate || The speed of the machine gun's bullets. | | _mGunAdVel || 1/_mGunAdRate || The speed of the machine gun's bullets. | ||
|- | |- | ||
− | | _mGunAdRate || 10 || | + | | _mGunAdRate || 10 || The amount of time required for the machine gun to reload. |
|- | |- | ||
| _mGunAdLife || 1.5 || Multiplied by _shotRange to determine the distance machine gun bullets go. | | _mGunAdLife || 1.5 || Multiplied by _shotRange to determine the distance machine gun bullets go. | ||
Line 180: | Line 148: | ||
| _noClimb || 1 || Allow or disallow climbing on sloped surfaces. A value of 0 allows, 1 disallows. | | _noClimb || 1 || Allow or disallow climbing on sloped surfaces. A value of 0 allows, 1 disallows. | ||
|- | |- | ||
− | | _noShadows || 0 || Enables | + | | _noShadows || 0 || Enables of disables shadows. A value of 0 allows, 1 disallows. |
|- | |- | ||
| _noSmallPackets || 0 || | | _noSmallPackets || 0 || | ||
Line 190: | Line 158: | ||
| _pauseDropTime || 15 || The amount of time (in seconds) that a tank needs to be paused before its flag is dropped automatically. | | _pauseDropTime || 15 || The amount of time (in seconds) that a tank needs to be paused before its flag is dropped automatically. | ||
|- | |- | ||
− | | _positionTolerance || 0.09 || | + | | _positionTolerance || 0.09 || |
|- | |- | ||
| _pyrBase || 4 * _tankHeight || Base size of pyramids generated by the default random map generator. | | _pyrBase || 4 * _tankHeight || Base size of pyramids generated by the default random map generator. | ||
Line 231: | Line 199: | ||
|- | |- | ||
| _rejoinTime || _explodeTime || The number of seconds before clients can rejoin a game, after they leave. | | _rejoinTime || _explodeTime || The number of seconds before clients can rejoin a game, after they leave. | ||
− | |||
− | |||
|- | |- | ||
| _reloadTime || _shotRange/_shotSpeed || Time between shot reloads, note that this can cut shot range short. | | _reloadTime || _shotRange/_shotSpeed || Time between shot reloads, note that this can cut shot range short. | ||
Line 252: | Line 218: | ||
| _shotRadius || 0.5 || For collision detection. | | _shotRadius || 0.5 || For collision detection. | ||
|- | |- | ||
− | | _shotRange || 350 || Range of shots, note that they can be cut short by _reloadTime | + | | _shotRange || 350 || Range of shots, note that they can be cut short by _reloadTime. |
|- | |- | ||
− | | _shotSpeed || 100 || Speed of shots | + | | _shotSpeed || 100 || Speed of shots. |
|- | |- | ||
− | | _shotTailLength || 4 || | + | | _shotTailLength || 4 || |
|- | |- | ||
| _shotsKeepVerticalVelocity || 0 || If '''0''', shots always move straight in relation to the ground. If '''1''', shots are affected vertically by the tank's speed, and can fly up and down. Lasers are also affected. | | _shotsKeepVerticalVelocity || 0 || If '''0''', shots always move straight in relation to the ground. If '''1''', shots are affected vertically by the tank's speed, and can fly up and down. Lasers are also affected. | ||
|- | |- | ||
| _skyColor || white || Sets the sky to a specific color. | | _skyColor || white || Sets the sky to a specific color. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| _srRadiusMult || 2 || Radius of steamroller effect. | | _srRadiusMult || 2 || Radius of steamroller effect. | ||
Line 296: | Line 252: | ||
| _tankWidth || 2.8 || The width of the tank. | | _tankWidth || 2.8 || The width of the tank. | ||
|- | |- | ||
− | | _targetingAngle || 0.3 || | + | | _targetingAngle || 0.3|| Something to do with GM... |
|- | |- | ||
− | | _teleportBreadth || 4.48 || | + | | _teleportBreadth || 4.48|| Random maps? |
|- | |- | ||
− | | _teleportHeight || 10.08 || | + | | _teleportHeight || 10.08 || See _teleportBreadth. |
|- | |- | ||
− | | _teleportTime || 1 || | + | | _teleportTime || 1 || |
|- | |- | ||
− | | _teleportWidth || 1.12 || | + | | _teleportWidth || 1.12 || See _teleportHeight. |
|- | |- | ||
| _thiefAdLife || 0.05 || The amount of time (in seconds) that a thief shot lasts. | | _thiefAdLife || 0.05 || The amount of time (in seconds) that a thief shot lasts. | ||
Line 312: | Line 268: | ||
| _thiefAdShotVel || 8 || The speed of thief. | | _thiefAdShotVel || 8 || The speed of thief. | ||
|- | |- | ||
− | | _thiefTinyFactor || 0.5 || Multiplied by the normal tank size to shrink a tank carrying the thief flag. | + | | _thiefTinyFactor || 0.5|| Multiplied by the normal tank size to shrink a tank carrying the thief flag. |
|- | |- | ||
| _thiefVelAd || 1.67 || Multiplied by _tankSpeed to determine how fast tanks holding the thief goes. | | _thiefVelAd || 1.67 || Multiplied by _tankSpeed to determine how fast tanks holding the thief goes. | ||
Line 322: | Line 278: | ||
| _trackFade || 3 || The amount of time (in seconds) before track marks fade. | | _trackFade || 3 || The amount of time (in seconds) before track marks fade. | ||
|- | |- | ||
− | | _updateThrottleRate || 30 || | + | | _updateThrottleRate || 30 || |
|- | |- | ||
| _useLineRain || none || '''0''' Rain is not a vertical line<br>'''1''' Rain is vertical lines, smoothly shaded from _rainTopColor to _rainBaseColor | | _useLineRain || none || '''0''' Rain is not a vertical line<br>'''1''' Rain is vertical lines, smoothly shaded from _rainTopColor to _rainBaseColor | ||
Line 346: | Line 302: | ||
| _wingsSlideTime || 0 || When in the air, the tanks will slide for this long. | | _wingsSlideTime || 0 || When in the air, the tanks will slide for this long. | ||
|- | |- | ||
− | | _worldSize || | + | | _worldSize || 400 || The size of the world. This should not be set during play, as the walls will not move for currently connected players. Setting this larger will allow tanks to go outside the map, and setting it smaller will cause tanks to be kicked for leaving the world boundaries. |
|} | |} | ||
[[Category:Server]] | [[Category:Server]] |