EAW Pause by key

If you liked this item, please rate it up on Steam Workshop page.

Author: Chris35

Last revision: 29 May at 18:20 UTC (1)

File size: 2.67 MB

On Steam Workshop

Description:
29.5.26 – Latest and final version: PBK 2.0

– now with easy setup and a seperate config file
– configuration of the buttons x/y positions without manual editing
– compiled scripts, no need to install the software autohotkey
– more infos on the first section

——————————————————–

27.5.26 – Latest addition to 1.0

– added fast forward functionality in additionally scripts. Check the 3rd section for more infos.

——————————————————–
——————————————————–

Pause by key 2.0: (without autohotkey)

There are 2 executables PBK 2.0 uses. Go to the subfolder of the mod:
steamapps/workshop/content/32470/3731043064/EAW Pause by key/Pause by key 2.0

First, you need to configure the x,y positions of your buttons:
1. Start config_buttons.exe
2. In game on campaign map:
—hover over the pause button and press F1 to save the coordinates
—hover over the fast forward button and press F2 to save the coordinates

If you play a mod where the buttons are on different positions on campaign/battle map:
3. On the battle map:
—hover over the pause button and press F3 to save the coordinates
—hover over the fast forward button and press F4 to save the coordinates

Now exit the config executable( you can press "strg-e" to do so ) and start the "Main_script.exe" before the game starts OR if the game runs in normal speed mode.

IMPORTANT:
If you use an overhaul/ui mod which uses different button positions, press F12 when you switch between the game modes campaign map and battle map.

If you started the script during pause or fast forward, you need to go back to normal speed first and now reset the script by pressing "ctrl-p".

Finally, if you don’t like using exe files you can find the pure autohotkey scripts in a subfolder. You can start the scripts from there. Autohotkey must be installed.

Keybinding:
If you want other keys used for pause and fast forward:
Open the config.ini and edit the keys

used keys:
p = Pause
Space = fast forward

——————————————————–

Older Version 1.0(with Autohotkey)

——————————————————–

Pause by key 1.0

This version of the mod uses external software with VERY easy-to-use AutoHotkey scripts. This mod should not be activated in game!

By loading the script out of the mod folder you can Pause/Unpause the game by pressing space bar.

You can find the scripts in the content folder of steam workshop. The folder name should be the same as the mod’s id:

steamapps/workshop/content/32470/3731043064/EAW Pause by key

——————————————————–

1. About the scripts and AutoHotkey:

Use those scripts with AutoHotkey 2.0 by simple double-clicking the script file(s).

Download AutoHotkey 2.0: https://www.autohotkey.com/

Hint: There is a script for the Base Game/Corruption, but also 2 scripts for the Mods "Thrawn’s Revenge" and "Awakening of the Rebellion". You can also use the scripts for every other overhaul mod.

——————————————————–

2. How to use a script with basic pause functionality:

a) Base Game:
Start the script "STARWARS_Base_Game.ahk" whenever you want. Then just hit the Space Bar for Pause/Unpause.

b) Mods:
1. Start the Script for the mod you are playing:
-"STARWARS – Awakening_of_the_Rebellion.ahk"
– "STARWARS – Thrawn_revenge.ahk"

2. Press F12 to change the mode( between campaign or battle screen ).
Hint: As those mods make use of the pause button in different x-y positions on the campaign map and in battle, you need to tell this the script by pressing F12 when the game switches between campaign and battle. When pressing F12 the script will tell you which mode is currently active.

3. Use Spacebar to Pause/unpause the game

c) other Mods:
To use it with other mods, activate the "Show_x_y.ahk" script and get the X_Y position of the pause button ingame.
Now make a new copy of one of the game scripts. If the mod’s Pause button is always at the same position( campaign and battle ), make a copy of the base game script, otherwise one of the mods scripts.

Edit the new X_Y values, save and start the new script.

——————————————————–

3. How to use the script with extended functionality, pause and fast forwarding:

Goto the subfolder "Special Scripts".

steamapps/workshop/content/32470/3731043064/EAW Pause by key/Special Scripts

a) Base Game:
Start the script "SW – BaseGame_Pause_&_FastForward.ahk" whenever you want.
Press "p" for Pause/Unpause and "Space" for Fast Forward.

b) Other Mods:
1. Start the Script "SW – AOTCW_Pause_&_FastForward.ahk"

2. Press F12 to change the mode( between campaign or battle screen ).

3. Press "p" for Pause/Unpause and "Space" for Fast Forward.

Keybindings can be changed!
All stuff like configuring the X_Y position of the buttons and Keybindings can be changed right in the header of the files in the configuration section.

Hint: The script remembers states as being in fast forward, eg. if you go from fast forward into pause and press again p, it should go back to fast forward.

——————————————————–

4. Key Rebinding:

If you want to use other keys than Spacebar( pause ) and F12( mode change ), open the script you are using with a simple text editor, search for the old keys and replace them.

——————————————————–

5. Troubleshooting:

If it’s not working, the X_Y coordinates of your Pause button don’t match with mine. This may be caused by a different resolution.

To solve this, start the script "Show_x_y.ahk" which shows the actual X_Y Position of your cursor. Write them down while holding right above the Pause button ingame.
Now edit the script by opening with a simple text editor and change the X_Y coordinates.
After saving restart the script.

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.