summaryrefslogtreecommitdiff
path: root/ws2a/help.html
diff options
context:
space:
mode:
Diffstat (limited to 'ws2a/help.html')
-rw-r--r--ws2a/help.html80
1 files changed, 60 insertions, 20 deletions
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 @@
<div class="masthead">
<nav>
<ul class="nav nav-justified">
- <li><a href="s1">For Server Owners</a></li>
- <li><a href="s2">For Server Admins</a></li>
- <li><a href="s3">For Developers</a></li>
+ <li><a href="#s1">For Server Owners</a></li>
+ <li><a href="#s2">For Server Admins</a></li>
+ <li><a href="#s3">For Developers</a></li>
</ul>
</nav>
</div>
- <div id="#s1">
+ <div id="s1">
<h2>For Server Owners</h2>
+ <p>You can download Winter Survival 2 either useing git (recommended) by installing <a href="https://www.git-scm.com/">git</a> on your server, and executing
+ <p><pre>
+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/</pre>
+ <p>or by downloading <a href="http://cogarr.net/source/cgit.cgi/gearfox.git/">gearfox</a> and <a href="http://cogarr.net/source/cgit.cgi/wintersurvival2.git/"> Winter survival 2 </a> and dropping both into your /gamemode/ directory.
<p>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
- <p><pre><br/><code>gamemode wintersurvival2</code><br/></pre>
+ <p><pre>gamemode wintersurvival2</pre>
<p>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
<p>Admins must be added by adding the name/steamid to the garrysmod/settings/users.txt file like so
<pre>
- "admin"
- {
- "Apickx" "STEAM_0:0:13641699"
- }
+"admin"
+{
+ "Apickx" "STEAM_0:0:13641699"
+}
</pre>
</div>
- <div id="#s2">
+ <div id="s2">
<h2>For Server Admins</h2>
- This is a breif list of admin commands that can be used.
+ <h5>This is a breif list of admin commands that can be used.</h5>
<br/><code>mas_goto string_playername</code><br/>
- Teleports you to another player
+ Teleports you to another player<br/>
<br/><code>mas_sethp string_playername number_health</code><br/>
- Sets a player health
+ Sets a player health<br/>
<br/><code>mas_bring string_playername</code><br/>
- Teleports another player to you
+ Teleports another player to you<br/>
<br/><code>mas_god string_playername</code><br/>
- 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.<br/>
<br/><code>mas_ungod string_playername</code><br/>
- Disables godmode for a player
+ Disables godmode for a player<br/>
<br/><code>mas_bansteamid string_steamid number_time string_reason</code><br/>
- 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.<br/>
<br/><code>mas_unbansteamid string_steamid</code><br/>
- Unbans the given steamid.
+ Unbans the given steamid.<br/>
<br/><code>mas_printbannedplayers</code><br/>
- Prints all banned players to console
+ Prints all banned players to console<br/>
<br/><code>mas_banplayer string_playername</code><br/>
- 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 <code>status</code>
+ 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 <code>status</code><br/>
</pre></code><br/>
</div>
+ <div id="s3">
+ <h2>For Developers</h2>
+ <h5>Stuff about how to add to this gamemode</h5>
+ <h3>Items</h3>
+ <p>All items are located in gamemode/itemsystem/items, you can find an example item in base.lua
+ <h3>NPC's</h3>
+ <p>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
+ <h3>Utility</h3>
+ <p>In addition, there are some console commands made especially for developers<br/>
+ <br/><code>ws_cleanup</code><br/>
+ <p>Cleans up all the winter survival specific entities on the server<br/>
+ <br/><code>ws_giveitem string_playername string_itemname number_number</code><br/>
+ <p>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"<br/>
+ <br/><code>ws_startnavgen</code><br/>
+ <p>Starts generateing the navigation mesh used by nextbots. The <a href="https://developer.valvesoftware.com/wiki/Navigation_Meshes"> Valve Wiki</a> has more about editing nav meshes. You can double-check your nav mesh by useing <code>nav_edit 1</code> in single player. From my very breif experience, you don't really want your npcs:
+ <ul>
+ <li>Under water
+ <li>On top of mountains
+ <li>Thinking they can walk through rocks
+ <li>Thinking they can walk up steep clifs
+ </ul>
+ <br/><code>ws_revive string_playername</code><br/>
+ <p>Revies a player from pidgeon-ness<br/>
+ <br/><code>ws_proprain</code><br/>
+ <p>Manually generate the prop rain that falls at the beginning if each round<br/>
+ <br/><code>ws_reloaditems</code><br/>
+ <p>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.<br/>
+ <br/><code>ws_reloadnpcs</code><br/>
+ <p>Same as above, for npcs<br/>
+ <br/><code>ws_generaterecipes</code><br/>
+ <p>Generates a cheetsheet in HTML for you! the file is saved in garrysmod/data<br/>
+ <br/><code>ws_generaterecipes</code><br/>
+ <p>Generates a cheetsheet in HTML for you! the file is saved in garrysmod/data<br/>
+ </div>
<footer class="footer">
<p>Contact the admin at <a href="mailto:apickx@cogarr.org">Apickx@cogarr.org</a></p>