SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-31-07, 06:29 PM   #1
Shepelly
Soundman
 
Join Date: Jul 2005
Location: Wagga Wagga
Posts: 141
Downloads: 43
Uploads: 0
Default Help with Shortcut for keys

Hey guy's,
Wandering if anyone can help with this one?

I like to klick around the sub and not use the shortcut keys on the left to much. What I want to know is, When i go to the perriscope room, click on the perriscope(sitting looking at the controls but not in the viewfinder) i can right click the mouse button to get me back to the control room. However when I'm looking through the perriscope I have to use the "F" keys or the buttons on the left to navigate back to a certain area but not where i was. Is there a way I can get the R mouse button to get me back to the periscope room from the perriscope view.

Also from the TDC to the conning tower?

I hope you can understand this, thanks in advance
__________________
Shepelly is offline   Reply With Quote
Old 01-31-07, 07:43 PM   #2
Tuddley3
Grey Wolf
 
Join Date: Aug 2006
Location: Augusta, Maine USA
Posts: 905
Downloads: 170
Uploads: 0
Default

You can change the keys exactly how you want them to be using SetKeys . If you need assistance setting it up, just PM me
Tuddley3 is offline   Reply With Quote
Old 01-31-07, 10:35 PM   #3
Shepelly
Soundman
 
Join Date: Jul 2005
Location: Wagga Wagga
Posts: 141
Downloads: 43
Uploads: 0
Thanks Tuddley, I'll check it out.
__________________
Shepelly is offline   Reply With Quote
Old 01-31-07, 11:49 PM   #4
Shepelly
Soundman
 
Join Date: Jul 2005
Location: Wagga Wagga
Posts: 141
Downloads: 43
Uploads: 0
Default

Nope,

Just want to set my R mouse button to go from Perriscope view back to Attack perriscope. ie, like placing eye on appature and then taking it off again to change torp tubes.

Also with the TDC to mimic like bino's.

Can it be done in the Command_en Cfg file?:hmm:
__________________
Shepelly is offline   Reply With Quote
Old 02-01-07, 01:21 AM   #5
Tuddley3
Grey Wolf
 
Join Date: Aug 2006
Location: Augusta, Maine USA
Posts: 905
Downloads: 170
Uploads: 0
Default

My mistake, Setkeys only works for keyboard keys, not mouse commands. You might be able to manually if you know what the KeyMap for RightClick mouse button is. I tried SH3KeyChecker to find out, and it doesn't recognize it as a key stroke.
Tuddley3 is offline   Reply With Quote
Old 02-01-07, 01:50 PM   #6
Steppenwolf
中国水兵
 
Join Date: Jul 2005
Posts: 278
Downloads: 0
Uploads: 0
Default

Not sure how to map a mouse click to Commands_en.cfg BUT:

In "Commands_en.cfg" most screens have a "Goback=" location assigned to them. The right mouse-click is supposed to function as a "Goback" key by default, but for some reason it only works on some of the screens and not on others. However, if you assign an actual keyboard key to perform the "Goback" function, it seems to work on all screens that have a "Goback=" line assigned to them. For example, the "Persicope screen" already has a "Goback=" assigned to bring it back to the Conning Tower, the right mouse click does nothing, but pressing a key assigned to "Goback" takes you to the Tower just fine (no idea why).

So, as an alternative, you might consider mapping the "Goback" function to a key (Several mods, such as this example from "Ducimus' Flavored to Taste Mod", already do this).

In the "Commands_en.cfg" file:
[Cmd7]
Name=Go_back_to_prev_cam
Ctxt=1
Key0=0x60,,"Numpad Ins" <------Insert this line

This will assign the 0/Ins key on your numberpad as your Goback Key (make sure you have Num lock on).

In each screen that you would like to have the Insert key bring you back to another specific screen, change the existing Goback= line (Or just add one if none exists for that screen).

The sections you've mentioned above are:
[Cmd13] Name=Conning_tower_camera <----- The conning tower interior
[Cmd14] Name=Conning_tower_periscope <--- Looking AT (not through) the scope
[Cmd16] Name=Periscope_camera <-------- Looking THROUGH the scope (F3)
[Cmd34] Name=Attack_2d_map <----- The TDC (F6)

To have "Insert" take you from the TDC to the Conning tower interior:
[Cmd34]
Name=Attack_2D_map
Ctxt=1
MnID=0x3F020009
Key0=0x75,,"F6"
Page=0x32000000,3741
GoBack=Conning_tower_camera <---- Insert this line

The other screens work the same way, just set the "Goback=" to whatever you like.
Steppenwolf is offline   Reply With Quote
Reply

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 -5. The time now is 07:01 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.