PDA

View Full Version : MW3 Dedicated server: Basics



CaptCom
November 7th, 2011, 09:56
http://sledgehammergames.com/assets/library/gallery/113/956_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/934_medium.jpg
This document provides the basic steps to setup, host, and join a dedicated server in Call of Duty: Modern Warfare 3!
Table of Contents
Introduction
Recipes
Dedicated Server Playlist
Going Live!
Joining a Dedicated Server

Introduction

Welcome to Call of Duty: Modern Warfare 3! This is a quick look at how to setup, host, and join a dedicated server! You will learn about creating a recipe, a playlist, installing them on the server, and pushing the server live. SHG will be releasing part 2 of our guide soon detailing the more “Advanced” features of Dedicated Server including RCON, Voting, and more!
The “basic” steps of running a dedicated server are:


Create a set of recipes
Create a playlist
Start the dedicated server executable
Invoke the playlist on the server
Start the map rotation

Enjoy!

Recipes

1. A recipe is the match rules for a given map. In this section we show you how to create, save, modify, and load recipes. Using the Private Match feature you can easily create recipes to your liking. Additionally you can modify recipes in a text editor if you prefer. We’ve shipped with several example recipes found here:
<SteamRoot>\steamapps\common\modern warfare 3\admin\*.dsr
Creating a Recipe:
2. Access the recipe via the Private Match Game Setup Screen.
Select: PLAY ->PRIVATE MATCH ->GAME SETUP
http://sledgehammergames.com/assets/library/gallery/113/935_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/936_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/937_medium.jpg
3. Now select what type of mode you want to create a recipe for.
Select: MODE
http://sledgehammergames.com/assets/library/gallery/113/938_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/939_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/940_medium.jpg
4. Depending on the mode different options to tweak are available. Tweak those options on the Game Setup screen.
Select: OPTIONS
http://sledgehammergames.com/assets/library/gallery/113/941_medium.jpg
5. Tweak the options to your liking
http://sledgehammergames.com/assets/library/gallery/113/942_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/943_medium.jpg
6. Now save it to the Admin folder to be used by the Dedicated Server. The save location is:
a. <SteamRoot>\steamapps\common\modern warfare 3\admin\
Select: SAVE RECIPE TO DISK
http://sledgehammergames.com/assets/library/gallery/113/944_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/945_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/946_medium.jpg

7. Your newly created recipe is now saved to the admin folder in the game root.
a. <SteamRoot>\steamapps\common\modern warfare 3\admin\
b. Most likely <SteamRoot> corresponds to: C:\Program Files (x86)\
c. The .dsr files are text files editable in notepad
8. If you want to modify a previously saved recipe select the Load option from the main menu. And repeat step 4.
Select: LOAD RECIPE TO DISK
http://sledgehammergames.com/assets/library/gallery/113/947_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/948_medium.jpg
Dedicated Server Playlist

A Dedicated Server Playlist is a text file with a collection of map recipe pairs defining your map rotation. Additionally you determine a weight for each map recipe pair allowing you to increase or decrease the frequency a given pair is rotated to. The Playlist files have the extension .dspl (Dedicated Server Playlist)



A .dspl is a simple text file with the following format:


<level_name>, <recipe_name>, <weight>
<level_name>, <recipe_name>, <weight>
<level_name>, <recipe_name>, <weight>
http://sledgehammergames.com/assets/library/gallery/113/957_medium.jpg
2. You can use a * to denote a random map
3. We shipped with an example .dspl that has more info found
<SteamRoot>\steamapps\common\modern warfare 3\admin\default.dspl
http://sledgehammergames.com/assets/library/gallery/113/958_medium.jpg
4. While playing, editing the playlist or a recipewill not be reflected untilthe next map rotate.
Going Live!

Now that you’ve made your recipes and playlist, it’s time to install them on the server. Ensure all relevant files are in the admin directory:
<SteamRoot>\steamapps\common\modern warfare 3\admin
1. Launch the dedicated server from the Steam->Tools Menu
http://sledgehammergames.com/assets/library/gallery/113/949_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/950_medium.jpg
2. Name your dedicated server
Type in console: sv_hostname <myHostName>
3. Set the map rotation on your server.
Type in console: sv_maprotation<myrotation.dspl>
4. Start the map rotation and go live!
Type in console: start_map_rotate
5. To password protect your server.
Type in console: set g_password <myPassword>
For port setting and other information please see
<SteamRoot>\steamapps\common\modern warfare 3\admin\server.cfg
http://sledgehammergames.com/assets/library/gallery/113/960_medium.jpg
Joining a Dedicated Server

1. To join a dedicated server you need to enable the server browser in the options menu.
Select: OPTIONS -> DEDICATED SERVER
http://sledgehammergames.com/assets/library/gallery/113/951_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/952_medium.jpg
http://sledgehammergames.com/assets/library/gallery/113/953_medium.jpg
2. Now SERVERS is available in the MULTIPLAYER menu.
Select: SERVERS
http://sledgehammergames.com/assets/library/gallery/113/954_medium.jpg
3. Find the server you’d like to join and hit Connect
http://sledgehammergames.com/assets/library/gallery/113/955_medium.jpg

From: SledgeHammer (http://sledgehammergames.com)