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 09-07-12, 08:41 PM   #11
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
txt is easiest (with csv [comma seperated values]). What data are you proposing?
currently I am working in xlsx format for my ease , but I can convert scheduled data in txt format by simply copying/pasting them in notepad.

My idea is having a txt file for each month, similar to historical messages featured in your UI. Each file would be divided into sections, one for each U-boat type available in game (VIIA, VIIB, ecc.). Within each section, the first column would be the unit's number (U-27, U-28, ecc.); the following columns would be couples of lat/long coordinates in ascending order, from the 1st day of the month to the last one.

Each second row (the first one being the one conatining unit's number and daily coordinates) could optionally contain the assessed number of torpedoes that that unit had available for each day of the month. Yes I know, estimating those figures from patrol reports is a crazy work, and I am also 99% sure that you are going to tell me that spawned subs cannot be given custom torpedo loadouts, but you could use that row for determining if that unit is currently available to be dispatched, based on the torpedoes she got left. Is it worth?

Anyway, the file structure would be more or less like this:

Code:
[VIIA]
				
U-27	56.51N 14.48W	55.03N 13.45W	55.03N 13.45W	55.03N 13.45W ...
11	11	11	11 ...
U-28	52.21N 13.45W	52.21N 13.45W	52.03N 14.15W	51.27N 10.45W ...
11	11	11	11 ...
U-29	55.03N 16.45W	53.15N 16.45W	53.15N 16.45W	51.27N 15.15W ...
11	11	11	11 ...
...

[VIIB]

...
As you can see coordinates are currently expressed in deg.min, and lat long values are spaced by a single space. Nevertheless, digging into historical missions files I have noticed that SH5 uses another format. If we manage to understand how the game gets those numebrs, by using simple excel functions I should be able to automatize the convertion from conventional to SH5 units.
gap is offline   Reply With Quote
 

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 04:13 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.