You can download Winter Survival 2 either useing git (recommended) by installing git on your server, and executing
cd C:/path/to/server git clone https://cogarr.net/source/cgit.cgi/wintersurvival2.git git clone https://cogarr.net/source/cgit.cgi/gearfox.git/
or by downloading gearfox and Winter survival 2 and dropping both into your /gamemode/ directory.
To intall, simply drop the wintersurvival2 folder into the /gamemodes/ folder of your server, located at /garrysmod/gamemodes/. Then, add the folowing line to /garrysmod/cfg/server.cfg
gamemode wintersurvival2
The gamemode should be able to use admin mods like ULX, but they haven't been tested. In addition, Winter Survival 2 - Anarchy comes with it's own admin system, see "For Server Admins" below
Admins must be added by adding the name/steamid to the garrysmod/settings/users.txt file like so
"admin"
{
"Apickx" "STEAM_0:0:13641699"
}
mas_goto string_playernamemas_sethp string_playername number_healthmas_bring string_playernamemas_god string_playernamemas_ungod string_playernamemas_bansteamid string_steamid number_time string_reasonmas_unbansteamid string_steamidmas_printbannedplayersmas_banplayer string_playernamestatusAll items are located in gamemode/itemsystem/items, you can find an example item in base.lua
If garry ever stops fucking around with the nextbot bindings, some npcs are in gamemode/npcsystem/npcs, again a base npc is located in base.lua
In addition, there are some console commands made especially for developers
ws_cleanup
Cleans up all the winter survival specific entities on the server
ws_giveitem string_playername string_itemname number_number
Gives a certain ammount of items to a player. If the item name has a space in it, you should encapsulate it in quotes "Crystal Hammer"
ws_startnavgen
Starts generateing the navigation mesh used by nextbots. The Valve Wiki has more about editing nav meshes. You can double-check your nav mesh by useing nav_edit 1 in single player. From my very breif experience, you don't really want your npcs:
ws_revive string_playernameRevies a player from pidgeon-ness
ws_proprain
Manually generate the prop rain that falls at the beginning if each round
ws_reloaditems
Because of how items are loaded in Winter Survival 2, code dosen't reload how you expected to when you edit a file and save it. Use this command to reload so you don't have to restart the server.
ws_reloadnpcs
Same as above, for npcs
ws_generaterecipes
Generates a cheetsheet in HTML for you! the file is saved in garrysmod/data
ws_generaterecipes
Generates a cheetsheet in HTML for you! the file is saved in garrysmod/data