[Current Forum ] [Archive 2003 - 2005]
[Register]  [Profile]  [Preferences]  [Search]
[Private messages]  [Memberslist]  [FAQ]  [Login]
Subsim Radio Room Forum Index » » Destroyer Command » » lat/long in sdf files
Author lat/long in sdf files
rhatcher


Joined: May 21, 2002
Posts: 6
Posted: 2002-12-08 09:50   
I am trying to create a series of missions in the Pacific in the Phillipines. The problem is that the ships do not show up at the location that I program in the sdf file. It seems that the ships show up west of the programed location but in most cases the longitude (north/south) is correct or at least very close.

As an example, I wanted a ship at location 125D 39'E, 9D 0'N (D=degrees, I don't know how to make that symbol) and programmed
"Location = 125.390, 9.000" in the sdf file
In the scenario the ship showed up at 125D 23'E, 9D 0'N. I have experimented with it a little and the offset is not repeatable so I can't simply compensate by altering my sdf coordinates a fixed amount in a given direction.

I want to move on with creating my missions but can't imagine creating waypoints for multiple ships using trial and error to get the locations right. Can anyone tell me where I am going wrong or what I am missing?


  View Profile of rhatcher      Edit/Delete This Post   Reply with quote
Drebbel


Joined: Mar 05, 2002
Posts: 1782
Posted: 2002-12-08 10:13   
There is an excel utility availble that converts standard Long/Lat into SHII coordinates.

Can not remember where I d/l it, but I can email it to you. Just post your email address.

You can also use the chart below (courtesy of CB):

Translating the SH2 in game map co-ordinates to usable mission file entrys...
the whole numbers remain the same....only the fractions need changing from minutes...(ie 0 to 60) to decimal (ie 0 to 100)..the list below give the minutes to decimal conversions ,


.01 = .016666
.02 = .033332
.03 = .049998
.04 = .066664
.05 = .083333
.06 = .099996
.07 = .116662
.08 = .133328
.09 = .149994
.10 = .166666
.11 = .183326
.12 = .199992
.13 = .216658
.14 = .233324
.15 = .249999

.16 = .266656
.17 = .283322
.18 = .299988
.19 = .316654
.20 = .333322
.21 = .349986
.22 = .366652
.23 = .383318
.24 = .399984
.25 = .416655
.26 = .433316
.27 = .449982
.28 = .466648
.29 = .483314
.30 = .499998

.31 = .516646
.32 = .533312
.33 = .549978
.34 = .566644
.35 = .583311
.36 = .599976
.37 = .616642
.38 = .633308
.39 = .649974
.40 = .666644
.41 = .683306
.42 = .699972
.43 = .716638
.44 = .733304
.45 = .749970

.46 = .766636
.47 = .783302
.48 = .799968
.49 = .816634
.50 = .833300
.51 = .849966
.52 = .866632
.53 = .883298
.54 = .899964
.55 = .916630
.56 = .933296
.57 = .949962
.58 = .966628
.59 = .983294


_________________

Drebbel

<a href="http://www.DutchSubmarines.com" target="_new">www.DutchSubmarines.com</a>
The Submarines of the Royal Netherlands Navy



  View Profile of Drebbel   Goto the website of Drebbel        Edit/Delete This Post   Reply with quote
rhatcher


Joined: May 21, 2002
Posts: 6
Posted: 2002-12-08 10:34   
Thanks Drebbel. Your table lines up perfectly with the example I gave. I will go back to scripting the sdf file and hope to have a mission worth sharing when I'm done.

  View Profile of rhatcher      Edit/Delete This Post   Reply with quote
horsa


Joined: Aug 01, 2002
Posts: 134
Posted: 2002-12-09 16:05   
Koralle ? or are you on Win98 ?

  View Profile of horsa      Edit/Delete This Post   Reply with quote
Lock this Topic Move this Topic Delete this Topic
Powered by phpBB Version 1.4.4
Copyright © 2000 - 2001 The phpBB Group

phpBB Created this page in 0.008510 seconds.