Capture The Flag

From OdaWiki
Revision as of 05:31, 6 August 2010 by Ralphis (Talk | contribs) (friendlyfire)

For an explanation of the gamemode, refer to How to Play.

CTF Server Settings

ctf_flagtimeout

Usage: ctf_flagtimeout (#)

This cvar determines how long it takes for a flag to be automatically returned to its pedestal. To timeout, the flag must be off its pedestal and not be held by a player.

The value is measured in tics as opposed to seconds. In the Doom engine, 35 tics is equal to one second. Therefor, if the desired timeout time is 5 seconds, you would multiply 35 by 5. This results in 5 seconds = 175 tics. Default value is 600 (roughly 17 seconds).

If this cvar is set to 0, the flag will never be returned in a timeout. This should only be used on maps with no places that the flag can get stuck permanently (voids, lava pits, etc). Use with caution.

ctf_flagathometoscore

Usage: ctf_flagathometoscore (0-1)

This cvar determines what conditions a team can score under. If set to 0, a team can score by passing the enemy flag over their pedestal regardless of their own flag's current position. If set to 1 (default), a team's flag must be on their pedestal to score.

ctf_manualreturn

Usage: ctf_manualreturn (0-1)

This cvar changes the behavior of how a flag is returned by a player. If set to 0 (default), simply touching your own flag away from its pedestal will return it automatically and instantly.

If set to 1, a player will be required to manually return their flag to their pedestal. Note that under these conditions, a player can carry both their own flag and the enemy flag at the same time.


Relevant Teamplay CVARs

friendlyfire

Usage: sv_friendlyfire (0-1)

This cvar determines the behavior of damage dealt between team members and is valid in both cooperative and teamplay game modes.

If set to 0, players cannot reduce their teammates' health but can still reduce their armor. If set to 1, players will deal damage to teammates identically to damage dealt to opponents.

sv_teamspawns

Usage: sv_teamspawns (0-1)

This cvar changes the behavior of team spawns in a map that provides flexibility for server administrators to use certain types of maps for different intended gamemodes.

It's application in the CTF gametype:

If set to 0, all team spawns will instead become "normal" spawns that are randomized. What this means is that players, regardless of their team, will be able to spawn at any team spawn in the map. This can cause for a frantic game of CTF where players may spawn in the opposing team's base.

If set to 1, players will spawn at their corresponding team spawns. This is default and "normal" behavior.