Server settings

From TeeWiki

Jump to: navigation, search

The server tunings are the settings which you can modify to tune the engine, game settings, physics and weapon behavior on the server(s) you run. Before 0.5.0 these were entered in the settings.cfg, but afterwards they required a .cfg file on their own. To tune a variable, execute the following command in RCON or settings.cfg: tune [command] [value]. [command] is any of the following and [value] can be any number. These are different from the server commands, which mainly give you control over the more basic functions of your server.

List of all available weapons and physics server settings with their default value.

Contents

Examples

Basic DM server

sv_name Sample DM Server
sv_gametype dm
sv_warmup 10
sv_map dm2
sv_maprotation dm2 dm6
sv_max_clients 8
sv_scorelimit 20

Basic 2v2 TDM server

sv_name Sample 2on2 TDM Server
sv_gametype tdm
sv_warmup 10
sv_map dm1
sv_max_clients 4
sv_scorelimit 50

Basic CTF server

sv_name Sample CTF Server
sv_gametype ctf
sv_warmup 30
sv_map ctf2
sv_max_clients 10
sv_scorelimit 400

Engine settings

sv_name

Sets the server name which will be shown in the server browser and on the server info page. Default: unnamed server

sv_bindaddr

Address to bind to.

sv_port

Select the port the server listen to. Default: 8303

sv_external_port

Port to report to the master servers (in case of firewall rename)

sv_max_clients

Number of clients that can be on the server at the same time. Default: 12

sv_high_bandwidth

Use high bandwidth mode, for LAN servers only. Default: 0

sv_register

Registers on the master servers if it's set to 1. Default: 1

sv_map

Changes map immediately after the command is executed. Use this to set the default map when starting a server. Default: dm1

sv_rcon_password

Password to access the remote console.

sv_map_reload

Reloads the current map.

Game settings

sv_maprotation

Used to specify a list of maps which will rotate after the last one has passed.

sv_warmup

Specifies the warmup time before a round will start. Will start immediately if set to 1. Default: 1

sv_scorelimit

Tells at what score the round should end. Set to 0 if you only want a time limit. Default: 20

sv_timelimit

Tells how long a round can go on. If the score is equal by then, there will be a sudden death. Default: 0

sv_gametype

Select what game mode to use. If you want to change this in game, you must use sv_map_reload or sv_map after the command is executed. Default: DM

sv_rounds_per_map

The number of rounds before changing map. Default: 1

sv_motd

Message of the day, shown in server info and when joining a server.

sv_spectator_slots

How many of the max clients-number that will be spectators only. Default: 0

sv_teambalance_time

The time in minutes after the teams are uneven, to use auto balance.

sv_spamprotection

Turning on/off spam filter. Default: 1

sv_tournament_mode

Players will automatically join spectator. Default: 0

sv_teamdamage

Turns on friendly fire. Default: 0

sv_powerups

Set to 0 to disable powerups. Default: 1

sv_vote_map

Enables map voting. Default: 1

sv_vote_kick

Enables kick voting. Default: 1

Physics tuning

ground_control_speed

Maximum speed the tee can get on ground. Default: 10.0

ground_control_accel

Acceleration speed on the ground. Default: 2.0

ground_friction

Friction on the ground. Default: 0.5

ground_jump_impulse

Impulse when jumping on ground. Default: 12.6

air_jump_impulse

Impulse when jumping in air. Default: 11.5

air_control_speed

Max speed the tee can get in the air. Default: 5.0

air_control_accel

Acceleration speed in air. Default: 1.5

air_friction

Friction in the air. Default: 0.95

hook_length

Length of the hook. Default: 380.0

hook_fire_speed

How fast the hook is fired. Default: 80.0

hook_drag_accel

Acceleration when hook is stuck. Default: 3.0

hook_drag_speed

Drag speed of the hook. Default: 15.0

gravity

Gravity of the world. Default: 0.5

velramp_start

Velocity ramp start. Default: 550.0

velramp_range

Velocity ramp range. Default: 2000.0

velramp_curvature

Velocity ramp curvature. Default: 1.4

Weapon tuning

gun_curvature

Gun curvature. Default: 1.25

gun_speed

Gun speed. Default: 2200.0

gun_lifetime

Gun lifetime. Default: 2.0

shotgun_curvature

Shotgun curvature. Default: 1.25

shotgun_speed

Shotgun speed. Default: 2200.0

shotgun_speeddiff

Speed difference between shotgun bullets. Default: 0.8

shotgun_lifetime

Shotgun lifetime. Default: 0.25

grenade_curvature

Grenade curvature. Default: 7.0

grenade_speed

Grenade speed. Default: 1000.0

grenade_lifetime

Grenade lifetime. Default: 2.0

laser_reach

How long the laser can reach. Default: 800.0

laser_bounce_delay

When bouncing, stop the laser this long. Default: 150.0

laser_bounce_num

How many times the laser can bounce. Default: 1.0

laser_bounce_cost

Remove this much from reach when laser is bouncing. Default: 0.0

laser_damage

Laser damage. Default: 5.0

External links

Personal tools