This is based on my experience with setting up a server from scratch, IE I didnt know anything about it when I started!
Installation
1) Download the HLDSTOOLUPDATE to a temp location, like c:\Temp.
Use the link below to download HLDSTOOLUPDATE.
http://www.steampowered.com/download/hldsupdatetool.exe
The tool is used to download, update and run the dedicated Source server.
2) Once you have downloaded hldsupdatetool.exe, run the installer and install to a permanent location, like c:\HLServer.
3) Now you need to download the files for your dedicated DOD:S server.
*******
You can either follow the rest of these instructions or skip to the download of the script files in the bottom of this post. The download contains scripts to download, configure and run your DODS server.
*******
To download the dedicated DOD:S server, use this script in a .bat file:
This is how it should look, if your server location is "c:\HLServer"
When downloading, dont panic over the size....its about > 900Mb!
If it stops, just run the script again...
Configuration
4) Now you have you base installation. You just need to configure it.
Open Notepad and create a file called server.cfg and put it in the c:\HLServer\orangebox\dod\cfg folder. (Remember NOT to save it as an "txt" file)
Heres a base server.cfg file, we used:
Most of these are self explaining, but theres a few thats not.
the lines with "mp_limit_allies..." are put there to control the number of players on each class (rifleman, support..etc)
-1 = unlimited
0 = None
1,2,3 = 1,2,3 etc
"mp_limitteams" can be used to disable autoteambalance.
The number states how many players one team can have over the other.
"mapcyclefile" states what the mapcycle file is called.
Starting
To start the DOD:S dedicated server you can use this command:
Its maximum player number is 32 and is starts with Anzio. Next map will be whatever is listed in the mapcycle file.
You can use the command in a .bat file OR use Serverchecker(great tool):
http://www.dumbclan.co.uk/forum/topic/15362-releasedserver-checker-304-mod-with-support-for-vista-and-newer/
How to update in the future with new DOD:S releases
Just run the .bat file created in step 3 again. It will check your installation and update it if needed.
For more info on Dedicated Server:
http://planethalflife.gamespy.com/View.php?view=HL2Guides.Detail&id=4&game=3
If you dont want to create the .txt and .bat files yourself, then you can download a zip file with them here:
http://silenthunter.dk/?page_id=7
This should get you going!
If you have additions for this please post them - then ill add them
Update:
It is now possible to do most of this in the Steam GUI, but if you want a console dedicated server the above guide is still prefable.
16th October:
Fixed dead Serverchecker link...
27th June:
Updated with DOD:S Beta info
4th July:
DOD:S Beta release, old beta server setup deleted.
Added a few new CVARs
11th July:
Edited the launch BAT file to reflect the new path after DODS has been moved to the OrangeBox engine.
27th August:
Added one more NEW DODS cvar
20th Septmeber 2012:
Did some cleaning up and added download for scripts.
Linked to newer version of Serverchecker
Installation
1) Download the HLDSTOOLUPDATE to a temp location, like c:\Temp.
Use the link below to download HLDSTOOLUPDATE.
http://www.steampowered.com/download/hldsupdatetool.exe
The tool is used to download, update and run the dedicated Source server.
2) Once you have downloaded hldsupdatetool.exe, run the installer and install to a permanent location, like c:\HLServer.
3) Now you need to download the files for your dedicated DOD:S server.
*******
You can either follow the rest of these instructions or skip to the download of the script files in the bottom of this post. The download contains scripts to download, configure and run your DODS server.
*******
To download the dedicated DOD:S server, use this script in a .bat file:
Code:
c:\HLServer\hldsupdatetool -command update -game dods -dir c:\HLServer
This is how it should look, if your server location is "c:\HLServer"
When downloading, dont panic over the size....its about > 900Mb!
If it stops, just run the script again...
Configuration
4) Now you have you base installation. You just need to configure it.
Open Notepad and create a file called server.cfg and put it in the c:\HLServer\orangebox\dod\cfg folder. (Remember NOT to save it as an "txt" file)
Heres a base server.cfg file, we used:
Code:
hostname "Test DOD:S Server"
sv_password "testserverpw"
sv_cheats 0
mp_allowrandomclass 1
mp_allowspectators 0
mp_autocrosshair 1
mp_autokick 0
mp_cancelwarmup 1
mp_decals 200
mp_defaultteam 0
mp_falldamage 20
mp_flashlight 1
mp_footsteps 1
mp_forcecamera 1
mp_forcerespawn 1
mp_fraglimit 0
mp_friendlyfire 1
mp_limit_allies_assault -1
mp_limit_allies_mg 1
mp_limit_allies_rifleman -1
mp_limit_allies_rocket 0
mp_limit_allies_sniper 1
mp_limit_allies_support -1
mp_limit_axis_assault -1
mp_limit_axis_mg 1
mp_limit_axis_rifleman -1
mp_limit_axis_rocket 0
mp_limit_axis_sniper 1
mp_limit_axis_support -1
mp_limitteams 10
mp_restartwarmup 1
mp_timelimit 15
mp_warmup_time 1
mp_weaponstay 0
// New DODS CVARs
dod_freezecam 0 // disables "killcam"
dod_playrivalrysounds 0 //disables "Nemisis/revenge" sounds
dod_playachievementmusic 0 //disables achievement music
mapcyclefile "mapcycle.txt"
the lines with "mp_limit_allies..." are put there to control the number of players on each class (rifleman, support..etc)
-1 = unlimited
0 = None
1,2,3 = 1,2,3 etc
"mp_limitteams" can be used to disable autoteambalance.
The number states how many players one team can have over the other.
"mapcyclefile" states what the mapcycle file is called.
Starting
To start the DOD:S dedicated server you can use this command:
Code:
c:\HLServer\orangebox\srcds.exe -console -game dod -port 27015 +maxplayers 32 +map dod_anzio +exec server.cfg
You can use the command in a .bat file OR use Serverchecker(great tool):
http://www.dumbclan.co.uk/forum/topic/15362-releasedserver-checker-304-mod-with-support-for-vista-and-newer/
How to update in the future with new DOD:S releases
Just run the .bat file created in step 3 again. It will check your installation and update it if needed.
For more info on Dedicated Server:
http://planethalflife.gamespy.com/View.php?view=HL2Guides.Detail&id=4&game=3
If you dont want to create the .txt and .bat files yourself, then you can download a zip file with them here:
http://silenthunter.dk/?page_id=7
This should get you going!
If you have additions for this please post them - then ill add them
Update:
It is now possible to do most of this in the Steam GUI, but if you want a console dedicated server the above guide is still prefable.
16th October:
Fixed dead Serverchecker link...
27th June:
Updated with DOD:S Beta info
4th July:
DOD:S Beta release, old beta server setup deleted.
Added a few new CVARs
11th July:
Edited the launch BAT file to reflect the new path after DODS has been moved to the OrangeBox engine.
27th August:
Added one more NEW DODS cvar
20th Septmeber 2012:
Did some cleaning up and added download for scripts.
Linked to newer version of Serverchecker