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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-12-05, 10:59 AM   #1
Stavinsky
Mate
 
Join Date: Jul 2005
Posts: 55
Downloads: 1
Uploads: 0
Default Important information about LND layer (for RuB and others)

I've put the finger on something that could cause troubles.
I don't know if people working hard on the LND layer have
discovered it already, but in case they haven't i prefer to share
this information.

I'm helping Rubini with the sub pen starting idea
and was beta testing the harbour traffic mod for RuB 1.43
when i got something strange.

I've collected most of the sub pen Coordinate and Heading
so i could simply open the LND layer file, find the
german Naval base and change the Latitude, Longitude
and Heading values to set it under a sub pen.

So when i started to beta test i founded that Bergen
was still starting in the "open sky" dock, and thinking
it has escaped previous change i got it opened
and searched for the german version of Bergen Naval Base.

There I noticed that the value were correctly inserted.
So i searched further and noticed that the naval
base definition for the Norway version of Bergen
is first in the file( unit 207 in the RuB version,
the german naval base is unit 208).

That looks like the parser used to seek an Harbour
is very simple.

It seek the First instance of the Harbour name in the LND
file and happily pick the coordinate and heading from it.

I was curious to see how simple the parser is
so i've "pushed" the idea further. I've modified
the order of the base in the LND file.

I put a Norway Naval Base for Bergen 1km to the East
in the mountain (244m high). When i started the
mission my sub started to roll down the moutain
( :rotfl:, pretty costly testing)

So, i've also modified other base , like having
the French version of Brest first in the LND file
and i found my submarine not at all in the supposed
starting point for the german base, but on the "french"
coordinate.

To be sure i've opened the original LND file from the
scratch installation, and i've seen that every german naval
base that could be having different nationality during the war
have their "german" version piously declined first in the file.

So i think everything point the fact that the parsing routine
is simple and we need to be cautious on order we use
when we define naval bases, at least when we have
to use them as starting point, with some specific coordinates.


That get me to a question for the team working on the RuB
LND Layer.

Can we swap the ordre of "units" in that file without disrupting
the other parts ? is the Unit numbering used in other parts
or not ?

If the order is not a decisive factor then we can
simply change things by swapping the harbour definition
around in the LND file.

Hope it helps, and thanks for any answer to the last question.
Stavinsky
Stavinsky 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 06:28 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.