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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-19-10, 04:36 PM   #11
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Hi TDW

I am using the following in a tutorial file to check user TDC setting on multipule target AOB using the TDC dial:-


Operation|mov|<<aob_delta>>|15.0f|0|0|0
;blah blah (whole tutorial here)
; Functions:
Label|SetTargetAOB|0|0|0|0|0
GetAngle|3|None|0|0|0|0
Operation|mov|<<aob_min>>|<g_TR1>|0|0|0
Operation|-|<<aob_min>>|<aob_delta>|1|0|0
Operation|int|<<aob_min>>|<aob_min>|0|0|0
Operation|mov|<<aob_max>>|<g_TR1>|0|0|0
Operation|+|<<aob_max>>|<aob_delta>|1|0|0
Operation|int|<<aob_max>>|<aob_max>|0|0|0
CheckGUIDialValueInRange|SOL_ANGONBOW|<aob_min>|<a ob_max>|None|0|0
Operation|rtrue|None|0|0|0|0
DisplayText|Your AOB is more than 15 Deg out!|0|0|0|0|5
Jump|WrongAOB|0|0|0|0|0

I have set the + - operations to 1 for dials 180 to -180.

Some target check work fine and others dont.
The ones that dont are out by 180 deg.

Any ideas
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
 

Tags
dbrn, favorite, new ui


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 10:48 PM.


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.