Managed to get my own dedi running.
Rungs surprisingly well, even with what I thought was a bottleneck of 1Mbit/Sec Upload. People in UK area getting 30-40 ping and US joiners 100-120.
Fair old amount of CPU usage, between 30-60% on all 4 cores of an i7 2600k @ 4.5Ghz.
Beats waiting around for community servers though!
For anyone wanting to setup a dedi.
Get and Install HL Dedicated Server Tool
Download
http://storefront.steampowered.com/download/hldsupdatetool.exe
Execute and install to chosen directory via GUI
Get TF2 Dedicated Server Files
Open elevated command prompt
Browse to the directory you installed the HLDS Update tool to. F.ex: cd D:\installdir
Run the following command: HldsUpdateTool.exe -command update -game "tf" -dir .
Utility will now download ~5.35GB of data
Configure server
Use explorer and browse to installdir\orangebox\tf\cfg
Create a new file called server.cfg with the following contents:
Code:
hostname "Your Server Name"
rcon_password "rconpass"
sv_contact "[email protected]"
sv_password "playerjoinpassword"
tf_mvm_min_players_to_start 2
Port Forwarding
Ensure you forward the following ports to your host machine
UDP 27000 to 27030, 4380
TCP 27014 to 27050
Launch server
Use explorer and browse to installdir\orangebox\
Create a new file called StartServer.bat with the following contents:
Code:
srcds.exe -console -game tf +map ctf_2fort +maxplayers 32
Execute the StartServer.bat file and the dedicated server will launch in a console window
Join Server
Join your own server via server browser or console (
connect IP
ORT) If you specified a password for your server in the server.cfg make sure to execute
password "playerjoinpassword" prior to the connect command
Login to RCON via the console with
rcon_password "rconpassword"
Change to a MvM map via the console with
rcon changelevel "mapname", for example
rcon changelevel mvm_coaltown
Get people to join and play!
Notes:
MvM will only work with a server configured with a maxplayers of 32
There is a bug where some people get stuck on Failure/Retry/Victory screens, to get out of it open the console and execute hud_reloadscheme
You can change difficulty as follows via the following RCON console commands:
rcon sv_cheats 1
rcon tf_mvm_skill X
Where x is a minimum of 1.000000 and a max of 5.000000