Page 1 of 1
Turning jumping/crouching off permanently in (G)ZDoom?
Posted: Sun May 08, 2016 1:04 pm
by Lukario
This might be a stupid question, but is there any way to make it so that when you turn jumping or crouching off in (G)ZDoom, it doesn't turn back on when you restart the game?
I've already figured out how to make it stop turning freelook back on with CVARs, but I've tried to use the same method for jumping and crouching to no avail. The only other option that I can think of is unbinding the jump and crouch keys, which would be inconvenient if I was playing a mod where jumping and crouching were mandatory, like Demonsteele for example.
Any help would be greatly appreciated, and I apologize if the answer to this is obvious.
Re: Turning jumping/crouching off permanently in (G)ZDoom?
Posted: Sun May 08, 2016 1:46 pm
by Graf Zahl
Use an autoexec.cfg to run some console commands at each game launch.
Re: Turning jumping/crouching off permanently in (G)ZDoom?
Posted: Sun May 08, 2016 2:23 pm
by Lukario
Graf Zahl wrote:Use an autoexec.cfg to run some console commands at each game launch.
I've been trying to do this, but it hasn't been working and I made sure that the location of autoexec.cfg was defined in both my ZDoom and GZDoom configuration files. Maybe I'm just putting the wrong CCMDs in autoexec.cfg?
EDIT: I figured out what the problem was, it was because I was launching GZDoom through the
C#4rp Doom Launcher. Is there any way to make autoexec.cfg work with launchers/frontends?
Re: Turning jumping/crouching off permanently in (G)ZDoom?
Posted: Mon May 09, 2016 2:47 am
by Nash
You can try adding command line arguments to the launch parameter in C#4rp (assuming it supports that).
gzdoom.exe +sv_nofreelook 1 +sv_nocrouch 1 etc
(add a + in front of each cvar you'd like to set the value to at launch)
Re: Turning jumping/crouching off permanently in (G)ZDoom?
Posted: Mon May 09, 2016 4:02 am
by Kinsie
...unbind the keys?
Re: Turning jumping/crouching off permanently in (G)ZDoom?
Posted: Tue May 10, 2016 7:13 pm
by Lukario
Nash wrote:You can try adding command line arguments to the launch parameter in C#4rp (assuming it supports that).
gzdoom.exe +sv_nofreelook 1 +sv_nocrouch 1 etc
(add a + in front of each cvar you'd like to set the value to at launch)
No wonder why the command line arguments weren't working, I forgot to put pluses in front of the CVARs!
Thank you, I don't know how I didn't realize that sooner!