From 584e5ba8e4546bf10bde27842dd98c3db9677335 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 30 May 2016 01:56:31 -0400 Subject: Updated help pages --- ws2a/help.html | 80 +++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 60 insertions(+), 20 deletions(-) (limited to 'ws2a/help.html') diff --git a/ws2a/help.html b/ws2a/help.html index 33accca..a05c466 100644 --- a/ws2a/help.html +++ b/ws2a/help.html @@ -41,52 +41,92 @@
-
+

For Server Owners

+

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
+

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"
-        }
+"admin"
+{
+  "Apickx"                                "STEAM_0:0:13641699"
+}
         
-
+

For Server Admins

- This is a breif list of admin commands that can be used. +
This is a breif list of admin commands that can be used.

mas_goto string_playername
- Teleports you to another player + Teleports you to another player

mas_sethp string_playername number_health
- Sets a player health + Sets a player health

mas_bring string_playername
- Teleports another player to you + Teleports another player to you

mas_god string_playername
- Enables godmode for a player, they will not take dammage, and cannot die. + Enables godmode for a player, they will not take dammage, and cannot die.

mas_ungod string_playername
- Disables godmode for a player + Disables godmode for a player

mas_bansteamid string_steamid number_time string_reason
- Bans a player for an ammount of time. If the time is 0, this will ban the player permenently. When the player tries to join, they will get a popup with "You are banned:string_reason" on their screen. + Bans a player for an ammount of time. If the time is 0, this will ban the player permenently. When the player tries to join, they will get a popup with "You are banned:string_reason" on their screen.

mas_unbansteamid string_steamid
- Unbans the given steamid. + Unbans the given steamid.

mas_printbannedplayers
- Prints all banned players to console + Prints all banned players to console

mas_banplayer string_playername
- Bans a player with the given playername. Translates the player's name to their steamid. If a player has a name changer, use mas_bansteamid instead. You can find a player's steamid with status + Bans a player with the given playername. Translates the player's name to their steamid. If a player has a name changer, use mas_bansteamid instead. You can find a player's steamid with status

+
+

For Developers

+
Stuff about how to add to this gamemode
+

Items

+

All items are located in gamemode/itemsystem/items, you can find an example item in base.lua +

NPC's

+

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 +

Utility

+

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: +

    +
  • Under water +
  • On top of mountains +
  • Thinking they can walk through rocks +
  • Thinking they can walk up steep clifs +
+
ws_revive string_playername
+

Revies 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
+