| View previous topic :: View next topic |
| Author |
Message |
Sheppard
Joined: 17 Mar 2005 Posts: 369
|
Posted: Sun Apr 03, 2005 7:30 am Post subject: Adding 30th Flotilla in the Black Sea |
|
|
I've edited the Flotilla.cfg file with the following; but whenever
I move the campaign year to 1941 to begin a campaign, the
game CTDs...I think the sequence I've bolded in yellow is
responsible:
| Quote: | Flotilla8=910;30th Flotilla
TO8=945;Black Sea
NbStartingDate8=3
NbDate8=4
Emblem8=data/Emblems/SubEmblems/Flotillas/30th flotilla.tga
NbBases8=1
Base8_0=780;Constantza
Date8_0_0=1941
Month8_0_0=10
Date8_0_1=1944
Month8_0_1=9
DeparturePointLong8_0=306500.000000
DeparturePointLat8_0=441800.000000
Heading8_0=90.00
NbUboats8=1
Uboat8_0=0
Date80=1941
Month80=10
Starting80=Yes
TypeSub80=0; IIA
VersionSub80=2
iNbName80=6
Name800=U-18
Name801=U-19
Name802=U-20
Name803=U-23
Name804=U-24
Name805=U-9
T0_800=60
T0_801=80
T2_800=15
T2_801=20
PlayerStartRenown80=500
Jan8200=BE33
Jan8201=BF89
Jan8202=BF26
Jan8203=BF21
Jan8204=AM97
Febr8200=AM95
Febr8201=AM92
Febr8202=AM87
Febr8203=AN73
Febr8204=BF31
March8200=BF25
March8201=BF31
March8202=AM53
March8203=AM28
March8204=BF11
April8200=AN84
April8201=AN59
April8202=AN44
April8203=AM95
April8204=AM97
May8200=BF12
May8201=BF16
May8202=BF41
May8203=BF26
May8204=BE93
June8200=AM53
June8201=AM27
June8202=AN52
June8203=AN73
June8204=BF25
July8200=BF18
July8201=BF25
July8202=BF21
July8203=AM54
July8204=AM39
Aug8200=AN67
Aug8201=AN47
Aug8202=BF32
Aug8203=BF13
Aug8204=AM95
Sept8200=AM28
Sept8201=AM52
Sept8202=AN51
Sept8203=AN84
Sept8204=AN55
Oct8200=BE33
Oct8201=BF12
Oct8202=AM89
Oct8203=BF25
Oct8204=AM64
Nov8200=AM68
Nov8201=AM98
Nov8202=BF21
Nov8203=BF31
Nov8204=BF33
Dec8200=AN84
Dec8201=AN73
Dec8202=AN51
Dec8203=AN16
Dec8204=AM53
Jan8210=AM14
Jan8211=AM27
Jan8212=AL36
Jan8213=BE22
Jan8214=BE67
Febr8210=BE91
Febr8211=BE97
Febr8212=BE31
Febr8213=AL63
Febr8214=AL28
March8210=AM11
March8211=AM19
March8212=AM71
March8213=AM78
March8214=BE65
April8210=AE88
April8211=AL35
April8212=AL69
April8213=AM24
April8214=BF17
May8210=BE37
May8211=AM74
May8212=AM21
May8213=AE78
May8214=AL29
June8210=BE64
June8211=CF91
June8212=DH22
June8213=CG77
June8214=DH84
July8210=BF77
July8211=BE84
July8212=CF55
July8213=CF98
July8214=DH19
Aug8210=DH33
Aug8211=CF88
Aug8212=CF61
Aug8213=BE97
Aug8214=CG11
Sept8210=BE69
Sept8211=BE83
Sept8212=CF27
Sept8213=CF99
Sept8214=DH33
Oct8210=DH61
Oct8211=CF98
Oct8212=CF64
Oct8213=CG44
Oct8214=CG87
Nov8210=DJ13
Nov8211=CG88
Nov8212=BE47
Nov8213=CF36
Nov8214=BE99
Dec8210=CG79
Dec8211=DH32
Dec8212=DJ21
Dec8213=DJ42
Dec8214=CG47
Jan8220=CF89
Jan8221=DH56
Jan8222=CG73
Jan8223=DJ19
Jan8224=DT28
Febr8220=BE99
Febr8221=CF66
Febr8222=DH28
Febr8223=CG73
Febr8224=DG91
March8220=EJ84
March8221=ET41
March8222=ES69
March8223=FF58
March8224=DT98
April8220=EH95
April8221=EJ19
April8222=ET13
April8223=EK74
April8224=DH86
May8220=DH41
May8221=DT34
May8222=DS67
May8223=DG33
May8224=CF98
June8220=CG77
June8221=DJ11
June8222=DH26
June8223=CF59
June8224=CG16
July8220=EJ96
July8221=DH28
July8222=DT34
July8223=EK77
July8224=DU41
Aug8220=CF86
Aug8221=CG44
Aug8222=CG87
Aug8223=DT54
Aug8224=DJ81
Sept8220=BE86
Sept8221=CF96
Sept8222=DH39
Sept8223=CG89
Sept8224=DJ21
Oct8220=DU41
Oct8221=DT79
Oct8222=EK14
Oct8223=EJ82
Oct8224=CG57
Nov8220=ET98
Nov8221=EJ58
Nov8222=ES63
Nov8223=DH63
Nov8224=CF69
Dec8220=CG88
Dec8221=DJ13
Dec8222=CF86
Dec8223=EK87
Dec8224=EJ23 |
BTW, I added the following lines to the en_menu.txt file:
278=The 30th Flotilla was founded in October 1941 under the command of Kptlt. Helmut Rosenbaum. The boats reached Constanza after a transport over land and canals. The operational area was limited to the Black Sea. Its history ended in September 1944, when the three last Flotilla's boats U-19, U-20 and U-23 were scuttled on 10 September, 1944 near the Turkish coast.
910=30th Flotilla |
|
| Back to top |
|
 |
Capn Tucker
Joined: 20 Mar 2005 Posts: 748 Location: DB56
|
Posted: Sun Apr 03, 2005 7:57 pm Post subject: |
|
|
| I know nothing about this sort of thing, but I hope you manage to sort it out. Having another campaign option would be nice. I am very surprised though, that our Romanian devs didn't include boats that operated in their own back yard... |
|
| Back to top |
|
 |
Egan
Joined: 21 Sep 2001 Posts: 2325 Location: Red Clydeside
|
Posted: Sun Apr 03, 2005 8:03 pm Post subject: |
|
|
There is a different flotilla cgf file in
SilentHunterIII\data\Menu\cfg\menu.
I don't know if you have seen this one?
I haven't looked at flotilla stuff at all so I couldn't say what this one does. |
|
| Back to top |
|
 |
Beery
Joined: 09 Nov 2004 Posts: 2817 Location: Boston, MA, USA
|
Posted: Sun Apr 03, 2005 9:01 pm Post subject: |
|
|
| Egan wrote: | There is a different flotilla cgf file in
SilentHunterIII\data\Menu\cfg\menu.
I don't know if you have seen this one?
I haven't looked at flotilla stuff at all so I couldn't say what this one does. |
I believe this is the position of the sub and base graphics on the map that appears when you start a new career. As far as I can tell it has no effect on the actual harbour position or flotilla assignments. |
|
| Back to top |
|
 |
LuisCamoes
Joined: 24 Mar 2005 Posts: 299
|
Posted: Sun Apr 03, 2005 9:10 pm Post subject: |
|
|
| check those patrol sectors to m8 you gat some going near england, saw a couple of AM zones. Remember , no sub ever got in or out of the med during the war. The ducks were shiped unassembled via rail. |
|
| Back to top |
|
 |
Sheppard
Joined: 17 Mar 2005 Posts: 369
|
Posted: Sun Apr 03, 2005 9:14 pm Post subject: |
|
|
| LuisCamoes wrote: | | check those patrol sectors to m8 you gat some going near england, saw a couple of AM zones. Remember , no sub ever got in or out of the med during the war. The ducks were shiped unassembled via rail. |
I know about the patrol sectors, comrade I'm using an existing
flotilla file as it is now, to try and get something working... |
|
| Back to top |
|
 |
Hitman
Joined: 14 Sep 2002 Posts: 3059 Location: Spain
|
Posted: Sun Apr 03, 2005 9:32 pm Post subject: |
|
|
First of all check that any graphics called by the menu do really exist. For example: | Quote: | Emblem8=data/Emblems/SubEmblems/Flotillas/30th flotilla.tga
| Does that 30th Flotilla emblem really exist? If it doesn't, its logical that it crashes the menu.
Second, check any other graphics that should be displayed on the menu when creating a new Flotilla. How does that icon of the U-Boot f.e. get to be displayed on the proper base? Did you ensure you told the game to display now such an icon in the Campaign map, and specifically on the Black Sea? Is in fact the city of Constanza visible on that map? If not, might that be the cause of the crash, i.e., does the game crash because it can't place the submarine icon outside of the map?
Modding never has been easy! :know: |
|
| Back to top |
|
 |
Beery
Joined: 09 Nov 2004 Posts: 2817 Location: Boston, MA, USA
|
Posted: Sun Apr 03, 2005 10:34 pm Post subject: Re: Adding 30th Flotilla in the Black Sea |
|
|
| Sheppard wrote: | I've edited the Flotilla.cfg file with the following; but whenever
I move the campaign year to 1941 to begin a campaign, the
game CTDs...I think the sequence I've bolded in yellow is
responsible:
| Quote: | Flotilla8=910;30th Flotilla
TO8=945;Black Sea
NbStartingDate8=3
NbDate8=4 |
|
The 'NbStartingDate8=3' is the number of starting dates you have listed for that flotilla. If it says 3 and you have only 2, it may crash.
'NbDate8=4' is (I think) the total number of years the flotilla was around, from your first starting date until the end of the war. In this case it has to be 4, so you must have listings for patrol areas for 4 years total. I think that may be how it works. |
|
| Back to top |
|
 |
LuisCamoes
Joined: 24 Mar 2005 Posts: 299
|
Posted: Sun Apr 03, 2005 11:53 pm Post subject: |
|
|
| Sheppard wrote: | | LuisCamoes wrote: | | check those patrol sectors to m8 you gat some going near england, saw a couple of AM zones. Remember , no sub ever got in or out of the med during the war. The ducks were shiped unassembled via rail. |
I know about the patrol sectors, comrade I'm using an existing
flotilla file as it is now, to try and get something working... |
 |
|
| Back to top |
|
 |
JanMasterson
Joined: 13 Apr 2005 Posts: 105
|
Posted: Wed Apr 13, 2005 2:22 pm Post subject: |
|
|
| Is it working actually? |
|
| Back to top |
|
 |
Sheppard
Joined: 17 Mar 2005 Posts: 369
|
Posted: Thu Apr 14, 2005 1:32 am Post subject: |
|
|
No, I just threw what work I had onto the board to see if anyone
could run with it and get it working; I'd like to spend time actually
playing the game  |
|
| Back to top |
|
 |
elanaiba
Joined: 21 Mar 2005 Posts: 86 Location: Bucharest, Romania
|
Posted: Thu Apr 14, 2005 5:46 am Post subject: |
|
|
I'm not sure yet if this is what crashes the game, but:
1) Did you also change the number of flottilas at the start of the file?
NbFlotilla=8 - > make it 9
NbStartingFlotilla=6 -> make it 7?
2) The format for patrol areas is as follows
Month_indexFlotilla_IndexYear_IndexSubmarine_IndexDestination
In your data, IndexYear should start at 0 since that's the first year the flotilla is active.
Will check out your yellow things.
Dan |
|
| Back to top |
|
 |
elanaiba
Joined: 21 Mar 2005 Posts: 86 Location: Bucharest, Romania
|
Posted: Thu Apr 14, 2005 10:05 am Post subject: |
|
|
Update :
NbStartingDate= how many years the flotilla will be displayed as a starting option (each year must have Starting=Yes)
NbDate=Total number of years in existance for the Flotilla - each must of course be described...
In your case I guess you were right:
NbStartingDate=3 (no point in starting in 44)
NbDate=4 |
|
| Back to top |
|
 |
Egan
Joined: 21 Sep 2001 Posts: 2325 Location: Red Clydeside
|
Posted: Thu Apr 14, 2005 1:23 pm Post subject: |
|
|
Quick question.
For flotillas who operate in area that the KM map grid doesn't cover like the black sea or the Indian ocean how are patrol areas assigned by the game? |
|
| Back to top |
|
 |
Reg
Joined: 30 Mar 2005 Posts: 106
|
Posted: Thu Apr 14, 2005 6:13 pm Post subject: Flotilla |
|
|
I've been trying the same thing.. I wanted to add a separate flotilla with a tour of duty focused on the american seaboard starting in 1943.... I've been modding all three files... flotilla.cfg, and the two files under the menu directory.
So far.. I always get a crash..
Flotilla8=910 ; defined in menu flot file
TO8=946 ; American Seaboard defined in menu txt file
NbStartingDate8=3
NbDate8=2
Emblem8=data/Emblems/SubEmblems/Flotillas/2nd flotilla.tga
NbBases8=2
Base8_0=753;Lorient
Date8_0_0=1943
Month8_0_0=2
Date8_0_1=1944
Month8_0_1=3
DeparturePointLong8_0=-399534.000000
DeparturePointLat8_0=5729529.000000
Heading8_0=135.000000
Base8_1=754;St. Nazaire
Date8_1_0=1943
Month8_1_0=2
Date8_1_1=1944
Month8_1_1=3
DeparturePointLong8_1=-286146.000000
DeparturePointLat8_1=5673410.000000
Heading8_1=180.000000
NbUboats8=2
Uboat8_0=0
Uboat8_1=1 |
|
| Back to top |
|
 |
|