Mario's World Forums  

Go Back   Mario's World Forums > The Rest > ► PC Software

► PC Software (Forum related to the discussion of PC software. i.e.: O/S's, programming, web coding, games et al.)

Reply
 
Thread Tools Display Modes
Old 23rd June 2018, 02:09 PM   #1
Mario
Special Guest
 
Mario's Avatar
 
Join Date: Dec 2008
Location: @home
Posts: 627
Post My custom AutoHotkey scripts.

I have been an AutoHotkey user for many, many years. It's now time for a dedicated thread relating to the use of AutoHotkey. I will catalog the scripts I use for some games, along with some, perhaps colorful, commentary.




METAL GEAR SOLID V GROUND ZEROES:

The following code maps the middle mouse button/scrollwheel to act as the ingame move forward key. The game settings did not allow this.
Code:
MButton::w
The following code maps the ingame R (reload weapon) key to a mouse side button. The game settings did not allow this.
Code:
XButton2::r
The following maps the left ALT key to act as if pressing two keys. More specifically, this game is one of those "try hard" fuckshits that tries to be too clever for its own good and utilize a two tier weapon zoom. You use one key for "hip" zoom, and another key (whilst holding both) to switch to an ironsights view. You're forced to press -and hold- two keys, in sequence, to get the ironsights view. Ingame you would press, in my specific case, left ALT and whilst holding it pressed, the F key. Holding two fucking keys (whilst also moving around and/or doing other ingame things - meaning I'm also pressing/using other keys and/or the mouse) to get the ironsight view for a weapon. Morons. Hideo Kojima is a tryhard fucktard. (Update: The below code no longer, strictly required, as the game does have a reasonable answer - Options > Control Settings > Keep Aim Viewpoint > On)
Code:
~LAlt::
KeyWait, LAlt, T0.1
If ErrorLevel
{
	Send {Blind}{f DownR}
	KeyWait, LAlt
	Send {Blind}{f Up}
}
Return
Mario is offline   Reply With Quote
Reply

Bookmarks

Tags
AutoHotkey, AutoHotkey scripts


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +8. The time now is 11:40 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
All content ©1997 - 2023, Mario's World, Inc.

eXTReMe Tracker