User Tools

Site Tools


generalguides:serversetup

Setting up a Dedicated Server

IMPORTANT

The MSP patch has removed functionality for non-dedicated server hosting. Running the AVP2serv.exe program is the only way to host a server while using the community MS patch


This guide will help you on your way to setting up your very own AVP2 game server! This guide works with both Windows and Linux distributions.

Windows

First, download and install the AVP2 game

When the full game installation has finished, head on over to the main AVP2 directory (The folder where you have specified the game to be installed: DEFAULT is 'C:\Program Files (x86)\Fox\Aliens vs. Predator 2\'

What you're going to want to do is have an idea of what kind of server(s) you want to host. It could be a DM server, a Survivor server etc.

With that in mind, go to the ServerData folder inside the AVP2 main directory. You will see a text document that goes by unnamed.txt. Open that with a text editor of your choosing.

Inside the text document you will see parameters for a potential server to be hosted.

You will see game mode tags with maps and server specific parameters specified. Venture to the game mode tag [GameMode] and edit the map list underneath, to what maps you want to be in circulation.

Remember: All worlds will be input in this manner:

Map## = "worlds\multi\Game_Mode\Map_Name"

The map numbers (Map01, Map02, etc.) should always be sequential from top to bottom. And the location should always be between to quotation marks

In regards to “MaxPlayers#'

0 = Aliens
1 = Marines
2 = Predators
4 = Corporates

DM, TeamDM, Survivor, Hunt game modes

WORLDS\MULTI\DM\DM_AIZIN
WORLDS\MULTI\DM\DM_ALesserFate
WORLDS\MULTI\DM\DM_ALLEY
WORLDS\MULTI\DM\DM_Auriga
WORLDS\MULTI\DM\DM_Bunker
WORLDS\MULTI\DM\DM_Colony
WORLDS\MULTI\DM\DM_COMPOUND
WORLDS\MULTI\DM\DM_Depot
WORLDS\MULTI\DM\DM_DROPZONE
WORLDS\MULTI\DM\DM_DRYDOCK
WORLDS\MULTI\DM\DM_FURY151
WORLDS\MULTI\DM\DM_HANGER
WORLDS\MULTI\DM\DM_Leadworks
WORLDS\MULTI\DM\DM_Lucifer'sFate
WORLDS\MULTI\DM\DM_Outpost4
WORLDS\MULTI\DM\DM_PREDATOR
WORLDS\MULTI\DM\DM_Quarantine
WORLDS\MULTI\DM\DM_Reservoir
WORLDS\MULTI\DM\DM_STORAGEYARD
WORLDS\MULTI\DM\DM_STRONGHOLD
WORLDS\MULTI\DM\DM_TEMPLE
WORLDS\MULTI\DM\DM_UVAJED
WORLDS\MULTI\DM\DM_Verloc
WORLDS\MULTI\DM\KORARICOMPOUND
WORLDS\MULTI\DM\TDS_DM_POD
WORLDS\MULTI\DM\WATERSTATION

EVAC Game Mode

Worlds\Multi\Evac\EVAC_ALLEY
Worlds\Multi\Evac\Evac_Auriga
Worlds\Multi\Evac\Evac_Colony
Worlds\Multi\Evac\EVAC_FURY151
Worlds\Multi\Evac\EVAC_GAUNTLET
Worlds\Multi\Evac\EVAC_HANGER
Worlds\Multi\Evac\EVAC_MORIA
Worlds\Multi\Evac\EVAC_NOSTROMO
Worlds\Multi\Evac\Evac_Verloc
Worlds\Multi\Evac\SUK-HADLEYSHOPE
WORLDS\MULTI\DM\SUK-STRONGHOLD_2

Overrun Game Mode

Worlds\Multi\Overrun\OVER_ALLEY
Worlds\Multi\Overrun\Over_Compound
Worlds\Multi\Overrun\Over_Leadworks
Worlds\Multi\Overrun\Over_Quarantine
Worlds\Multi\Overrun\OVER_STRONGHOLD

Giving your server a name, port assignment, and game mode

Near the bottom of unnamed.txt, you will see the [Settings] tag, and different parameters underneath

Edit these to your preference - (Meanings below picture)

0 = False , 1 = True

Dedicated - (1,0) Only 'Dedicated = 1' is supported at this time

PortID - Specifies the port the server will run on. More than 1 server running on the same network must use a separate port number. Picking a number between a range of 27880-27889 is a good rule of thumb. Port forward these ports in your firewalls for your server to be visible in the server list

Password = Specifies the password to be used for a locked server

LANConnection (0,1) = Specifies whether the server should remain only visible to your LAN or not. Leave at 0 for your server to be visible to the world.

Locked (0,1) = Locks your server.

ServerName = Your server name, obviously.

SCPassword = Server Control password. This is not used in the MS patch, The MS patch uses a community created Admin system

Bandwidth = Specifies the speed at which your server handles data from incoming player connections. It is advised to leave this at 10000000. Lower integers will make your server laggy.

GameType (1-8) = Specifies the game mode

1 = Deathmatch

2 = Team Deathmatch

3 = Hunt

4 = Survivor

5 = Overrun

6 = Evac

7 = Capture the Flag

8 = Domination


Further Fine Tuning of your server

The Preferences tag in your text file in the ServerData folder

LocationDamage (0,1) = Location based damage, if set at '0', any area of a player's body that is damaged will deal the same health drops.

UseNetNetcode (0,1) = Leave at 0.

Speed = Change at own risk.

DamageScale = Changes the overall damage dealt, this setting usually is left unchanged by all server admins, use at own risk.

Exosuit = Specify the number of Exosuits to exist in a map at the same time (Support is by a map-by-map basis)

RespawnSpeed = Change at own risk.

QueenMolt = Specifies the killstreak necessary for an alien player to molt into a queen

FriendlyFire (0,1) = Toggles Team-based friendly fire on or off

MaskLoss (0,1) = Toggles whether Predators can lose their mask during battle

FriendlyNames (0,1) = Toggles whether a player's name shows on the screen when pointed at them

ClassWeapons (0,1) = Toggles whether Marine/Corporate characters have their own weapon sets (Does not work with AllWeapons enabled)


MORE SERVER SETTINGS IN SERVERCONFIG.TXT

Open serverconfig.txt in the Main AVP2 Directory to enable/disable more features. They follow the same format as the preferences shown above (1 or 0 for true and false respectively) and the names are self explanatory,


Running the Server

In the main AVP2 directory, run AVP2Serv.exe. It will automatically load up your server configurations and run. If you have created more than one server config in the ServerData folder, it will ask you to choose which one.

Documentation for setting up Admin privileges and basic Admin commands are in readme_server.txt

generalguides/serversetup.txt · Last modified: 2019/01/02 16:23 by smith