RO2 Dedicated Server: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
Line 63: Line 63:


: [Engine.AccessControl]:
: [Engine.AccessControl]:
  AdminPassword=
  AdminPassword= - Admin Password
  GamePassword=
  GamePassword= - Server Password


: Examples:
: [Engine.GameReplicationInfo]:
: Absolute Path:
  ServerName=Red Orchestra Server - Server Name
  force_install_dir c:\RO2Server\


: [ROGame.ROGameInfo]:
RoundStartScreenTime=8
bLANServer=false
bBalanceTeams=true
bAutoBalanceTeamsOnDeath=true
MaxTeamDifference=2
RoundLimit=2
EndOfMapDelay=45.000000
GameDifficulty=1.0
HideWinScreenDelay=7.500000
HideScoreboardDelay=3.000000
HideAfterActionReportDelay=10.000000
bCampaignGame=false
CampaignStartingCombatPower=200.000000
CampaignVotingDelay=5.000000
CampaignAttackDefendVoteTime=45.000000
CampaignTerritoryVoteTime=60.000000
CampaignFirstTerritoryVoteTime=300.000000
CampaignTerritoryMapVoteTime=15.000000
bUseReadySystem=false
bRandomizeClassRanks=false
bRandomizeWeaponProficiencyLevels=false
MaxHeroes16Player=2
MaxHeroes32Player=3
MaxHeroes64Player=5
bEnableBattlefieldCommissions=true
bEnableSteamCloud=true
ServerAdvertisementMessages=
ServerAdvertisementInterval=30
MinNetPlayers=1
FriendlyFireKillLimit=6
FriendlyFireDamageLimit=800.000000
FriendlyFireScale=1.000000
FriendlyFireArtilleryScale=1.000000
FriendlyFireExplosiveScale=1.000000
FriendlyFireArtilleryPunishScale=0.100000
FriendlyFireExplosivePunishScale=0.500000
FriendlyFirePunishment=1
bEnableTeamKillForgiving=true
FriendlyPlayerNames=2
SmallArmsDamageScale=1.000000
ExplosivesDamageScale=1.000000
ArtilleryDamageScale=1.000000
TankShellDamageScale=1.000000
PunkbusterServerProfile=2
bEnableMapVoting=true
MapVotingTime=30.000000
bEnableKickVoting=true
bAnonymousVoteKicking=False
KickVotingTime=30.000000
bEnableRoleVoting=true
RoleVotingTime=30.000000
bUseScoreAsVoteWeight=false
bAllowMidGameVoting=false
MidGameVotingPercentage=50.000000
EndGameVotingPercentage=50.000000
MapRepeatLimit=0
bEnableVOIP=true
bDisablePublicVOIPChannel=false
bDisablePublicTextChat=false
bEnableDeadToDeadVOIP=true
bPartitionSpectators=true
bPositional3DVOIP=false
bPositional3DVOIPAllHear=false
RealismLevel=0
SpectatingMode=0
ReinforcementTimeScale=1.000000
MinimumHonor=0
MaximumHonor=100
BannerLink=http://www.heroesofstalingrad.com/ServerAd/RO2_ServerTest.png
ClanMotto=Welcome to our Red Orchestra 2 server!
ClanMottoColor=(B=0,G=0,R=0,A=255)
ServerMOTD=This is our message of the day ...@nl@@nl@Please enjoy your time on our server@nl@@nl@@nl@This is the last line
ServerMOTDColor=(B=0,G=0,R=16,A=255)
WebLink=www.redorchestra2.com
WebLinkColor=(B=0,G=0,R=16,A=255)
bUseMapList=True
   
   
==== Maps ====
==== Maps ====

Revision as of 22:53, 21 May 2012

Downloading and Running the SteamCMD Update Tool

  1. Download the SteamCMD Update Tool:
  2. Extract the contents to a directory (Windows example: C:\SteamCmd\).
    Do not extract the contents of the updater tool to the regular Steam Client folder or to a folder that has the older HLDSUpdateTool program.
  3. Launch SteamCmd
NOTE: To automate this process for future updates, see #Automating SteamCmd.
    1. Open a command prompt in that directory and start SteamCmd
      • Windows: Type steamcmd
    The program will automatically update and enter you in to a Steam> prompt. Type help for more information.
  1. Log in with your CS:GO Steam Account
You must log out of the regular Steam client in order to properly log in to SteamCMD Update Tool
login username password
4a. If you receive a Steam Guard error, check your e-mail for your access code and execute the following commands (you'll only need to do this once):
set_steam_guard_code yourcodehere
login username password
5. You should see a message stating that you have successfully logged in with your account.

Downloading the Red Orchestra 2: Heroes of Stalingrad Dedicated Server

This describes the process of updating the CS:GO dedicated server application. These steps are required every time the game is updated. To automate this process for future updates, see #Automating SteamCmd.
1. If you aren't proceeding from the previous set of instructions, first launch SteamCmd.
2. At the Steam> prompt, set your CS:GO Dedicated Server install directory.
Examples:
Absolute Path:
force_install_dir c:\RO2Server\
Up one folder:
force_install_dir ..\RO2Server\
In the Steam Command folder:
force_install_dir .\RO2Server\
3. Install or Update RO2.
If this is your first time installing or if you are trying to verify the integrity of the server files:
app_update 212542 validate
If this is simply an update to an existing RO2 dedicated server:
app_update 212542
4. Once finished, type quit at the Steam> prompt to properly log off of the Steam servers.

Starting the Server

Classic Casual: start .\Binaries\win32\rogame te-Apartments?minplayers=0?maxplayers=32? -seekfreeloadingserver


Advanced Configuration

Configuring your new Red Orchestra 2: Heroes of Stalingrad server differs from what server administrators have seen with previous dedicated servers. There are some primary differences, which we'll cover here.

rogame.ini

The rogame.ini file can be found under \ROGame\Config\

This file controls all the various game elements that can be configured by admins in Red Orchestra 2: Heroes of Stalingrad. From game modes such as Classic or Action to spectating options and death cams, everything can be set up to the admins liking from this file.

First admins will want to configure this file to update the WebAdmin, server password and other settings that you do have access to. Here is an example of a very simple ROGame.ini settings admins will want to change first:

[Engine.AccessControl]:
AdminPassword= - Admin Password
GamePassword= - Server Password
[Engine.GameReplicationInfo]:
ServerName=Red Orchestra Server - Server Name
[ROGame.ROGameInfo]:

RoundStartScreenTime=8 bLANServer=false bBalanceTeams=true bAutoBalanceTeamsOnDeath=true MaxTeamDifference=2 RoundLimit=2 EndOfMapDelay=45.000000 GameDifficulty=1.0 HideWinScreenDelay=7.500000 HideScoreboardDelay=3.000000 HideAfterActionReportDelay=10.000000 bCampaignGame=false CampaignStartingCombatPower=200.000000 CampaignVotingDelay=5.000000 CampaignAttackDefendVoteTime=45.000000 CampaignTerritoryVoteTime=60.000000 CampaignFirstTerritoryVoteTime=300.000000 CampaignTerritoryMapVoteTime=15.000000 bUseReadySystem=false bRandomizeClassRanks=false bRandomizeWeaponProficiencyLevels=false MaxHeroes16Player=2 MaxHeroes32Player=3 MaxHeroes64Player=5 bEnableBattlefieldCommissions=true bEnableSteamCloud=true ServerAdvertisementMessages= ServerAdvertisementInterval=30 MinNetPlayers=1 FriendlyFireKillLimit=6 FriendlyFireDamageLimit=800.000000 FriendlyFireScale=1.000000 FriendlyFireArtilleryScale=1.000000 FriendlyFireExplosiveScale=1.000000 FriendlyFireArtilleryPunishScale=0.100000 FriendlyFireExplosivePunishScale=0.500000 FriendlyFirePunishment=1 bEnableTeamKillForgiving=true FriendlyPlayerNames=2 SmallArmsDamageScale=1.000000 ExplosivesDamageScale=1.000000 ArtilleryDamageScale=1.000000 TankShellDamageScale=1.000000 PunkbusterServerProfile=2 bEnableMapVoting=true MapVotingTime=30.000000 bEnableKickVoting=true bAnonymousVoteKicking=False KickVotingTime=30.000000 bEnableRoleVoting=true RoleVotingTime=30.000000 bUseScoreAsVoteWeight=false bAllowMidGameVoting=false MidGameVotingPercentage=50.000000 EndGameVotingPercentage=50.000000 MapRepeatLimit=0 bEnableVOIP=true bDisablePublicVOIPChannel=false bDisablePublicTextChat=false bEnableDeadToDeadVOIP=true bPartitionSpectators=true bPositional3DVOIP=false bPositional3DVOIPAllHear=false RealismLevel=0 SpectatingMode=0 ReinforcementTimeScale=1.000000 MinimumHonor=0 MaximumHonor=100 BannerLink=http://www.heroesofstalingrad.com/ServerAd/RO2_ServerTest.png ClanMotto=Welcome to our Red Orchestra 2 server! ClanMottoColor=(B=0,G=0,R=0,A=255) ServerMOTD=This is our message of the day ...@nl@@nl@Please enjoy your time on our server@nl@@nl@@nl@This is the last line ServerMOTDColor=(B=0,G=0,R=16,A=255) WebLink=www.redorchestra2.com WebLinkColor=(B=0,G=0,R=16,A=255) bUseMapList=True

Maps

Maps can be set to run by gametype and amount of rounds played.

Automating SteamCmd

There are two ways to automate SteamCmd.

1. Add commands to the command line. Example:
SteamCmd +login user password +force_install_dir ../ro2_ds +app_update 740 validate
2. Create a script.
a. Put your SteamCmd commands in a text file. Example:
// update_ro2_ds.txt
//
login user password
force_install_dir ./ro2server
app_update 212542 validate
exit
b. Run SteamCmd with the +runscript option. Example:
SteamCmd +runscript ro2_ds.txt