Garry's Mod

Garry's Mod

Simple Energy Shield V2
Fenekku Kitsune 2016 年 9 月 28 日 下午 7:04
[Suggestion] Saving/Loading
Hello! Like I said in the bug report, I recently downloaded this mod. I noticed, however, that I have to enter the commands to set the max armor and health and all that, every time I load a map.

Now, this is only an annoyance. But it'd be better if the addon could save the settings and load them upon map load.
< >
目前顯示第 1-9 則留言,共 9
Echo 2017 年 10 月 4 日 下午 6:54 
Try going to your autoexec file.

It's in common\gmog\garrysmod\cfg\autoexec.cfg

Just add in the commands (on seperate lines) and the game will automatically set them on startup.

You have to do this because the game thinks all commands in the console are one-off things, like changing the gravity.
Fenekku Kitsune 2018 年 3 月 15 日 下午 11:46 
引用自 Echo
Try going to your autoexec file.

It's in common\gmog\garrysmod\cfg\autoexec.cfg

Just add in the commands (on seperate lines) and the game will automatically set them on startup.

You have to do this because the game thinks all commands in the console are one-off things, like changing the gravity.
I've tried doing this and it doesn't appear to work.
Shock 2018 年 5 月 17 日 下午 5:12 
whats the commands setup you talking about can you type them ?
Fenekku Kitsune 2018 年 5 月 18 日 下午 5:08 
引用自 Died
whats the commands setup you talking about can you type them ?
It's just the commands for max armor and health:
ses_max_armor
ses_max_health
最後修改者:Fenekku Kitsune; 2018 年 5 月 18 日 下午 5:08
Trisword 2018 年 5 月 31 日 上午 8:20 
sorry to necro this but im having the same problem as described above. I add ses_max_armor 100
on the autoexec.cfg file and i still get nothing changing.
[ST] SGT. Shorty 2018 年 6 月 14 日 下午 9:36 
What about how to restrict them to a rank (my friend wants to make this a rank ability for his server.)
SonicPrimus 2019 年 4 月 13 日 下午 3:17 
You have to use the Gmad Easy Addon Extractor and go into the lua file to change the default maximum armor value. You can also change the sound effects if you are planning to change them.
Fenekku Kitsune 2019 年 4 月 13 日 下午 5:16 
Shouldn't have to get a program to change values in an addon, should be a thing already in the addon.
Panthercat64 2019 年 7 月 31 日 下午 6:13 
For those trying the autoexec.cfg idea, no it does not work. The commands only work if your in a game, and the autoexec.cfg excutes the commands when the the app (aka the actual gMOD game) launches. meaning it does not excute the commands at all.
< >
目前顯示第 1-9 則留言,共 9
每頁顯示: 1530 50