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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 07-09-05, 01:51 PM   #8
Sawdust
Planesman
 
Join Date: Jun 2005
Location: Quadrant DB22
Posts: 198
Downloads: 0
Uploads: 0
Default

OK! Some good news and some bad news!
I found out that 0x02 is the code for the right mouse button.

I was able to make it the "key" for the "go-back" action (along with the Num_Pad 0) like this:
Code:
[Cmd7]
Name=Go_back_to_prev_cam
Ctxt=1
Key0=0x60,,"Num_Pad 0";
Key1=0x02,,"Right Mouse Button";
This works and you can then "back out" from the periscopes and UZO with a right mouse click. There is a problem, though. With this change in effect, *whenever* you click the right mouse button, you *always* "back out" TWICE. So, if you back out of the observation scope, you jump in very quick succession to the interior_aft_camera and then to the interior_fore_camera. Or, if you back out of the Bridge you jump to the Conning Tower and immediately to the Control Room.

So, until (if) this can be fixed, using the num_pad 0 key will have to suffice. (which is a wonderful innovation, nonetheless).

On a seperate note:
Another place to add a "go_back" command is the F7-Crew Management screen. You can access this screen from the schematic of the sub (located in the control room (aft in the Type VIIB, fore in the TypeII)), so it makes sense to be able to back out of this screen to the fore or aft control room.
Code:
[Cmd41]
Name=Crew_control
Ctxt=1
MnID=0x3F020008
Key0=0x76,,"F7"
Page=0x67000000,3742
GoBack=Interior_aft_camera;
BTW, I didn't test these, but the commands for Left Mouse Button should be 0x01 and for clicking the middle mouse button/wheel it is 0x04. I found these codes on this page:
http://irrlicht.sourceforge.net/docu/namespaceirr.html
(Look under "Enumerations").
__________________
.-. --- ..- --. .... ... . .- ... .- .... . .- -..
Sawdust is offline   Reply With Quote
 


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 02:06 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.