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

Reply
 
Thread Tools Display Modes
Old 04-05-12, 05:00 PM   #1
Amihai
Swabbie
 
Join Date: Apr 2012
Posts: 5
Downloads: 9
Uploads: 0
Default [REQ]Calculations in the mod, display calculated values

hi. sorry my bad english

I don't find handy aob tool.I was read old menu.ini manual and don't understand where from devices get values and where controls state stored.

Is it possible to *calculate* value:
360 - (Direction+Bearing) - (Direction+Bearing) \ 360 * 360
and draw mark on the attack data tool?
Amihai is offline   Reply With Quote
Old 04-05-12, 05:19 PM   #2
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

No, it can't be done directly. You will need to do several different marks on the map with different tools to calculate all that.
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 04-05-12, 07:52 PM   #3
Amihai
Swabbie
 
Join Date: Apr 2012
Posts: 5
Downloads: 9
Uploads: 0
Default

Why?
It's pure mathematics.
bearing is periscope indication
course is compass indication
I can SEE all of them, but I need to ACCESS them.

One string of code, calculated mark on the ADT, counterclockwise 360 scale instead +-180. and we have ultra handy AOB device

questions are :
how to access bearing and course data
how to implement simple calculations in the mod
how to draw dynamic calculated mark on the 360 static round scale
Amihai is offline   Reply With Quote
Reply


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 12:08 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.