Garry's Mod

Garry's Mod

Prophunters
Viledas 8 Jan, 2016 @ 4:17am
Where to add convars + Camera distance when prop
This may be a stupid question, but I can't seem to find where/how I have to add the convars. I wanted to change

ph_props_small_size = 0
ph_dead_canroam = true

so that the props movement speed stays the same, even when he is a small prop and so that you can roam when you are dead. Any help is greatly appreciated.

And while we're in the business of asking questions: Will there be an update where a convar for camera distance is added when you are a prop? I (and the people I play with) don't like the zoomed in view all that much.

Btw, big fan of this gamemode, keep up the good work :-)
Last edited by Viledas; 8 Jan, 2016 @ 4:18am
< >
Showing 1-7 of 7 comments
Mechanical Mind  [developer] 8 Jan, 2016 @ 5:35am 
Put
ph_props_small_size 0 ph_dead_canroam 1
Either into your console, or in garrysmod/cfg/autoexec.cfg
Viledas 8 Jan, 2016 @ 9:23am 
Thanks for the quick reply! If I enter it in the console, it works, but if I place it in garrysmod/cfg/autoexec.cfg, it doesn't seem to work. Any ideas on what I might be doing wrong?

EDIT: maybe it's worth mentioning that I just run gmod as a LAN game over a router. So GMod runs the autoexec.cfg when I start up GMod and not when I run prophunters and launch my local game.
Last edited by Viledas; 8 Jan, 2016 @ 9:51am
Viledas 23 Jan, 2016 @ 8:42am 
Any ideas on how I can solve the problem without having an actual real server set up? :) Where should I place these convars so it executes when my gamemode starts and not when I start GMod?
Viledas 8 Feb, 2016 @ 12:06pm 
I managed to solve the problem. You have to create a file called "prophunters" in "garrysmod/gamemodes/prophunters" named "prophunters.txt". When you have done that, you have to paste the below code. You can change any convar before launching the game in the settings. Maybe you could add this to a next release, @Mechanical Mind? I think this would help a few players who have the same problem :)

"Prophunters" { "base" "base" "title" "Prophunters" "maps" "^ph_" "menusystem" "1" "version" "1.3" "settings" { 1 { "name" "ph_props_small_size" "text" "Prop speed size" "help" "The size a prop should have before slowing it down (set to 0 to disable)." "type" "Numeric" "default" "0" } 2 { "name" "ph_props_jumppower" "text" "Prop jump power" "help" "The height a prop can jump." "type" "Numeric" "default" "1.5" } 3 { "name" "ph_dead_canroam" "text" "Dead can roam?" "help" "Allow dead players to fly through the map." "type" "Numeric" "default" "1" } } }
Last edited by Viledas; 8 Feb, 2016 @ 1:57pm
Viledas 8 Feb, 2016 @ 2:34pm 
So I did the work for you, Mechanical Mind. All you'd have to do is paste it in the prophunters description file. You can find everything below (with the default values).

"Gamemode" { "base" "base" "title" "Prophunters" "maps" "^ph_" "menusystem" "1" "version" "1.3" "settings" { 1 { "name" "ph_dead_canroam" "text" "Dead can roam?" "help" "Allow dead players to fly through the map." "type" "CheckBox" "default" "0" } 2 { "name" "ph_props_onwinstayprops" "text" "Props stay on win?" "help" "If the props win, they stay on the props team" "type" "CheckBox" "default" "0" } 3 { "name" "ph_voice_hearotherteam" "text" "Other team voice enabled?" "help" "Can we hear the voices of opposing teams" "type" "CheckBox" "default" "0" } 4 { "name" "ph_voice_heardead" "text" "Dead voice enabled?" "help" "Can we hear the voices of dead players and spectators" "type" "CheckBox" "default" "1" } 5 { "name" "ph_roundlimit" "text" "Round limit" "help" "Number of rounds before mapvote" "type" "Numeric" "default" "10" } 6 { "name" "ph_mapstartwait" "text" "Seconds before map starts" "help" "Number of seconds to wait for players on map start before starting round" "type" "Numeric" "default" "30" } 7 { "name" "ph_hunter_dmgpenalty" "text" "Hunter damage penalty" "help" "Amount of damage a hunter should take for shooting an incorrect prop" "type" "Numeric" "default" "3" } 8 { "name" "ph_hunter_smggrenades" "text" "Hunter smg grenades" "help" "Amount of SMG grenades hunters should spawn with" "type" "Numeric" "default" "1" } 9 { "name" "ph_props_small_size" "text" "Prop size speed penalty" "help" "Size that speed penalty for small size starts to apply (0 to disable)" "type" "Numeric" "default" "200" } 10 { "name" "ph_props_jumppower" "text" "Prop jump power" "help" "Jump power bonus for when props are disguised" "type" "Numeric" "default" "1.2" } } }
Last edited by Viledas; 8 Feb, 2016 @ 2:35pm
TaiXiong 14 Feb, 2016 @ 6:25am 
can change round time?
Viledas 14 Feb, 2016 @ 12:50pm 
Not yet, as far as I can tell. There is no convar for that :)
< >
Showing 1-7 of 7 comments
Per page: 1530 50