View Single Post
Old 03-14-10, 09:08 PM   #1
gutted
The Old Man
 
Join Date: Apr 2005
Location: New Orleans, LA.
Posts: 1,379
Downloads: 487
Uploads: 11
Default [REL] Less Annoying Hydrophone Hotkeys

Since i use a heavily modified WASD style controls. and because the mousewheel turns the hydrophone so slow....I got tired of moving my hand all the way over to the Home/End keys to rotate it.

I had looked around the commands.cfg to change it but they aren't there.

They are in the hydrophone script.

Open up SilentHunter5\data\Scripts\Stations\Hydrophone.py in notpead

A few lines down from the top you'll see this:
Code:
KeyForPositive = MenuKeyManagerWrapper.Keys.End
KeyForNegative = MenuKeyManagerWrapper.Keys.Home
For the WASD crowd change it to:
Code:
KeyForPositive = MenuKeyManagerWrapper.Keys.D
KeyForNegative = MenuKeyManagerWrapper.Keys.A
Now when you walk to the hydrophone station and activate it, you dont have to move your hand at all to rotate it.

I didn't provide as a mod, because not everyone is using the WASD controls now. If you use other style controls, change it to however you want.

It would be in your best interest to make a mod out of it yourself so you can revert (noobs see next post).


enjoy
__________________


Solution Solver 2.3.2 - Visual Targeting Tools & Aids

Last edited by gutted; 03-14-10 at 09:23 PM.
gutted is offline   Reply With Quote