Server Hosting
Host
For hosts the game setup is very similar as before.
Go to the table in the Captain's quarters. Interact with the map on the table to open the Expedition user interface. Select the map and custom game settings that you want to advertise your lobby with. Optionally, you can deselect the Public check box to make your lobby private.
Wait for players to join your lobby.
When players have customised their cosmetics and or thrall spells, start the boiler.
Sail the ship out of the harbour.
The connect to IP user interface will appear. Enter the IP of the server that everyone in the lobby will connect to. The port number 7777 will be set automatically if you do not enter a port number in.
Client
For clients the game setup is the same as before.
Find lobby that you wish to join, or join your friend's lobby by using the Steam overlay.
Customise cosmetics and or thrall spells.
Board the ship and wait for the host to sail the ship out.
Server
There are two new folders in the Dread Hunger installed files directory. You can open this folder by right clicking on Dread Hunger > Properties > Installed Files > Browse....
One is called LinuxServer and the other is called WindowsServer. Only one needs to be run in order to setup a Dread Hunger server.
Linux
The LinuxServer will run within Windows using Ubuntu on WSL2 (https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-10#1-overview). You can of course run this on Linux itself which is a common OS to choose for many virtual private servers, cloud servers or bare metal dedicated servers. From here you should create shell scripts to make it easy to start a Dread Hunger server.
Windows
The WindowsServer will run within Windows. You may need to install some required libraries. These can be installed easily by running UE4PrereqSetup_x64 found in the Engine > Extras > Redist > en-us folder. From here you should create shortcuts to make it easy to start a Dread Hunger server. It is recommended to add "-log" to the command line parameters so that the console window appears.
Setup
The Dread Hunger server is setup through command line parameters.
The three maps are labelled:
Approach_Persistent
Departure_Persistent
Expanse_Persistent
The custom server settings are labelled:
daysbeforeblizzard (range: 2 - 7, default: 3)
dayminutes (range: 5 - 16, default: 9)
predatordamage (range: 0.25 - 3, default: 1)
coldintensity (range: 0.25 - 3, default: 1)
hungerrate (range: 0.25 - 3, default: 1)
coalburnrate (range: 0.1 - 2, default: 1)
thralls (range: 0 - 8, default: 0.25)
To customise the war ship, the easiest method to do this is to customise your warship by running the game and interacting with the warship customisation user interface. Exit the game. Open the Dread Hunger Saved folder. To do this, open the Run menu by pressing Windows + R. Run "%appdata%". This will open the application roaming data folder. Go to AppData > Local > DreadHunger. Copy the Saved folder into the DreadHunger folder within the LinuxServer / WindowsServer folder.
Examples
Linux
To setup a shell script to run the Expanse with only one day before the blizzard, the shell script would look like:
#!/bin/sh
UE4_TRUE_SCRIPT_NAME=$(echo \"$0\" | xargs readlink -f)
UE4_PROJECT_ROOT=$(dirname "$UE4_TRUE_SCRIPT_NAME")
chmod +x "$UE4_PROJECT_ROOT/DreadHunger/Binaries/Linux/DreadHungerServer-Linux-Shipping"
"$UE4_PROJECT_ROOT/DreadHunger/Binaries/Linux/DreadHungerServer-Linux-Shipping" DreadHunger Expanse_Persistent -daysbeforeblizzard=1 "$@"
Windows
To setup a shortcut to run the Expanse with only one day before the blizzard, the shortcut target would contain:
"E:\SteamLibrary\steamapps\common\Dread Hunger\WindowsServer\DreadHungerServer.exe" Expanse_Persistent -daysbeforeblizzard=1 -log
Ideally, your server should have the parameters that you've advertised your lobby with.
Firewalls, NAT punching etc have to be handled by you.
You can also play this on LAN by using the servers LAN IP address.
Host
For hosts the game setup is very similar as before.
Go to the table in the Captain's quarters. Interact with the map on the table to open the Expedition user interface. Select the map and custom game settings that you want to advertise your lobby with. Optionally, you can deselect the Public check box to make your lobby private.
Wait for players to join your lobby.
When players have customised their cosmetics and or thrall spells, start the boiler.
Sail the ship out of the harbour.
The connect to IP user interface will appear. Enter the IP of the server that everyone in the lobby will connect to. The port number 7777 will be set automatically if you do not enter a port number in.
Client
For clients the game setup is the same as before.
Find lobby that you wish to join, or join your friend's lobby by using the Steam overlay.
Customise cosmetics and or thrall spells.
Board the ship and wait for the host to sail the ship out.
Server
There are two new folders in the Dread Hunger installed files directory. You can open this folder by right clicking on Dread Hunger > Properties > Installed Files > Browse....
One is called LinuxServer and the other is called WindowsServer. Only one needs to be run in order to setup a Dread Hunger server.
Linux
The LinuxServer will run within Windows using Ubuntu on WSL2 (https://ubuntu.com/tutorials/install-ubuntu-on-wsl2-on-windows-10#1-overview). You can of course run this on Linux itself which is a common OS to choose for many virtual private servers, cloud servers or bare metal dedicated servers. From here you should create shell scripts to make it easy to start a Dread Hunger server.
Windows
The WindowsServer will run within Windows. You may need to install some required libraries. These can be installed easily by running UE4PrereqSetup_x64 found in the Engine > Extras > Redist > en-us folder. From here you should create shortcuts to make it easy to start a Dread Hunger server. It is recommended to add "-log" to the command line parameters so that the console window appears.
Setup
The Dread Hunger server is setup through command line parameters.
The three maps are labelled:
Approach_Persistent
Departure_Persistent
Expanse_Persistent
The custom server settings are labelled:
daysbeforeblizzard (range: 2 - 7, default: 3)
dayminutes (range: 5 - 16, default: 9)
predatordamage (range: 0.25 - 3, default: 1)
coldintensity (range: 0.25 - 3, default: 1)
hungerrate (range: 0.25 - 3, default: 1)
coalburnrate (range: 0.1 - 2, default: 1)
thralls (range: 0 - 8, default: 0.25)
To customise the war ship, the easiest method to do this is to customise your warship by running the game and interacting with the warship customisation user interface. Exit the game. Open the Dread Hunger Saved folder. To do this, open the Run menu by pressing Windows + R. Run "%appdata%". This will open the application roaming data folder. Go to AppData > Local > DreadHunger. Copy the Saved folder into the DreadHunger folder within the LinuxServer / WindowsServer folder.
Examples
Linux
To setup a shell script to run the Expanse with only one day before the blizzard, the shell script would look like:
#!/bin/sh
UE4_TRUE_SCRIPT_NAME=$(echo \"$0\" | xargs readlink -f)
UE4_PROJECT_ROOT=$(dirname "$UE4_TRUE_SCRIPT_NAME")
chmod +x "$UE4_PROJECT_ROOT/DreadHunger/Binaries/Linux/DreadHungerServer-Linux-Shipping"
"$UE4_PROJECT_ROOT/DreadHunger/Binaries/Linux/DreadHungerServer-Linux-Shipping" DreadHunger Expanse_Persistent -daysbeforeblizzard=1 "$@"
Windows
To setup a shortcut to run the Expanse with only one day before the blizzard, the shortcut target would contain:
"E:\SteamLibrary\steamapps\common\Dread Hunger\WindowsServer\DreadHungerServer.exe" Expanse_Persistent -daysbeforeblizzard=1 -log
Ideally, your server should have the parameters that you've advertised your lobby with.
Firewalls, NAT punching etc have to be handled by you.
You can also play this on LAN by using the servers LAN IP address.