With this patch Console v1.5 visibility can be toggled by a hotkey. A vertical slide animation will be applied, simulating the famous "Quake" console.
Console.cpp Line 311: Register hotkey
Console.cpp Line 234: Unregister hotkey
Console.cpp Line 4219-4233: Hotkey handler, animation
You can change the associated hotkey by replacing the value 0xDC in line 311 with your favourite virtual key code. 0xDC is the key below Esc on my German keyboard layout, but I guess it may be different on other layouts/keyboards.
You can also change the animation speed of the slide animation by changing the value 200 in line 4224 (show) and line 4230 (hide). The unit is millisecond.
A sample configuration file for a top docked console is included, although the patch will also work with any other positioning.
Log in to post a comment.