SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters > DW Mod Workshop > DW Mission Designers' Forum
Forget password? Reset here

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 07-29-25, 06:28 AM   #1
Stewy1
Girt by Sea
 
Stewy1's Avatar
 
Join Date: Mar 2015
Location: Red Route 1
Posts: 411
Downloads: 194
Uploads: 50


Default FPSChazly's Line Marking Program

https://www.subsim.com/radioroom/dow...o=file&id=6572

Here are two programs made by FPS Chazly (in 2017!) to mark lines in the Dangerous Waters mission files.

Chazly has very kindly given me permission to release these on Subsim.

The programs require Java installed for them to work.

It comes in two versions :

‘DWCoords’ was the first version Chazly made, and only works (for me) with decimal coordinates. It also requires a manual ‘copy-paste’ (Ctrl-C/Ctrl-V, not a right mouse-click) to make a succession of joined lines. It does work in all the hemispheres of the globe though (North, South, East West)



The second version is ‘DWLC_v1’ which works with both decimal and DMS coordinate systems – eg, 39-02-46N 77-46-41W or 39.04617 -77.1135. It also has mouse-click copy-paste and a ‘side arrow’, to easily make a succession of lines on the map, error checker, and will tell you if a point is ‘out of bounds’ of the map (the first version doesn't).



However, it doesn’t work (for me) in the southern (and perhaps another?) hemisphere.

To Make Lines
1. Open your DW map editor and select an area you want to use
2. Put a single line anywhere and save it as a mission.
a. You’ll now have one line marked on the bottom of the .mu mission file in the 'Scenario' folder (open this with Notepad)
b. It'll look like this:

MAPLINES
LINE 529.358948 141.977859 391.256073 64.562561

3. Open the line-marking program which will work based on your needs
4. Copy Paste the LATLONG figure at the top of the .mu mission txt. file eg -0.481096 -90.961494 into the ‘Origin Coordinates’ box of the program.
a. Enter the Point 1 and Point 2 coordinates
b. Click ‘Calculate Line Coordinates’
c. Copy-paste the Line and number into your MAPLINES section (overwrite the first ‘dummy’ line you put in in the mission editor)
d. To add another line (in the first version), copy-paste the Point 2 value into Point 1 box and add a new coordinate to Point 2, then click ‘Calculate Line Coordinates’ again and paste the next LINE figure into the MAPLINES section
i. Rinse and Repeat
ii. Make sure you SAVE the .mu file to see the lines you placed in the Mission Editor
iii.
e. Or (in the second version) use the left-arrow button, enter a new coordinate into Point 2, then click ‘Calculate Line Coordinates’ and paste the next LINE figure into the MAPLINES section
i. Rinse and Repeat
ii. Make sure you SAVE the .mu file to see the lines you placed in the Mission Editor

It's very important that the coordinates are in the correct DMS or decimal format, specified by the program (and exampled here), otherwise you'll get errors.

Some Resources for Map Making
1.To mark EEZs, check out Marine Regions: https://www.marineregions.org/eezsearch.php
2.To mark military exercise areas, check out a country's 'AIP' airspace information or the Flightsim program, 'LittleNavMap': https://albar965.github.io/littlenavmap.html
3.If Coordinates are in different formats (WGS 84, etc.) this website is useful: https://rcn.montana.edu/resources/Converter.aspx
3.Also included is a Word document I made to covert DMS numbers (out of 60) into decimal figures, or back again...


It's a bit of trial and error, but once you get the hang of it, you'll be making maps in no time!

Full credit, and a great deal of gratitude, must go to FPSChazly for making these great programs - I'll never have his knowledge of both mathematics and programming!
Stewy

__________________
"This officer has used my ship as his den of iniquity and my wardroom to carry him from bar to bar."
Stewy1 is offline   Reply With Quote
 


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 05:34 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.