Garry's Mod

Garry's Mod

Prophunters
Viledas 2016 年 1 月 8 日 上午 4:17
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 :-)
最后由 Viledas 编辑于; 2016 年 1 月 8 日 上午 4:18
< >
正在显示第 1 - 7 条,共 7 条留言
Mechanical Mind  [开发者] 2016 年 1 月 8 日 上午 5:35 
Put
ph_props_small_size 0 ph_dead_canroam 1
Either into your console, or in garrysmod/cfg/autoexec.cfg
Viledas 2016 年 1 月 8 日 上午 9:23 
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.
最后由 Viledas 编辑于; 2016 年 1 月 8 日 上午 9:51
Viledas 2016 年 1 月 23 日 上午 8:42 
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 2016 年 2 月 8 日 下午 12:06 
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" } } }
最后由 Viledas 编辑于; 2016 年 2 月 8 日 下午 1:57
Viledas 2016 年 2 月 8 日 下午 2:34 
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" } } }
最后由 Viledas 编辑于; 2016 年 2 月 8 日 下午 2:35
TaiXiong 2016 年 2 月 14 日 上午 6:25 
can change round time?
Viledas 2016 年 2 月 14 日 下午 12:50 
Not yet, as far as I can tell. There is no convar for that :)
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50