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.
Turning jumping/crouching off permanently in (G)ZDoom?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Turning jumping/crouching off permanently in (G)ZDoom?
Use an autoexec.cfg to run some console commands at each game launch.
Re: Turning jumping/crouching off permanently in (G)ZDoom?
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?Graf Zahl wrote:Use an autoexec.cfg to run some console commands at each game launch.
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?
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)
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)
- Kinsie
- Posts: 7402
- Joined: Fri Oct 22, 2004 9:22 am
- Graphics Processor: nVidia with Vulkan support
- Location: MAP33
- Contact:
Re: Turning jumping/crouching off permanently in (G)ZDoom?
...unbind the keys?
Re: Turning jumping/crouching off permanently in (G)ZDoom?
No wonder why the command line arguments weren't working, I forgot to put pluses in front of the CVARs!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)
Thank you, I don't know how I didn't realize that sooner!