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 > Silent Hunter III
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-18-11, 11:52 AM   #1
Bakkels
Seasoned Skipper
 
Join Date: Jan 2011
Location: Groningen, The Netherlands
Posts: 663
Downloads: 101
Uploads: 6
Default

The starting locations are in the flotilla.cfg file. It's in the \silent hunter III\data\cfg map. You can just edit it with wordpad.
It's a file with a huge amount of text, so just press ctrl-f and enter the name of the port your flotilla is currently based.

A couple of lines below the name of your flotilla's port you'll find these lines:

DeparturePointLong0_0=1218360.000000
DeparturePointLat0_0=6521927.000000

(just an example, these are from Kiel)

You can edit those figures, but I have no idea how coördinates work exactly, so you'll have to ask someone else about that... Hope this helps a bit.

btw, as far as I can tell, this problem shouldn't be caused by any of the mods you're running. But if you don't mind me asking; why are you running merged campaign?
It causes sh3 to take a huge time loading; because you're loading all region's which is only necessary when you're transiting from the Atlantic to the Indian Ocean..
__________________
My sh3 skins :
http://www.gamefront.com/files/user/Bakkels
Or go to the sh3 downloads section > skins
Bakkels is offline   Reply With Quote
Old 03-18-11, 01:00 PM   #2
ryanglavin
Samurai Navy
 
Join Date: Jun 2009
Location: Evading that Hunter/Killer Group on my Tail
Posts: 580
Downloads: 35
Uploads: 0
Default

Quote:
Originally Posted by Bakkels View Post
The starting locations are in the flotilla.cfg file. It's in the \silent hunter III\data\cfg map. You can just edit it with wordpad.
It's a file with a huge amount of text, so just press ctrl-f and enter the name of the port your flotilla is currently based.

A couple of lines below the name of your flotilla's port you'll find these lines:

DeparturePointLong0_0=1218360.000000
DeparturePointLat0_0=6521927.000000

(just an example, these are from Kiel)

You can edit those figures, but I have no idea how coördinates work exactly, so you'll have to ask someone else about that... Hope this helps a bit.

btw, as far as I can tell, this problem shouldn't be caused by any of the mods you're running. But if you don't mind me asking; why are you running merged campaign?
It causes sh3 to take a huge time loading; because you're loading all region's which is only necessary when you're transiting from the Atlantic to the Indian Ocean..
I just run it to run it. Kindof as a test for my computer. It only takes about 30 seconds to load either screen... (The main one and the one for starting a mission or a patrol)
__________________
ryanglavin is offline   Reply With Quote
Old 03-18-11, 01:05 PM   #3
Bakkels
Seasoned Skipper
 
Join Date: Jan 2011
Location: Groningen, The Netherlands
Posts: 663
Downloads: 101
Uploads: 6
Default

Well consider yourself lucky, the game itself loads pretty quick here, but when I want to start a mission I've got to wait 5 minutes or something like that...
__________________
My sh3 skins :
http://www.gamefront.com/files/user/Bakkels
Or go to the sh3 downloads section > skins
Bakkels is offline   Reply With Quote
Old 03-18-11, 01:36 PM   #4
ryanglavin
Samurai Navy
 
Join Date: Jun 2009
Location: Evading that Hunter/Killer Group on my Tail
Posts: 580
Downloads: 35
Uploads: 0
Default

Quote:
Originally Posted by Bakkels View Post
Well consider yourself lucky, the game itself loads pretty quick here, but when I want to start a mission I've got to wait 5 minutes or something like that...
Yep, my just recently build gaming computer. It'll probably last me 5 more years.
__________________
ryanglavin is offline   Reply With Quote
Old 03-18-11, 01:54 PM   #5
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by Bakkels View Post
The starting locations are in the flotilla.cfg file. It's in the \silent hunter III\data\cfg map. You can just edit it with wordpad.
It's a file with a huge amount of text, so just press ctrl-f and enter the name of the port your flotilla is currently based.

A couple of lines below the name of your flotilla's port you'll find these lines:

DeparturePointLong0_0=1218360.000000
DeparturePointLat0_0=6521927.000000

(just an example, these are from Kiel)

You can edit those figures, but I have no idea how coördinates work exactly, so you'll have to ask someone else about that... Hope this helps a bit.
Thanks, I thought it was probably controlled by the flotillas file, but it's never occurred to me to type in a base name and let Windows search the file for the right section. D'oh!

If nothing else we can see what the values are in the unmodded GWX install and compare them with what's in the file he's got now, if they're different then they can be changed back and that should move the starting points to their original locations at the subpens. Provided nothing else alters the file afterwards, and certainly none of the mods listed would alter the starting locations AFAIK even if they were disabled and re-enabled and allowed to overwrite stuff again.

@ ryanglavin: I wonder was there a time that you had start at sea checked and then for some reason didn't roll back after exiting the game? Not sure if you're using Auto-Rollback or doing it manually.

Because if you had 'start at sea' checked and didn't roll back, Commander would've changed the DeparturePoint info when you launched the game, and it would never have gotten changed back when you exited. Then even unchecking the option again wouldn't do anything, since the altered DeparturePoint info would still be in the game files and Commander would have no reason to overwrite it either way.

Anyway - a comparison of the data from your flotillas.cfg and one that hasn't had the DeparturePoint data altered will tell us something.
frau kaleun is offline   Reply With Quote
Old 03-18-11, 02:06 PM   #6
ryanglavin
Samurai Navy
 
Join Date: Jun 2009
Location: Evading that Hunter/Killer Group on my Tail
Posts: 580
Downloads: 35
Uploads: 0
Default

I live by rollback, haha. Always manual so I always remember to do it. So what files do I check?
__________________
ryanglavin is offline   Reply With Quote
Old 03-18-11, 02:19 PM   #7
Bakkels
Seasoned Skipper
 
Join Date: Jan 2011
Location: Groningen, The Netherlands
Posts: 663
Downloads: 101
Uploads: 6
Default

The file I showed you a few posts back, flotilla.cfg. If you name me the base you're starting from, I can give you the right numbers to add in there.
__________________
My sh3 skins :
http://www.gamefront.com/files/user/Bakkels
Or go to the sh3 downloads section > skins
Bakkels is offline   Reply With Quote
Old 03-18-11, 02:20 PM   #8
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by ryanglavin View Post
I live by rollback, haha. Always manual so I always remember to do it. So what files do I check?
Two questions:

1) If you are concerned about remembering to do it, why do it manually at all?

The Auto-Rollback option does it automatically so you don't need to remember to do it manually.

-and-

2) If you are rolling back manually, do you do it every time you exit the game, or only when you finish a patrol?

IIRC there are some changes Commander can make to the game files that cannot be undone just by deselecting the related option at a later date and relaunching the game. Once the change is made, if a rollback is not performed (either manually or automatically) when you exit that gaming session, the changes will remain in place until they are manually edited out of the game files (or some other mod is enabled that overwrites the affected file).

That's why I'm wondering if "start at sea" was checked at the launch of one gaming session, which ended without a rollback being done, and then unchecked at a later time. If you were in and out of the game several times before finishing the patrol, and you only rolled back after the last session where you completed the patrol, I think it would've been too late to uncheck the option and have it undo the changes made when you first checked it.
frau kaleun is offline   Reply With Quote
Old 03-18-11, 03:00 PM   #9
ryanglavin
Samurai Navy
 
Join Date: Jun 2009
Location: Evading that Hunter/Killer Group on my Tail
Posts: 580
Downloads: 35
Uploads: 0
Default

Quote:
Originally Posted by frau kaleun View Post
Two questions:

1) If you are concerned about remembering to do it, why do it manually at all?

The Auto-Rollback option does it automatically so you don't need to remember to do it manually.

-and-

2) If you are rolling back manually, do you do it every time you exit the game, or only when you finish a patrol?

IIRC there are some changes Commander can make to the game files that cannot be undone just by deselecting the related option at a later date and relaunching the game. Once the change is made, if a rollback is not performed (either manually or automatically) when you exit that gaming session, the changes will remain in place until they are manually edited out of the game files (or some other mod is enabled that overwrites the affected file).

That's why I'm wondering if "start at sea" was checked at the launch of one gaming session, which ended without a rollback being done, and then unchecked at a later time. If you were in and out of the game several times before finishing the patrol, and you only rolled back after the last session where you completed the patrol, I think it would've been too late to uncheck the option and have it undo the changes made when you first checked it.
I usually do it whenever I finish a patrol, as I like to look at the patrol log of that patrol
__________________
ryanglavin is offline   Reply With Quote
Old 03-18-11, 03:29 PM   #10
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by ryanglavin View Post
I usually do it whenever I finish a patrol, as I like to look at the patrol log of that patrol
If you are going to rollback Commander, you should do it every time you exit the game - whether you finish the patrol or not. Using rollback has nothing to do with looking at the patrol logs, so I assume you mean that you manually rollback at the end of a patrol because that's the only time you open Commander again after exiting the game. But auto-rollback will perform a rollback on exit every time whether you finish a patrol or not. You don't have to remember to rollback, you don't have to remember to reopen Commander. Definitely the way to go IMO.

At any rate I suspect this may be where your persistent "start at sea" base locations are coming from.

If you launched the game one time with "start at sea" checked, Commander changed the DeparturePoint settings for all the base locations. If you exited the game after that session without a rollback, the new DeparturePoint info was left the way it was during that session with all your bases located outside their harbors. They will stay that way until you manually edit them, because deselecting the "start at sea" option probably doesn't overwrite that file again with the original data, it just prevents the same alternate data from being written in a second time.

Auto-rollback is your friend, if you're rolling back anyway there's no reason not to use it and let it rollback every time you exit the game.
frau kaleun is offline   Reply With Quote
Old 03-18-11, 05:29 PM   #11
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Okay... from data\Cfg\Flotilla.cfg, here is the GWX3 unmodded data for the location of the bases:

Kiel
DeparturePointLong0_0=1218360.000000
DeparturePointLat0_0=6521927.000000

Brest
DeparturePointLong0_1=-534395.000000
DeparturePointLat0_1=5805818.000000

Wilhelmshaven
DeparturePointLong1_0=973144.000000
DeparturePointLat1_0=6420906.000000

Lorient
DeparturePointLong1_1=-399068.000000
DeparturePointLat1_1=5729721.000000

Königsberg
DeparturePointLong2_0=2446551.000000
DeparturePointLat2_0=6560480.000000

St. Nazaire
DeparturePointLong2_2=-286409.000000
DeparturePointLat2_2=5673433.000000

Trondheim
DeparturePointLong2_3=1244910.000000
DeparturePointLat2_3=7612441.000000

Penang
DeparturePointLong3_1=12041654.000000
DeparturePointLat3_1=651371.000000

Jakarta
DeparturePointLong3_2=12820015.000000
DeparturePointLat3_2=-734089.000000

Bergen
DeparturePointLong4_0=637589.000000
DeparturePointLat4_0=7249043.000000

Salamis
DeparturePointLong5_0=2823883.000000
DeparturePointLat5_0=4557002.000000

La Spezia
DeparturePointLong5_1=1182453.000000
DeparturePointLat5_1=5292137.000000

Toulon
DeparturePointLong5_2=706306.000000
DeparturePointLat5_2=5173530.000000

Bordeaux
DeparturePointLong6_0=-103542.000000
DeparturePointLat6_0=5447207.000000

Constanza
DeparturePointLong7_0=3436705.000000
DeparturePointLat7_0=5297686.000000

flensburg
DeparturePointLong7_1=1133815.000000
DeparturePointLat7_1=6577820.000000

Open your current version of flotilla.cfg and find where each base is listed. Some are listed under more than one flotilla.

Wherever the base's name appears, a few lines below it you'll see coordinates listed for DeparturePointLong & DeparturePointLat for that base as associated with that flotilla.

The long strings of numbers that I have bolded above are what you need to look at, they are the coordinates that determine the latitude/longitude of the base when it appears in the SH3 world. If a base appears in the file more than once, for two or more flotillas, it should still have the same coordinates in all instances (no matter if the unbolded bit before the '=' is different).

Restoring the original coordinates should place your departure points back where they were originally, and the game shouldn't place you outside the harbor when you start a new patrol.

If it doesn't work, or your current data already matches the above, then I'm stumped.

Also: note that some of the coordinates have a minus sign in front of them ('-'). Don't leave that out if you put in the data copied above!
frau kaleun is offline   Reply With Quote
Reply

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 01:16 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.