Killing Floor 2, btw. I just started playing Killing Floor today. I can't invite my friend (he doesn't even show up on my friend's list in the game) to a party, nor can he invite me. We had to resort to playing together by both searching for a server and joining it at the same time. Does anyone know why this might be? Killing Floor 2 is now available on Epic Games Store in addition to Steam with Cross-Play and Cross Friend Invites available for unmodded ranked servers. Epic Online Services (EOS) integrated into dedicated server framework to enable future Cross-Play capability between Steam and EGS players on stock unmodded servers. KILLING FLOOR 2 Digital Deluxe Edition adds the following to the base Killing Floor 2 game:DJ Scully character, with unique voice pack and set of face/body skinsAdditional cosmetic items (each with multiple selectable variants):“Scullyphones” headphones for DJ Scully, Mr Foster, Hayato Tanaka and Donovan Neal3D Glasses for Ana Larive.
Creating Dedicated Server (Killing Floor 2)
KILLING FLOOR 2 ramps up the gore with a proprietary, high powered persistent blood system bringing new levels of fidelity to the genre. A multitude of varied playable characters await for players to choose from as they enter the fray in online co-op mode or solo mode for those willing to brave the horrific specimens alone. Updates, events, and news from the developers of Killing Floor 2.
Follow the official SteamCMD documentation on downloading SteamCMD for your given patform (Win/Linux/macOS).
Follow the official SteamCMD documentation on running SteamCMD for your given platform (Win/Linux/macOS).
You will know you have successfully run SteamCMD when it is updated and your command line changes to a prompt like:
Before downloading the Killing Floor 2 server you need to login to the SteamCMD tool. To download the Killing Floor 2 server you do not need to be logged into a Steam account that owns Killing Floor 2.It is recommended that you login anonymously! You can still login with your real Steam account but be careful to only enter your Steam credentials into a machine that you trust.
You should see something like the following:
You're done and ready to download the Killing Floor 2 Server!
Where 'branch name' is the current beta branch. Currently there is not a live dedicated server beta branch.
There are two ways to automate SteamCmd.
Use the batch file downloaded with the server or create your own. To launch a server with default settings on Survival Biotics Lab use the following batch script:
For Linux Dedicated Servers the included bat file will not work as it is for the windows distribution. Instead run the following:
Currently the server has several dependencies. As such we have shipped the UE3Redist.exe with the server files and it can be found in the 'BinariesRedist' sub folder of where you have installed the server from SteamCMD.
By default the server will use the following ports:
Port | Default | Protocol | What this option controls |
---|---|---|---|
Game Port | 7777 | UDP | This is the main port the game will send connections over |
Query Port | 27015 | UDP | This port is used to communicate with the Steam Master Server |
Web Admin | 8080 | TCP | This port is used to connect to your servers web admin page (if turned on) |
Steam Port | 20560 | UDP | |
NTP Port | 123 | UDP | Weekly Outbreak Only - Internet time lookup to determine correct Outbreak |
By default the game will launch into the Survival coop game mode which is a 6 player game mode.
Admins can have the server launch into Versus Survival competitive game mode (an up to 12 player game mode) by using the following launch script:
To make this change in webadmin admins just need to select the game mode 'VersusSurvival' from the Change Map tab.
Support maps for Versus Survival at this time are:
Admins can also launch the server into the Weekly Outbreaks coop game mode (also a 6 player game mode) by using the following launch script:
To make this change in webadmin admins just need to select the game mode 'Weekly' from the Change Map tab.
Admins can also launch the server into the Endless game mode (also a 6 player game mode) by using the following launch script:
To make this change in webadmin admins just need to select the game mode 'Endless' from the Change Map tab.
Configuring your new Killing Floor 2 server will be very similar to those who have set up any Unreal Engine 3 server (such as UT 3). However to those who are from other engines such as IdTech and Source there are many differences, which we'll cover here. Those who are also looking for specific sever config settings will likely find what they are looking for below.
Please note: You will need to launch your server once for it to generate config files (based of the default config files that come with the install. It is strongly recommended you do NOT ever edit one of the default config files).
You can use several command line launch options to help quickly launch a server. These include url arguments attached to the command line itself (example ...bioticslab?optionhere=x?option2here=x) as well as switches which are included after the main line (example ...bioticslab -switchhere -switch2here)
Url Arguments | Valid Entries | What this option controls |
---|---|---|
AdminName= | Alpha numeric character combinations. Example: Admin | This is the admin username for WebAdmin if you're configuring WebAdmin via Commandline |
AdminPassword= | Alpha numeric character combinations. Example: Abd32Sdn53 | This is the master server administrator password |
MaxPlayers= | Alpha numeric character combinations. Example: 6 | This is how many maximum players the server is set to support |
Difficulty= | Numeric characters 0-3 | This sets the server difficulty. 0 = Normal, 1 = Hard, 2 = Suicidal, 3 = Hell on Earth |
Switches | Valid Entries | What this option controls |
---|---|---|
Port= | Alpha numeric character combinations. Example: 7787 | This is the game port. Changing this without changing the query port will automatically change the query port as well (up/down the same number from the default game port) |
QueryPort= | Alpha numeric character combinations. Example: 27015 | This is the query port. Changing this will change the port the server uses to communicate with Steam. Default is 27015. Change this in your launch will make it different from the automatic change that happens if you change the default port. |
WebAdminPort= | Alpha numeric character combinations. Example: 8080 | This is the web admin port. Changing this will change the port used to connect to the servers webadmin panel if that functionality is turned on. This switch is still in Beta, use at your own risk. |
Multihome= | An IP that can resolve to the server machine. Example: 192.168.0.1 | If a server machine can resolve to multiple IP's, this command can tie a server to a specific IP on that machine. |
PREFERREDPROCESSOR= | Numeric characters. Example: 2 | This will tie a server process to a single core/thread on the hosting machine. |
ConfigSubDir= | Alpha numeric character combinations. Example: KF2Server-Normal-Long1 | Creates and reads settings from a sub directory under ./KFGame/Config which allows you to configure .INI settings on a per server basis. |
The PCServer-KFGame.ini file can be found under KFGameConfig
This file controls all the various game elements that can be configured by admins in Killing Floor2. From game modes to spectating options and more, 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 PCServer-KFGame.ini settings admins will want to change first:
Option Name | Valid Entries | What this option controls |
---|---|---|
AdminPassword | Alpha numeric character combinations. Example: Abd32Sdn53 | This is the master server administrator password |
GamePassword | Alpha numeric character combinations. Example: cl4ng4m3 | This sets a password players will need to enter to join the server |
Option Name | Valid Entries | What this option controls |
---|---|---|
ServerName | Alpha numeric character combinations. Example: Yoshi's House of 32 Compressed Pancakes | This is the displayed server name to all players in the server and the server browser |
AdminContact | Alpha numeric character combinations. Example: testemail@testemail.com | This is the displayed admin contact in the server browser |
Maps can be set to run by gametype and amount of rounds played. The following is an example map list that can be put in your PCServer-KFGame.ini:
Game Map Cycle |
---|
GameMapCycles=(Maps=('KF-BurningParis','KF-Bioticslab','KF-Outpost','KF-VolterManor','KF-Catacombs','KF-EvacuationPoint')) |
The first part specifies the exact maps and their game types.
The Engine.ini is where most port related changes can be made to a server, including the game port and query port.
To enable webadmin:Open KFWeb.ini. In the [IpDrv.WebServer] section set
By default webadmin will listen on port 8080 on the IP of the game server using, but you'll want to customize this port for multiple servers on the same IP. To change this, open KFweb.ini and modify the following line:
Admins will now be able to log into their servers web admin panel. They can do by either connecting via a local address (if the server is local) or web address (the servers IP) followed by the port. They can use any of their favorite modern internet browsers such as Chrome, Firefox, and IE. An example of what to put in the address bar of the browser is:
They will be presented with a login screen. The default user is: Admin. The password will be whatever was set as the admin pass in PCServer-KFGame.ini. If no admin pass was set, the admin will not be able to log in.
Open KFWebAdmin.ini and add the following under [WebAdmin.WebAdmin]:
Start the server once to generate a new MultiAdmin.ini. Now you can either add new admin names and passwords from within the Web Admin itself, or you can add them manually in the file. To do so add the following information for each admin under [Admin MultiAdminData] in MultiAdmin.ini
Go to Web Admin to find out more details on how to use the system.
Configuring the server to download files from Workshop:
Example [OnlineSubsystemSteamworks.KFWorkshopSteamworks] section (These ID's are for Grindhouse Contest Maps):
Make clients download the Workshop item from Steam when connecting to the server:
This will only work for Workshop items that the server downloads itself, that are listed in the [OnlineSubsystemSteamworks.KFWorkshopSteamworks] section as described above.
Steam Workshop map location in server and map names
Start the server and wait it to download Steam Workshop maps you added earlier. This can take several minutes. After server has downloaded all the maps stop the server and make sure that it is not running.
Navigate into server install location and go into folder KFGameCacheXXX0BrewedPC where XXX is one of the ServerSubscribedWorkshopItems you added earlier. For example (KF-BikiniAtoll):
Copy paste the map file name (excluding the .kfm extension).
See #Maps and #Get Custom Maps To Show In Web Admin where you can paste it.
Known issue on Linux servers:
Linux servers currently do not create the proper cache folder, you must create it inside your server install directory:
To enable redirect for third party custom maps to be able to run on their server, admins needs to install the 'cooked server' files in their 'KFGameBrewedPC' directory on the dedicated server.
Now unless users already have the cooked client map files installed manually or previously downloaded in their clients cache, the server will need to be set up to redirect clients without the map to download it from a redirect server. To enable this, the admin must open the PCServer-KFEngine.ini file and add a new section near the bottom of the file. The section is called [IpDrv.HTTPDownload] and should look like this:
Where the RedirectToURL is a web location that is a repository of the client map files. The example above is the location of Tripwire's public redirect server which will host several near complete and complete custom maps. The client map file must be named as a .kfm file.
For Windows Server users if you use IIS for the redirect please make sure to go to Server Manager and check that you have Anonymous Authentication or Basic Authentication enabled. Next be sure that the File Extension .kfm is added to the list in MIME Types. You will see two fields when you add a new MIME Type, File name extension and MIME type. Here is an example on how it should look
http://i.imgur.com/hGsJuId.png (Can't find out how to embed the image so here is the link)
To get custom maps to show up in the change level section of web admin, admins will need to add a data store for the game in PCServer-KFGame.ini. A data store looks like the following example:
Please note the use of lowercase in the map name and read the Known Issues to Avoid section for more information on the topic. This holds true for the mapcycle as well.
As a redirect server can be a Linux machine, it is very important admins have the closing forward slash in the URL as well as spell all map names in lowercase. Failure to do so will result in a broken redirect and clients will only obtain a 1kb file of the proper name but not the actual files. Also take care when adding the map data store to the PCServer-KFGame.ini to use lowercase as well as the server will use those file names over any typed in as an admin.
When a server goes from a custom map to a custom map, clients will download the second custom map, however there is a bug where the client will just see the 'connecting' screen without any updated information about downloading the custom map until it is downloaded and begins to load.
A redirect server needs fast speeds and as much bandwidth as possible, but little else.
A server should not have more than 519 maps in rotation or it will cause the server to break
Find this part and edit it, here is the default one
Code:
Server Takeover is a feature that allows players who are matchmaking and choosing to start their own private game to 'grab' a server that has not opted out for them to use during their play time. This will change the settings on the server to those that the players want and make it private. However it will not expose any of the private information about that server (such as admin passwords) to them. At the end of their stay in the server, the server will open back up again and await new players or another takeover request.
To remove your server from the take over list you can use this line in the PCServer-KFEngine.ini: