This is a script that automatically pauses the game if there is no player input for some time.
Some time is from 10 to 20 seconds (see how to tune).
Helps preventing situations when you are distracted and forget to pause the game, and come back to discover that a lot of nasty things happened in the game.
- Load autopause-v*.pk3, or add it to autoloads in gzdoom.ini. Mind the version in the file name.
- Add this line to your autoexec.cfg:
wait 1; ap_check
Make sure your autoexec.cfg is loaded by checking your gzdoom.ini.
Or, alternatively, type ap_check
in console each time you launch GZDoom.
The time after which the pause is engaged is not configurable in the options,
however, you can open this mod with Slade, go to keyconf.txt, find the line that
starts with alias ap_check "wait 350;
, and change 350 to whatever you
like. This time is in game ticks. One second is exactly 35 tics. It takes from
one to two specified time values to engage the pause.
Another option is to open main menu instead of pausing the game. To do this,
open the mod with Slade, go to keyconf.txt, find the line that starts with
alias ap_pause
, and change pause
at the end with openmenu mainmenu
.
Author: m8f
License: GPLv3
This mod is a part of m8f's toolbox.