Command & Conquer Generals: Difference between revisions
From Funiaita
No edit summary |
|||
Line 6: | Line 6: | ||
Of course you use the values you want. |
Of course you use the values you want. |
||
== w/a/s/d via Autohotkey for camera == |
|||
* [https://www.autohotkey.com/ Autohotkey] |
|||
* Current Autohotkey as of 2024-12-31 |
|||
* create a file called "C&C Generals wasdCameraButAction.ahk" |
|||
* paste the code below into it |
|||
* Double-click the file. |
|||
** No error, good. |
|||
* Start C&C Generals and in the menu press 't'. |
|||
** If you hear a beep, then the script is active. |
|||
** If you don't hear a beep, then the script is not active. |
|||
* In-Game, just press alt-w, alt-a, alt-s or alt-d to move the camera. |
|||
<pre> |
|||
; wasdCameraButAction, v1 |
|||
; AutoHotkey script which allows to use w/a/s/d for the camera while still having hotkeys for (a)ttack move, (s)top and others |
|||
; 2024-12-31 by ZanyScum |
|||
#HotIf WinActive("Command & Conquer Generals") |
|||
t::SoundBeep |
|||
~!w::Up |
|||
~!a::Left |
|||
~!s::Down |
|||
~!d::Right |
|||
#HotIf |
|||
</pre> |
|||
If you are on ANY web page or in ANY document which has "Command & Conquer Generals" somewhere in it's title, like "wiki of Command & Conquer Generals", then the script will be active too. Just to keep this in mind. |
Revision as of 09:05, 31 December 2024
Resolution
- If you don't want to use one of the resolutions you see in the options, then change everything in the options dialog to something you like, then exit the game.
- Add to the launch options
- Properties / General / Selected Launch Option
-xres 1920 -yres 1080
Of course you use the values you want.
w/a/s/d via Autohotkey for camera
- Autohotkey
- Current Autohotkey as of 2024-12-31
- create a file called "C&C Generals wasdCameraButAction.ahk"
- paste the code below into it
- Double-click the file.
- No error, good.
- Start C&C Generals and in the menu press 't'.
- If you hear a beep, then the script is active.
- If you don't hear a beep, then the script is not active.
- In-Game, just press alt-w, alt-a, alt-s or alt-d to move the camera.
; wasdCameraButAction, v1 ; AutoHotkey script which allows to use w/a/s/d for the camera while still having hotkeys for (a)ttack move, (s)top and others ; 2024-12-31 by ZanyScum #HotIf WinActive("Command & Conquer Generals") t::SoundBeep ~!w::Up ~!a::Left ~!s::Down ~!d::Right #HotIf
If you are on ANY web page or in ANY document which has "Command & Conquer Generals" somewhere in it's title, like "wiki of Command & Conquer Generals", then the script will be active too. Just to keep this in mind.