Jump to content

Team Fortress Classic


Stealth

Recommended Posts

Team Fortress Classic

 

 

 

Contains:

 

Command Line for AMX mod

 

Custom command line with +map and +exec vars

 

Rcon commands

 

Default (server.cfg) config file

 

 

 

<div class="pre"><pre><?xml version="1.0" standalone="yes"?>

<GAME>

<GAMEID>26</GAMEID>

<NAME>Team Fortress Classic</NAME>

<SHORTNAME>TFC</SHORTNAME>

<DEFAULTPORT>27015</DEFAULTPORT>

<DEFAULTQUERYPORT>27015</DEFAULTQUERYPORT>

<DEFAULTRCONPORT>27015</DEFAULTRCONPORT>

<FILESFOLDER>TFC</FILESFOLDER>

<RELATIVEEXECUTABLE>hlds.exe</RELATIVEEXECUTABLE>

<RELATIVEWORKINGDIRECTORY>/</RELATIVEWORKINGDIRECTORY>

<RELATIVEUSERFILES>/tfc/</RELATIVEUSERFILES>

<INSTALLEDPATCH />

<DEFAULTCMDLINE>-console -game tfc -dll addons/metamod/dlls/metamod.dll +ip %serverip% -port %serverport% +maxplayers %slots% +exec server.cfg +map 2fort</DEFAULTCMDLINE>

<DEFAULTCUSTOMCMDLINE>-console -game tfc -dll addons/metamod/dlls/metamod.dll +ip %serverip% -port %serverport% +maxplayers %slots% %usercmdline%</DEFAULTCUSTOMCMDLINE>

<PRIVATECMDLINE>-console -game tfc -dll addons/metamod/dlls/metamod.dll +ip %serverip% -port %serverport% +maxplayers %slots% +exec server.cfg +map 2fort</PRIVATECMDLINE>

<PRIVATECUSTOMCMDLINE>-console -game tfc -dll addons/metamod/dlls/metamod.dll +ip %serverip% -port %serverport% +maxplayers %slots% %usercmdline%</PRIVATECUSTOMCMDLINE>

<COMPATIBILITY>4</COMPATIBILITY>

<COMMANDLINEPARAMETERS>

<COMMANDLINEPARAMETER>

<GAMEID>26</GAMEID>

<CANSETVALUE>True</CANSETVALUE>

<COMMAND>+exec</COMMAND>

<DENYCHARS />

<DESCRIPTION>First executed config. Default is 'server.cfg'</DESCRIPTION>

<ENCLOSEQUOTES>False</ENCLOSEQUOTES>

<EQUALSIGN />

<ORDER>1</ORDER>

<SPACEAFTERINPUT>True</SPACEAFTERINPUT>

<SPACEAFTERSIGN>False</SPACEAFTERSIGN>

<SPACEBEFORECOMMAND>True</SPACEBEFORECOMMAND>

<SPACEBEFORESIGN>True</SPACEBEFORESIGN>

<USERACCESS>True</USERACCESS>

</COMMANDLINEPARAMETER>

<COMMANDLINEPARAMETER>

<GAMEID>26</GAMEID>

<CANSETVALUE>True</CANSETVALUE>

<COMMAND>+map</COMMAND>

<DENYCHARS />

<DESCRIPTION>Set starting map</DESCRIPTION>

<ENCLOSEQUOTES>False</ENCLOSEQUOTES>

<EQUALSIGN />

<ORDER>4</ORDER>

<SPACEAFTERINPUT>True</SPACEAFTERINPUT>

<SPACEAFTERSIGN>False</SPACEAFTERSIGN>

<SPACEBEFORECOMMAND>True</SPACEBEFORECOMMAND>

<SPACEBEFORESIGN>True</SPACEBEFORESIGN>

<USERACCESS>True</USERACCESS>

</COMMANDLINEPARAMETER>

</COMMANDLINEPARAMETERS>

<DEFAULTCONFIGFILES>

<CONFIGFILE>

<GAMEID>26</GAMEID>

<CONTENTS />

<DESCRIPTION>Message of the day file</DESCRIPTION>

<DISPLAYNAME>Message of the day</DISPLAYNAME>

<RELATIVEPATH>motd.txt</RELATIVEPATH>

</CONFIGFILE>

<CONFIGFILE>

<GAMEID>26</GAMEID>

<CONTENTS>// Set the Host Name

hostname "%hostname%"

 

// Set the rcon password

rcon_password "%rconpassword%"

 

// Set private password

sv_password "%privatepassword%"

 

// Exec files on startup

exec banned.cfg

exec listip.cfg

 

// Server Logging

//log off

//mp_logdetail 0

//mp_logmessages 1

 

 

// Server Variables

mp_timelimit 30

mp_autokick 1

mp_autoteambalance 1

mp_c4timer 30

mp_flashlight 1

mp_footsteps 1

mp_forcechasecam 0

mp_freezetime 4

mp_friendlyfire 0

mp_hostagepenalty 2

mp_limitteams 2

mp_roundtime 5

mp_tkpunish 0

sv_restartround 0

sv_maxspeed 320

sv_proxies 1

allow_spectators 0

mp_startmoney 2400

mp_chattime 0

sv_allowupload 1

sv_voiceenable 1

sv_alltalk 0

 

 

pausable 0

decalfrequency 60

mp_falldamage 1

 

// cheat and fun modes

sv_aim 0

sv_cheats 0

 

// Set Rates

sv_maxrate 25000

sv_minrate 4500

sv_maxupdaterate 101

 

 

 

// Enable/Disable LAN mode

sv_lan 0

 

// Contact & Geo

sv_contact

sv_region 3

 

</CONTENTS>

<DESCRIPTION>Server Configuration File</DESCRIPTION>

<DISPLAYNAME>Server Config File</DISPLAYNAME>

<RELATIVEPATH>server.cfg</RELATIVEPATH>

</CONFIGFILE>

</DEFAULTCONFIGFILES>

<RCONCOMMANDS>

<RCONCOMMAND>

<GAMEID>26</GAMEID>

<RCON_COMMAND>quit</RCON_COMMAND>

<DESCRIPTION>Restart server</DESCRIPTION>

<FULL_COMMAND>quit</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>26</GAMEID>

<RCON_COMMAND>say</RCON_COMMAND>

<DESCRIPTION>Speak as console command</DESCRIPTION>

<FULL_COMMAND>Say "Welcome to our server"</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>26</GAMEID>

<RCON_COMMAND>mp_friendlyfire</RCON_COMMAND>

<DESCRIPTION>Set friendly fire on (1) or off (0)</DESCRIPTION>

<FULL_COMMAND>mp_friendlyfire 0</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>26</GAMEID>

<RCON_COMMAND>kick</RCON_COMMAND>

<DESCRIPTION>Kick by player name</DESCRIPTION>

<FULL_COMMAND>kick [-26-]Mr.P</FULL_COMMAND>

<IS_KICK_COMMAND>1</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>26</GAMEID>

<RCON_COMMAND>sv_password</RCON_COMMAND>

<DESCRIPTION>Set server password</DESCRIPTION>

<FULL_COMMAND>sv_password private</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>26</GAMEID>

<RCON_COMMAND>status</RCON_COMMAND>

<DESCRIPTION>Server Status and List Players Command</DESCRIPTION>

<FULL_COMMAND>status</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>26</GAMEID>

<RCON_COMMAND>changelevel</RCON_COMMAND>

<DESCRIPTION>Map change command</DESCRIPTION>

<FULL_COMMAND>changelevel de_dust</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

<RCONCOMMAND>

<GAMEID>26</GAMEID>

<RCON_COMMAND>map</RCON_COMMAND>

<DESCRIPTION>Load Map Command (differs from 'changelevel')</DESCRIPTION>

<FULL_COMMAND>map de_dust</FULL_COMMAND>

<IS_KICK_COMMAND>0</IS_KICK_COMMAND>

<IS_BAN_COMMAND>0</IS_BAN_COMMAND>

</RCONCOMMAND>

</RCONCOMMANDS>

</GAME></pre></div>

Link to comment
Share on other sites

  • 9 months later...

I would like to add to this topic, as i had some serious problems with the install. Had to do alot of troubleshooting..

 

 

 

The config sets the command line to

 

 

 

-console -game tfc -dll addons/metamod/dlls/metamod.dll +ip %serverip% -port %serverport% +maxplayers %slots% +exec server.cfg +map 2fort

 

 

 

When the game is downloaded and installed, it actually does not create that file structure. It create a dlls folder

 

You have to go in and manually create a addons and a metamod folder to put the dlls folder into.

 

 

 

Secondly,

 

In the config it says dlls/metamod.dll

 

The game installs the file as tfc.dll

 

That needs to be changed to make it work...

 

 

 

If anyone else has that trouble, hope this helped.. Took me some time to get it straight..

Link to comment
Share on other sites

You would need metamod within the game installation along with AMX as well for this config to work properly.

 

 

 

This is not a config for a plain TFC game. This config includes commands for metamod and AMX as well.

 

 

 

Sounds like you tried to use this config for a plain TFC install, and not for what it was designed for.

 

 

Link to comment
Share on other sites

If someone is looking for a plain TFC config they should post a request for it.

 

 

 

This is a completely different config than the plain game and shouldn't be used unless the user intends to install AMX along with it. All the file links will most likely be incorrect, and the commandline is way off since it is calling the metamod.dll from it.

 

 

 

 

 

 

Link to comment
Share on other sites

  • Who's Online   0 Members, 0 Anonymous, 25 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use