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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-04-10, 01:03 PM   #1
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Hi TDW,

Sorry but I am getting the following wrong:-

SetAndShowMICircle|PageTDC_Tubessettings_Tubes_TubeI|None|<blinkcount>|0|0|0
DisplayText|Lets set tube 1. Please select it if it is not already set|0|0|0|0|10
SetAndShowMICircle|PageTDC_Torpsettings_Torpspeed|None|<blinkcount>|0|0|0
DisplayText|Set to fast speed. The ship will be close, therefore we do not need the extra range from a slow setting.|0|0|0|0|0
WaitForMouseOut|PageTDC_Torpsettings_Torpspeed|non e|0|0|0|0
DisplayText|Next we will drag torp depth to the ships keel. Please click next after you have done that.|0|0|0|0|0
WaitForNext|0|0|0|0|0|0
SetAndShowMICircle|PageTDC_Torpsettings_Torppistol|None|<blinkcount>|0|0|0
DisplayText|As this will be a keel shot, we will leave pistol on magnetic. |0|0|0|0|10
SetAndShowMICircle|PageTDC_Tubessettings_TorpDoors_DoorI|None|<blinkcount>|0|0|0
DisplayText|Flood tube 1 by clicking this switch. This finishes setting torp 1 |0|0|0|0|0
WaitForMouseLeftButtonClick|PageTDC_Tubessettings_ TorpDoors_DoorI|None|0|0|0|0

As you can see I am not using the correct items from "page_tdc".
Circles ar blinking off the page.

Could you tell me the correct ones.

Thanks
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 12-04-10, 01:30 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
Hi TDW,

Sorry but I am getting the following wrong:-

SetAndShowMICircle|PageTDC_Tubessettings_Tubes_TubeI|None|<blinkcount>|0|0|0
DisplayText|Lets set tube 1. Please select it if it is not already set|0|0|0|0|10
SetAndShowMICircle|PageTDC_Torpsettings_Torpspeed|None|<blinkcount>|0|0|0
DisplayText|Set to fast speed. The ship will be close, therefore we do not need the extra range from a slow setting.|0|0|0|0|0
WaitForMouseOut|PageTDC_Torpsettings_Torpspeed|non e|0|0|0|0
DisplayText|Next we will drag torp depth to the ships keel. Please click next after you have done that.|0|0|0|0|0
WaitForNext|0|0|0|0|0|0
SetAndShowMICircle|PageTDC_Torpsettings_Torppistol|None|<blinkcount>|0|0|0
DisplayText|As this will be a keel shot, we will leave pistol on magnetic. |0|0|0|0|10
SetAndShowMICircle|PageTDC_Tubessettings_TorpDoors_DoorI|None|<blinkcount>|0|0|0
DisplayText|Flood tube 1 by clicking this switch. This finishes setting torp 1 |0|0|0|0|0
WaitForMouseLeftButtonClick|PageTDC_Tubessettings_ TorpDoors_DoorI|None|0|0|0|0

As you can see I am not using the correct items from "page_tdc".
Circles ar blinking off the page.

Could you tell me the correct ones.

Thanks
It all depends on which scope is currently visible or if the nav map is visible. For the scopes:

x_Torpedoes_Tubesstatus_Tubey where x = Pageattackperiscope, Pageobsperiscope, or PageUZO. y = I, II, III, IV, V, or VI (roman numerals)

for the torp doors it is:

x_Torpedoes_TorpDoors_Doory where x = Pageattackperiscope, Pageobsperiscope, or PageUZO. y = I, II, III, IV, V, or VI (roman numerals)

How did the gyrocompass work out? Can I remove current_heading?
TheDarkWraith is offline   Reply With Quote
Old 12-04-10, 01:49 PM   #3
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Ah so - from the attack scope station, this-

SetAndShowMICircle|PageTDC_Tubessettings_Tubes_TubeI|None|<blinkcount>|0|0|0

Shoud be this -

SetAndShowMICircle|Pageattackperiscope_Torpedoes_T ubesstatus_TubeI|None|<blinkcount>|0|0|0


I fixed the "<<>>" errors etc but when I tried using Corrent_Heading, I got a script error. As I had introduced erros from the stuff above I havent tested again. I have changed to gyrocompass and will test soon.

Big thanks for the help
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 12-04-10, 02:00 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
I fixed the "<<>>" errors etc but when I tried using Corrent_Heading, I got a script error. As I had introduced erros from the stuff above I havent tested again. I have changed to gyrocompass and will test soon.
the gyrocompass one needs to be like this:
CheckGUIDialValueInRange|GYROCOMPASS|<heading_ min>|<heading_max>|None or your variable|0|0

if that doesn't work then the current heading one needs to be like this:
CheckGUIDialValueInRange|Current_Heading|<heading_ min>|<heading_max>|None or your variable|0|0
TheDarkWraith is offline   Reply With Quote
Old 12-04-10, 02:02 PM   #5
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default



I will try -

CheckGUIDialValueInRange|GYROCOMPASS|<heading_ min>|<heading_max>|None or your variable|0|0

first.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 12-04-10, 02:45 PM   #6
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Just tested - CheckGUIDialValueInRange|GYROCOMPASS|<heading_ min>|<heading_max>|None|0|0 I got no script erros but it did not recognise I was on the correct heading.

Trying Current_Heading next.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 12-04-10, 03:03 PM   #7
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

YYeeessss It all works, Fantastic.

So gryocompass did not work but current_heading did.
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 12-04-10, 03:04 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
Just tested - CheckGUIDialValueInRange|GYROCOMPASS|<heading_ min>|<heading_max>|None|0|0 I got no script erros but it did not recognise I was on the correct heading.

Trying Current_Heading next.
just looked at GYROCOMPASSes dial values and it's -180 to 180 so that is why. Current_Heading is the one you'll have to use
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 11:18 AM.


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