Installation
Windows Installation
Install all files in sequential order, ET 1.0, 1.02, and then ETF.
Linux Installation
Install all files in sequential order, ET 1.0, 1.02, and then ETF.
Sample etf_server.cfg
can be found here.
Running Servers
ETF Servers can be ran in both dedicated and non-dedicated modes. For information
on the ET aspects of running a ETF server you should consult the documentation
included with Enemy Territory (in the extras directory). This section deals
with ETF server specifics.
Generally, a non-dedicated server is used to run a server process on your
machine that you too can also play on. You might use a non-dedicated server
to play against friends on a LAN, or just to run around ETF maps on your own.
A dedicated server is more suited to Internet or LAN use where many players
will be connecting.
Running a ETF Non-Dedicated server
The easiest way to run a ETF non-dedicated server, is from within Enemy Territory
itself. To do so, follow these simple steps:
-
Connect to the Internet or ensure you have a suitable
LAN connection.
- Start ETF from the shortcut.
- To start the non-dedicated server, click the 'PLAY' button on the Main
Menu and select "START A GAME". Select a map from the available
selection, then select the settings you wish to use such as timelimit, server
name, friendly fire, etc. Click 'START' and you'll now be connected to your
own server.
Running a ETF Dedicated Server
To start a dedicated ETF server you'll probably need to use the command line,
or a desktop shortcut. Running a ET server is only a little more complex than
running a standard Enemy Territory server. The key to smooth server operation
lies in the etf_server.cfg which includes all the ETF specific commands that
most server administrators will need. The etf_server.cfg also includes the
address of the dedicated ETF master server (master.etfgame.com)- as such it's
important that you consult this file, and use a command line as close as possible
to the following if you're setting up a public server.
Windows Command Line:
ET.exe +set dedicated 2 +set fs_game etf +exec etf_server.cfg
|
Linux Command Line:
./etded.x86 +set dedicated 2 +set fs_game etf +exec etf_server.cfg
|
The "+set dedicated 2" will ensure that your server reports to
the etf dedicated master server. The "+set fs_game etf" tells Enemy
Territory to add the ETF directory to the search path for PK3 files, while
the "+exec etf_server.cfg" executes a configuration file for the
server.
ETF Server Commands and g_settings
There are a number of new commands available to etf Server Administrators
to aid server management and game-play tweaking. The following is a list of
etf specific server commands with brief descriptions:
g_banRules |
Value = Integer, Default = 3. g_banRules allows
you to specify the level of offense that results in a ban on your
etf server. Values are: 0 = Dont ban for any offense, 1 = Ban only
for Team Killing (and only if g_teamKillRules is set), 2 = Ban for
Team Killing (if set), rate/snaps abuse (if set), dismantling team
autosentries and lodCureError cheating, 3 = Ban for all offenses in
1 & 2 plus enable banning for failed etf CRC authentication check
(hacked clients). |
sv_minSnaps |
Value = Integer, Default = 10. By specifying the minimum snaps setting
for clients connecting to the server, you can ensure that clients are
unable to use snaps related cheats. Note that a client with a setting
lower than the servers will receive an automatic temporary kickban for
2 minutes. |
g_teamChatSounds |
0=no sounds, 1=team-wide (mm2) comms wavs only, 2=team-wide (mm2)
comms and speech, 3=global (mm1 & mm2) comms wavs only, 4=global
(mm1 & mm2) comms and speach. Default=4. This command is used to
allow or deny the use of etf wav communications - some Server Administrators
disable these on public servers to stop the spamming of wavs. |
g_execMapConfigs |
1=enabale, 0=disable (default = 0). This CVAR is used to enable
or disable the executing of map specific CFG files stored on the server.
For example, by enabling this CVAR and placing a file called etf_well.cfg
in your server's that contained the command 'set sv_maxclients 20',
the servers max-client limit would automaticaly be adjusted to 20,
whenever the map was loaded. |
g_mapVoteExcludeList |
This CVAR is used to exclude maps from the voting page that apears
if the CVAR g_mapVote 1 is used. The value is stored with no spaces
- for example 'g_mapVoteExcludeList etf_oct1,etf_r8duel1,etf_sq1,etf_cubic,
etf_thepit' would exclude all dueling maps from the servers map voting
page, ensuring that a 20 player server doesnt end up with a 2 player
map being played. Note that the limit of this value is 256 characters.
As such we have also provided the CVAR g_mapVoteIncludeList so that
you can specificly include maps, rather than exclude them - depending
on which is the smaller list. |
g_mapVoteIncludeList |
As g_mapVoteExcludeList but used to include specific maps. Note that
the maps stored in the g_mapVoteExcludeList CVAR are given priority.
For best results use only Include OR Exclude, not both - since naturaly
they cancel each other out. |
g_teamKillRules |
0=Banning for excessive team-killing is disabled, 1=fast bans, 2=normal
bans (default). Note that the equation used for determining whether
somebody is killing their team mates on purpose is fairly complex, using
an entity we refer to as 'heat'. When you kill a team mate you gain
'heat', and when you kill an enemy you lose heat. If you get too hot
you get banned :) Essentialy this means that the occasional slaughter
of a team mate is reasonable when involved in combat against the enemy
team - if however a player simply kills their team mates for the sake
of it (in other words to disrupt the game), then they will be banned
when this CVAR is in use. We recomend the default of 2 for public servers,
0 for clan games, and 1 for servers where there have been lots of complaints
about disruptive players. |
sv_minRate |
Value=integer (bits per second) Default=1500. This CVAR is used to
set on the server to stop people setting very low rates to make themselves
less visible - this should resolve the "lower-rate-to-bypass-autosentry"
cheat. |
g_mapVote |
1=enable map voting screen at the end of each map, 0=disable map voting
screen. This CVAR will scan the server's etf directory for all present
maps, and then select up to ten at random to display on a vote menu
to all players. This function may also be used by rconers and admins
by using the 'rcon mapvote' and 'admin map vote' commands. |
g_showTeamBalance |
1=enable, 0=disable. Displays a warning to all players when teams
become unbalanced. |
g_teamFrags |
1=team frags only displayed, 0=individual frags displayed. This setting
determines the method of scoring for the server. Using Teamfrags will
stop players from being able to see their own indivudual frags and *might*
encourage more team-play. |
g_adminPassword |
Value=alphanumeric. This setting is used to specify an additional
password to allow for limited administrative control of the server.
Holders of this password will be able to kick and ban players, but will
not be able to use any other RCON commands. |
g_class<clasname>Limit |
Value=integer, 0=none, -1=unlimited. This setting is used to detremine
the maximum number of each class allowable per team. etting a sniper
limit of 2 is popular to stop sniper wars. You could also move these
to a map specific cfg (eg: etf_forts.cfg) and then set limits based
on each map - to do this you would need to exec etf_forts.cfg as part
of the set d1 "map etf_forts ; set nextmap vstr d2" line in the etf_server.cfg. |
g_suicideDelay |
Value=integer, default=7. The delay after suicide that player must
wait before respawning. |
g_spectatorMode |
0 = everyone who is spectator, and not has joined a team yet, can
float free through the level. They can't use teamdoors though. 1 = only
admins who are spectator, and have not joined a team yet, can float
free through the level. This command is usefull for clan matches to
ensure that players are not able to switch to spectator mode and scout
out the enemy defense etc. Default = 0. |
g_friendlyFire |
Effects how much damage is done to teammates by friendly fire. Default
= full, other values include: half, armor/amour, mirrorfull, mirrorhalf,
and mirrorarmor. you can also clear this CVAR and disable team damage
completely by setting it to 0. |
|