Difference between revisions of "Unturned"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
m
m (LAN Server via SteamCMD)
Line 30: Line 30:
  
 
==LAN Server via SteamCMD==
 
==LAN Server via SteamCMD==
 +
===installation===
 +
install SteamCMD (if you dont already have it) - Ubuntu/Mint
 +
sudo apt install steamcmd
 +
sudo add-apt-repository multiverse
 +
sudo dpkg --add-architecture i386
 +
sudo apt update
 +
sudo apt-get install lib32gcc1
 +
 +
Microsoft Windows Users try:
 +
* [https://linuxmint.com/download.php Best Option for Windows 10 Users].
 +
 
Once installed, start your server from the command prompt like this:
 
Once installed, start your server from the command prompt like this:
 
  ./ServerHelper.sh +LanServer/MyServer
 
  ./ServerHelper.sh +LanServer/MyServer
Line 47: Line 58:
 
  ls ~/.local/share/Steam/steamapps/workshop/content/304930
 
  ls ~/.local/share/Steam/steamapps/workshop/content/304930
  
===installation===
+
=== Creating a Server using a New Map (New Server New Map) ===  
install SteamCMD (if you dont already have it) - Ubuntu/Mint
+
With SteamCMD and Unturned both installed, the next step is to setup and configure the server with a map of your choice.
sudo apt install steamcmd
+
sudo add-apt-repository multiverse
+
sudo dpkg --add-architecture i386
+
sudo apt update
+
sudo apt-get install lib32gcc1
+
 
+
Microsoft Windows Users try:
+
* [https://linuxmint.com/download.php Best Option for Windows 10 Users].
+
  
 +
Consider a name for your new server.  It is a good idea to incorporate the name of the map into your server name to aide in your organization if you eventually have multiple servers.  For this example we will use the Hawaii map.
  
 +
You must start the server once, then terminate it, to allow the binary to create all of the necessary configuration files.
 +
  cd ~/.local/share/Steam/steamapps/common/U3DS
 +
./ServerHelper.sh +LanServer/HawaiiLuau
 +
When finished loading you should see the last line in console look something like this:
 +
Total: 132.052000 ms (FindLiveObjects: 3.179000 ms CreateObjectMapping: 1.160000 ms MarkObjects: 126.958000 ms  DeleteObjects: 0.754000 ms)
 +
Now shut it down by issuing the 'shutdown' command in the server console.  you wont see the first letter of shutdown so it will actually look like you typed 'hutdown'
 +
shutdown
 +
Create the mail configuration file which specifies among other things, the map you will be using
 +
vi Servers/HawaiiLuau/
  
 
[[Category:Computer_Technology]]
 
[[Category:Computer_Technology]]
 
[[Category:Software]]
 
[[Category:Software]]

Revision as of 09:40, 17 October 2020

Unturned is a 2014 Survival Sandbox game by Nelson Sexton, founder of Smartly Dressed Games.. A combination of a Wide Open Sandbox and Survival Horror game. You're dumped completely naked into a Zombie Apocalypse and have to find a way to survive. You can scavenge supplies from the abandoned towns and facilities or take to the wilderness to build a new settlement and grow your own food.

Unturned Commands

Open the chat box to enter an Unturned command. To use the command, start with the character "@" or "/" before your command.

Unturned Loadout Command

Give players each item when spawning. Using SkillsetID of 255 gives the item set to everyone. Can only be used in the server console or the servers commands.dat file.

The syntax:

/loadout [Skillset ID] [Item IDs]

Argument information and help:

  • Skillset ID - The skillset ID of the skillset you wish to set the loadout for - use 255 to set the loadout for all players/skillsets
  • Item IDs - A slash-separated list of item IDs you wish to set the loadout to - e.g. 2/3/4

The following loadouts can be use to replicate the default single-player ones.

loadout 0/180/214
loadout 1/233/234/241
loadout 2/223/224/225
loadout 3/1171/1172
loadout 4/242/243/244
loadout 5/509/511/510
loadout 6/211/213
loadout 7/232/2/240
loadout 8/230/231/239
loadout 9/1156/1157
loadout 10/311/312

A good loadout for beginner players in Normal difficulty game maps.

loadout 255/2/15/81/104/121/138/253/334/1175

LAN Server via SteamCMD

installation

install SteamCMD (if you dont already have it) - Ubuntu/Mint

sudo apt install steamcmd
sudo add-apt-repository multiverse
sudo dpkg --add-architecture i386
sudo apt update
sudo apt-get install lib32gcc1

Microsoft Windows Users try:

Once installed, start your server from the command prompt like this:

./ServerHelper.sh +LanServer/MyServer

The full path to the ServerHelper.sh script for Unturned is...

~/.local/share/Steam/steamapps/common/Unturned/ServerHelper.sh
~/.local/share/Steam/steamapps/common/U3DS/ServerHelper.sh

note: Not sure what the difference is in the script at each location above.

The configuration file for your server with the default parameters including difficulty level, map, etc, is stored in a file called Commands.dat

vi ~/.local/share/Steam/steamapps/common/U3DS/Servers/MyServer/Server/Commands.dat

Replace the text "MyServer" with the name of your server. The default name is actually MyServer, yours will be named that unless you specified otherwise.

Configuration file for additional parameters

vi ~/.local/share/Steam/steamapps/common/U3DS/Servers/MyServer/Config.json

Workshop Mods

ls ~/.local/share/Steam/steamapps/workshop/content/304930

Creating a Server using a New Map (New Server New Map)

With SteamCMD and Unturned both installed, the next step is to setup and configure the server with a map of your choice.

Consider a name for your new server. It is a good idea to incorporate the name of the map into your server name to aide in your organization if you eventually have multiple servers. For this example we will use the Hawaii map.

You must start the server once, then terminate it, to allow the binary to create all of the necessary configuration files.

 cd ~/.local/share/Steam/steamapps/common/U3DS
./ServerHelper.sh +LanServer/HawaiiLuau

When finished loading you should see the last line in console look something like this:

Total: 132.052000 ms (FindLiveObjects: 3.179000 ms CreateObjectMapping: 1.160000 ms MarkObjects: 126.958000 ms  DeleteObjects: 0.754000 ms)

Now shut it down by issuing the 'shutdown' command in the server console. you wont see the first letter of shutdown so it will actually look like you typed 'hutdown'

shutdown

Create the mail configuration file which specifies among other things, the map you will be using

vi Servers/HawaiiLuau/