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 04-24-10, 07:39 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

just figured out how to make things draggable.....now we can really have some fun
TheDarkWraith is offline   Reply With Quote
Old 04-24-10, 07:41 PM   #2
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
just figured out how to make things draggable.....now we can really have some fun
Ahh great, I saw the edge of that one chart, but wasn't able to grab it. Also, log entry buttons are supposed to be gone on the latest test version right?
__________________

kylania is offline   Reply With Quote
Old 04-24-10, 07:46 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by kylania View Post
Ahh great, I saw the edge of that one chart, but wasn't able to grab it. Also, log entry buttons are supposed to be gone on the latest test version right?
log entry buttons?
TheDarkWraith is offline   Reply With Quote
Old 04-24-10, 07:51 PM   #4
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
log entry buttons?
The ones on the patrol log screen, insert/edit/delete note? They were there a revision back

Quote:
Originally Posted by mcaa666 View Post
In regard to the radio contact timestamps...could you make the date and time format a user configurable option?
For instance have two seperate date formats ie. MM/DD/YYYY or DD/MM/YYYY and for the time format have the option to switch to a 24 hour clock. I know I always get confused with PM and AM...
I echo the request for date format, so both match in game and match player format as well.

Also seeing something strange. I first got a single ship contact at 9:15. While I still had it deleted, at 10:16 I got another single ship contact.

The first ship's contact time switched to 5 seconds BEFORE the 2nd ship's contact. So one was 10:16:23 and the original changed it time from 9:15 to 10:16:18.

Then when I got a convoy report at 2:32 or something, the first ship contact again changed it's reported time to just before the convoy's spotted time, but second ship contact retained it's sighted time.

Might this be related tot he whole "nothing was initialized yet" thing like early versions of teleport were?
__________________

kylania is offline   Reply With Quote
Old 04-24-10, 07:59 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by kylania View Post
The ones on the patrol log screen, insert/edit/delete note? They were there a revision back



I echo the request for date format, so both match in game and match player format as well.

Also seeing something strange. I first got a single ship contact at 9:15. While I still had it deleted, at 10:16 I got another single ship contact.

The first ship's contact time switched to 5 seconds BEFORE the 2nd ship's contact. So one was 10:16:23 and the original changed it time from 9:15 to 10:16:18.

Then when I got a convoy report at 2:32 or something, the first ship contact again changed it's reported time to just before the convoy's spotted time, but second ship contact retained it's sighted time.

Might this be related tot he whole "nothing was initialized yet" thing like early versions of teleport were?
I check if the contact already has a date-time-stamp and if it does it gets bypassed. Only those that don't have timestamps get timestamps added. I'll look over the code again to make sure I didn't mess something up.

Added option to user options of making the nomograph draggable on the nav map.

EDIT:

this draggable thing doesn't work like I want it to (makes a fixed size handle that you can't resize). Investigating.....
Changed the way the code finds a new contact. This should take care of the problem.

Last edited by TheDarkWraith; 04-24-10 at 09:19 PM.
TheDarkWraith is offline   Reply With Quote
Old 04-24-10, 08:00 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by kylania View Post
The ones on the patrol log screen, insert/edit/delete note? They were there a revision back
they should still be there. Haven't done anything to them yet.
TheDarkWraith is offline   Reply With Quote
Old 04-24-10, 08:57 PM   #7
Philipp_Thomsen
Old Gang
 
Philipp_Thomsen's Avatar
 
Join Date: Nov 2007
Location: Drunk at the whorehouse
Posts: 2,261
Downloads: 146
Uploads: 0


Default

What's the thickness of the lines in the periscope? 1 pixel?
__________________
To each his own
Philipp_Thomsen is offline   Reply With Quote
Old 04-25-10, 12:07 AM   #8
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
Default

Quote:
Originally Posted by Philipp_Thomsen View Post
What's the thickness of the lines in the periscope? 1 pixel?
Yup, though it grows to 5 pixels around the bearing indicator
__________________

kylania is offline   Reply With Quote
Old 04-25-10, 08:17 AM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by kylania View Post
Also seeing something strange. I first got a single ship contact at 9:15. While I still had it deleted, at 10:16 I got another single ship contact.

The first ship's contact time switched to 5 seconds BEFORE the 2nd ship's contact. So one was 10:16:23 and the original changed it time from 9:15 to 10:16:18.

Then when I got a convoy report at 2:32 or something, the first ship contact again changed it's reported time to just before the convoy's spotted time, but second ship contact retained it's sighted time.

Might this be related tot he whole "nothing was initialized yet" thing like early versions of teleport were?
it's related to a word called assuming....which you know what happens when you do that Yep, bit me in the @ss.
The contacts are stored in an array and I assumed that new contacts would be added to the end of the array.....not so! The game adds contacts wherever it wants to in the array. So I had to adjust my code to account for this. This problem no longer exists.
TheDarkWraith is offline   Reply With Quote
Old 04-25-10, 08:42 AM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

I'm trying to add another feature to the map contacts but running into a little difficulty. I'm wanting to compute their lattitude and longitude. The game gives me the distance from the origin. Origin is in the Gulf von Guineea west of Kongo (you can find it on your nav map). These distances from origin are in meters. I know that a degree of lattitude is approx. 111km and a degree of longitude is approx 111km at the equator and goes to 0 at the poles. If I divide the distance the game gives me for lattitude by 111000 (in meters) the value comes close but doesn't match what the game puts in the messagebox (say for a radio contact report). The longitude part I haven't derived the mathematical formula for it yet. Can any math majors help me out here?
TheDarkWraith is offline   Reply With Quote
Old 04-25-10, 10:11 AM   #11
Philipp_Thomsen
Old Gang
 
Philipp_Thomsen's Avatar
 
Join Date: Nov 2007
Location: Drunk at the whorehouse
Posts: 2,261
Downloads: 146
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
I'm trying to add another feature to the map contacts but running into a little difficulty. I'm wanting to compute their lattitude and longitude. The game gives me the distance from the origin. Origin is in the Gulf von Guineea west of Kongo (you can find it on your nav map). These distances from origin are in meters. I know that a degree of lattitude is approx. 111km and a degree of longitude is approx 111km at the equator and goes to 0 at the poles. If I divide the distance the game gives me for lattitude by 111000 (in meters) the value comes close but doesn't match what the game puts in the messagebox (say for a radio contact report). The longitude part I haven't derived the mathematical formula for it yet. Can any math majors help me out here?
There is some delay between message being generated and message being delivered. How big is the mismatch?
__________________
To each his own
Philipp_Thomsen is offline   Reply With Quote
Old 04-25-10, 11:26 AM   #12
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
These distances from origin are in meters. I know that a degree of lattitude is approx. 111km and a degree of longitude is approx 111km at the equator and goes to 0 at the poles. If I divide the distance the game gives me for lattitude by 111000 (in meters) the value comes close but doesn't match what the game puts in the messagebox (say for a radio contact report). The longitude part I haven't derived the mathematical formula for it yet. Can any math majors help me out here?
Ignore reality! The lat/long lines are 120km from each other in game, a square grid rather than the lines-on-a-globe they really are. Should make things much easier.
__________________

kylania 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:11 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.