forked from andrewtheis/prophunt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
38 lines (21 loc) · 1.68 KB
/
README
File metadata and controls
38 lines (21 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
General Installation
Extract the zip to the following directory on your hard-drive:
<Steam-directory>/steamapps/<Username>/garrysmod/garrysmod/gamemodes/
Running a Listen Server
Browse to the below directory and edit the sh_config.lua file to your liking.
<Steam-directory>/steamapps/<Username>/garrysmod/garrysmod/gamemodes/prop_hunt/gamemode
Lastly, start up Garry’s Mod and click Create Multiplayer at the main menu. Select the map of your choice and then click the Options tab. Set the Default Gamemode option to prop-hunt. Set any other options you’d like and then click the Start Game button at the bottom.
Running a Dedicated Server
Browse to the below directory and edit the sh_config.lua file to your liking.
<Steam-directory>/steamapps/<Username>/garrysmod/garrysmod/gamemodes/prop_hunt/gamemode
Once your done, upload the entire prop-hunt folder to the following location on your server.
<SRCDS directory>/orangebox/garrysmod/gamemodes/
Next you’ll need to set the default gamemode to run when your server starts up. Browse to the following directory and open up the game.cfg file with NotePad.
<SRCDS directory>/orangebox/garrysmod/cfg/
Add the following console command to the cfg file:
sv_defaultgamemode "prop_hunt"
Alternatively, you can leave the default gamemode as sandbox and switch to Prop Hunt on the fly with this console command:
rcon changegamemode [map] prop_hunt
You can switch back to sandbox anytime with this command:
rcon changegamemode [map] sandbox
You’ll need to restart your server before the above commands/changes will work. Don’t forget to run “scriptenforce_createmanifest” and “sv_scriptenforcerenabled 1″ to prevent against Lua cheats/hacks.