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

Reply
 
Thread Tools Display Modes
Old 01-10-06, 04:20 AM   #1
Sheppard
Captain of the Nautilus
 
Join Date: Mar 2005
Posts: 146
Downloads: 223
Uploads: 0
Default Decipering the Flotilla.cfg file

What do these mean?

NbStartingDate4=4
NbDate4=4
Sheppard is offline   Reply With Quote
Old 01-10-06, 05:15 AM   #2
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default Re: Decipering the Flotilla.cfg file

Quote:
Originally Posted by Sheppard
What do these mean?

NbStartingDate4=4
NbDate4=4

Flotilla1=903 ---------------(floatilla ID number)
TO1=941 ------------------- (not sure)
NbStartingDate1=4 ----------(Number of dates you can start a career in )
NbDate1=5-------------------(total number of years the floatilla is in service)
Emblem1=data/Emblems/SubEmblems/Flotillas/2nd flotilla.tga
NbBases1=2 --------------(Number of bases this floatilla uses in its lifetime)


(self explanitory)
Base1_0=752;Wilhelmshaven
Date1_0_0=1939
Month1_0_0=8
Date1_0_1=1940
Month1_0_1=8
DeparturePointLong1_0=979726.000000
DeparturePointLat1_0=6426436.000000
Heading1_0=65.995003

(self explanitory)
Base1_1=753;Lorient
Date1_1_0=1940
Month1_1_0=9
Date1_1_1=1944
Month1_1_1=9
DeparturePointLong1_1=-399534.000000
DeparturePointLat1_1=5729529.000000
Heading1_1=135.000000


NbUboats1=2 ------------------(number of Uboats this floatilla uses)
Uboat1_0=1 --------------------( Type VII)
Uboat1_1=2---------------------(Type IX)
Ducimus is offline   Reply With Quote
Old 01-10-06, 07:48 PM   #3
Sheppard
Captain of the Nautilus
 
Join Date: Mar 2005
Posts: 146
Downloads: 223
Uploads: 0
Default

I've been trying to completely start a flotilla file from scratch; yet I keep getting crashes:

This is the complete flotilla file (for a mod I'm working on)

[Flotilla]
NbFlotilla=1
NbStartingFlotilla=1

Flotilla0=902
TO0=940
NbStartingDate0=1
NbDate0=3
Emblem0=data/Emblems/SubEmblems/Flotillas/1st flotilla.tga
NbBases0=1
Base0_0=750;Kiel
Date0_0_0=1939
Month0_0_0=9
Date0_0_1=1948
Month0_0_1=12
DeparturePointLong0_0=1218743.000000
DeparturePointLat0_0=6521462.000000
Heading0_0=50.251987
NbUboats0=2
Uboat0_0=0
Uboat0_1=1

Date00=1945
Month00=9
Starting00=Yes
TypeSub00=0; IIA
VersionSub00=0
iNbName00=3
Name000=U-1
Name001=U-2
Name002=U-3
T0_000=60
T0_001=80
T2_000=15
T2_001=20
PlayerStartRenown00=500

Jan0000=AN16
Jan0001=AN16
Jan0002=AN16
Jan0003=AN16
Jan0004=AN16

Febr0000=AN16
Febr0001=AN16
Febr0002=AN16
Febr0003=AN16
Febr0004=AN16

March0000=AN16
March0001=AN16
March0002=AN16
March0003=AN16
March0004=AN16

April0000=AN16
April0001=AN16
April0002=AN16
April0003=AN16
April0004=AN16

May0000=AN16
May0001=AN16
May0002=AN16
May0003=AN16
May0004=AN16

June0000=AN16
June0001=AN16
June0002=AN16
June0003=AN16
June0004=AN16

July0000=AN16
July0001=AN16
July0002=AN16
July0003=AN16
July0004=AN16

Aug0000=AN16
Aug0001=AN16
Aug0002=AN16
Aug0003=AN16
Aug0004=AN16

Sept0000=AN47
Sept0001=AN56
Sept0002=AN81
Sept0003=AF87
Sept0004=AN16

Oct0000=AN26
Oct0001=AN34
Oct0002=AN59
Oct0003=AN44
Oct0004=AN84

Nov0000=AN21
Nov0001=AN49
Nov0002=AN16
Nov0003=AN51
Nov0004=AN82

Dec0000=AN47
Dec0001=AN56
Dec0002=AN73
Dec0003=AN49
Dec0004=AN18

Jan0010=0
Jan0011=0
Jan0012=0
Jan0013=0
Jan0014=0

Febr0010=0
Febr0011=0
Febr0012=0
Febr0013=0
Febr0014=0

March0010=0
March0011=0
March0012=0
March0013=0
March0014=0

April0010=0
April0011=0
April0012=0
April0013=0
April0014=0

May0010=0
May0011=0
May0012=0
May0013=0
May0014=0

June0010=0
June0011=0
June0012=0
June0013=0
June0014=0

July0010=0
July0011=0
July0012=0
July0013=0
July0014=0

Aug0010=0
Aug0011=0
Aug0012=0
Aug0013=0
Aug0014=0

Sept0010=AN16
Sept0011=AN56
Sept0012=AN41
Sept0013=AN14
Sept0014=AF87

Oct0010=AN41
Oct0011=AN11
Oct0012=AN16
Oct0013=AN44
Oct0014=AN79

Nov0010=AN14
Nov0011=AN51
Nov0012=AN41
Nov0013=AN14
Nov0014=AN82

Dec0010=AN47
Dec0011=AN41
Dec0012=AN56
Dec0013=AN47
Dec0014=AN52

Jan0020=AN56
Jan0021=AN56
Jan0022=AN56
Jan0023=AN56
Jan0024=AN56

Febr0020=AN56
Febr0021=AN56
Febr0022=AN56
Febr0023=AN56
Febr0024=AN56

March0020=AN56
March0021=AN56
March0022=AN56
March0023=AN56
March0024=AN56

April0020=AN56
April0021=AN56
April0022=AN56
April0023=AN56
April0024=AN56

May0020=AN56
May0021=AN56
May0022=AN56
May0023=AN56
May0024=AN56

June0020=AN56
June0021=AN56
June0022=AN56
June0023=AN56
June0024=AN56

July0020=AN56
July0021=AN56
July0022=AN56
July0023=AN56
July0024=AN56

Aug0020=AN56
Aug0021=AN56
Aug0022=AN56
Aug0023=AN56
Aug0024=AN56

Sept0020=AN47
Sept0021=AN16
Sept0022=AN14
Sept0023=AN47
Sept0024=AN73

Oct0020=AF84
Oct0021=AN16
Oct0022=AN14
Oct0023=AN41
Oct0024=AN84

Nov0020=AN26
Nov0021=AN52
Nov0022=AN41
Nov0023=AN79
Nov0024=AF87

Dec0020=AF84
Dec0021=AN56
Dec0022=AF87
Dec0023=AN73
Dec0024=AN18

Jan0030=AN56
Jan0031=AN56
Jan0032=AN56
Jan0033=AN56
Jan0034=AN56

Febr0030=AN56
Febr0031=AN56
Febr0032=AN56
Febr0033=AN56
Febr0034=AN56

March0030=AN56
March0031=AN56
March0032=AN56
March0033=AN56
March0034=AN56

April0030=AN56
April0031=AN56
April0032=AN56
April0033=AN56
April0034=AN56

May0030=AN56
May0031=AN56
May0032=AN56
May0033=AN56
May0034=AN56

June0030=AN56
June0031=AN56
June0032=AN56
June0033=AN56
June0034=AN56

July0030=AN56
July0031=AN56
July0032=AN56
July0033=AN56
July0034=AN56

Aug0030=AN56
Aug0031=AN56
Aug0032=AN56
Aug0033=AN56
Aug0034=AN56

Sept0030=AN47
Sept0031=AN16
Sept0032=AN14
Sept0033=AN47
Sept0034=AN73

Oct0030=AF84
Oct0031=AN16
Oct0032=AN14
Oct0033=AN41
Oct0034=AN84

Nov0030=AN26
Nov0031=AN52
Nov0032=AN41
Nov0033=AN79
Nov0034=AF87

Dec0030=AF84
Dec0031=AN56
Dec0032=AF87
Dec0033=AN73
Dec0034=AN18
Sheppard is offline   Reply With Quote
Old 01-10-06, 08:12 PM   #4
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Intrestingly enough i was experimenting with this today, and i breifly had it working ( i changed something and all it does is crash now)

Adding/creating a floatilla involess ALOT more.

The floatilla.cfg only gives the flotilla values, it doesnt create the flotilla. theres alot more files you need to play with. Theres 3 files your concerned with as far as i know.


/sh3/data/cfg/floatilla.cfg
sh3/data/menu/en_menu.cfg (dont remember the name exactly)
/sh3/data/menu/cfg/floatilla.cfg

Its the entries in the en_menu.cfg that acutally create things. From bases, to flotillas. This file assigns the ID number that other files use. If you want to adda base or flotlal, you have to give it a number in this file.

Now flotilla configuration is real finicky, the game doesnt like it when things arent 100% complete, and perfect.

Another thing you should know is patrol assignments:

March0000=AN16
March0001=AN16
etc etc.

The numbers here have to match the floatilla order and year order. For example the 33rd float is the 7th listed. So it should be.

March7000=AN16
March7001=AN16


Now thats just for the first year, lets say the float starts in 1944, is only in existance for 2 years. Then then your next entry, for 1945 will be

March7100=AN16
March7101=AN16

if there were a 1946 then it would be

March7200=AN16
March7201=AN16

and so on and so on.
Ducimus is offline   Reply With Quote
Old 01-10-06, 08:23 PM   #5
Sheppard
Captain of the Nautilus
 
Join Date: Mar 2005
Posts: 146
Downloads: 223
Uploads: 0
Default

Quote:
Originally Posted by Ducimus
Intrestingly enough i was experimenting with this today, and i breifly had it working ( i changed something and all it does is crash now)
I'm actually thinking that many Flotilla dates and such were hardcoded into SH3 by the devs.
Sheppard is offline   Reply With Quote
Old 01-10-06, 08:27 PM   #6
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Quote:
Originally Posted by Sheppard

I'm actually thinking that many Flotilla dates and such were hardcoded into SH3 by the devs.
Maybe... maybe not. If its possible, im close to it. I created a fictional 36th floatilla this morning, and was able to start a game with it, and it gave me patrol grids.

I ran into two problems.

1.) I meant for it to mimic the 12th out of bourdoux, and it started it placed my starting base at keil

2.) Acutal starting patrol it put me in the usual location to the west of africa when things go wrong with the configuration files.

I didnt do pay close attention to all the detials, and i threw it all together in about 10 mins - so i didnt spend much time on it. I think its possible, like i said, i got it to start a game.

If it is, i want to create the 30th in the black sea, and an offshoot of the 12th at penang.
Ducimus is offline   Reply With Quote
Old 01-10-06, 08:37 PM   #7
Marhkimov
Admiral
 
Join Date: May 2005
Location: Bay Area, California, USA
Posts: 2,377
Downloads: 0
Uploads: 0
Default

It could be that you guys are forgetting to alter this file:

data\Campaigns\Campaign\Campaign_LND.mis


It's a really important one. Don't want to forget that.
__________________
It takes two to tango
Marhkimov is offline   Reply With Quote
Old 01-10-06, 08:43 PM   #8
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Quote:
Originally Posted by Marhkimov
It could be that you guys are forgetting to alter this file:

data\Campaigns\Campaign\Campaign_LND.mis


It's a really important one. Don't want to forget that.
How so? All thats in it is bases. The only real need for this file as far as i know, is to get the lat/long for a base.
Ducimus is offline   Reply With Quote
Old 01-10-06, 08:56 PM   #9
Marhkimov
Admiral
 
Join Date: May 2005
Location: Bay Area, California, USA
Posts: 2,377
Downloads: 0
Uploads: 0
Default

Campaign_LND.mis

It holds the lattitude, longitude, and heading of all the bases, which is really important. You'll need to edit these values if you wish to start a patrol at a different location.

This also applies to docking and starting patrols at neutral or friendly bases. This file holds the locations of all the bases, which essentially controls their respective starting locations.
__________________
It takes two to tango
Marhkimov is offline   Reply With Quote
Old 01-10-06, 09:36 PM   #10
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Yeah i realize that. In my experiments i was using my Bourdoux as my fictional Flotillas base. So in theory all i need to do use use the same values as the 12th.

I know that the 2nd and 10th flotolla's share lorient as a base.

Although thinking further for a moment, you could have a point if each flotiall requires its own starting point. I dont have it infront of me, but do the 2nd and 10th share the same lat/ long? Thats been my assumptioin since they're both out of lorient, but i havent checked to verify it.
Ducimus is offline   Reply With Quote
Old 01-10-06, 09:41 PM   #11
Marhkimov
Admiral
 
Join Date: May 2005
Location: Bay Area, California, USA
Posts: 2,377
Downloads: 0
Uploads: 0
Default

I'm not really the one to know too much about the flotilla files or the campaign files. I've already told you about as much as I know. Rubini is definately the better expert, but he's on vacation right now... hmm....
__________________
It takes two to tango
Marhkimov is offline   Reply With Quote
Old 01-10-06, 09:48 PM   #12
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Ill figure it out.

Hell, i figured out how to change a flotillas base. If i wanted to i could have the 12th floatillas home base at penag, complete with outfitting screen to upgrade your boat, just like bordoux.
Ducimus is offline   Reply With Quote
Old 01-10-06, 09:51 PM   #13
Marhkimov
Admiral
 
Join Date: May 2005
Location: Bay Area, California, USA
Posts: 2,377
Downloads: 0
Uploads: 0
Default

Cool!

I can't wait to see what you'll create for us.
__________________
It takes two to tango
Marhkimov is offline   Reply With Quote
Old 01-10-06, 10:08 PM   #14
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Quote:
Originally Posted by Marhkimov
Cool!

I can't wait to see what you'll create for us.
Depends on when i get to it.

I have two things im tinkering with (just when i was bout to give up modding - funny, ive yet to release anything)


1. Patrol based fatigue with the concept of fatigue representing food supply. Food onboard a uboat is not infinate.

2. Creating a new flotilla.

Number 1 has my attention, although i can work on number 2's files on another PC while running tests on the fatigue model in a test mission.
Ducimus is offline   Reply With Quote
Old 01-10-06, 10:29 PM   #15
Marhkimov
Admiral
 
Join Date: May 2005
Location: Bay Area, California, USA
Posts: 2,377
Downloads: 0
Uploads: 0
Default

It's ok... Modders are lazy, slow, and totally out of their mind.

Well, at least I am...
__________________
It takes two to tango
Marhkimov 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 10:11 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.