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 12-12-05, 06:34 PM   #1
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default How to change ports for a floatilla (edited)

EDIT: See next post below in thread


--------------------------------------------------------------------
Ive been tinkering with a full blown indian ocean/pacific campaign. No historical relevance at all. Just an alternate campaign for fun.

So far its been just a hackjob splicing Harbor traffic and Improved convoys to attempt it have it as an option to the existing atlantic/drumbeat/med campagins. However i think im at a point where id be better off scrapping that and runing this campaign so its mutuall exclusive. So im gonna scrap everything and start over with default files. Its just cleaner this way, and i wont run into issues.

Now to the point, I want ot change Penang as the 12th floatillas base. Reason is i figure it would be nice to have a full service port.

So i could go about this in two ways.

1. Have the player start off in beudoux (sp) in 42 and have the base change to penang in 43

2.) Just make it penang the whole campign, its not realistic to begin with anyway, so why worry about it?


So how do i do this? Is it as simple as changing beudoux starting coords to that of penangs, rename it to penang, and physicaly move the object to where i want it to be in the LND layer?
Ducimus is offline   Reply With Quote
Old 12-12-05, 06:39 PM   #2
Marhkimov
Admiral
 
Join Date: May 2005
Location: Bay Area, California, USA
Posts: 2,377
Downloads: 0
Uploads: 0
Default

Moving your base also has something to do with the Campaign LND file. You might want to look into that. There's a few flotilla files laying around in SH3, too. Don't forget to change those.

But I don't know any specifics. I've never placed down any ports myself... But Rubini would know.
__________________
It takes two to tango
Marhkimov is offline   Reply With Quote
Old 12-13-05, 12:04 PM   #3
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Well i figured it out. If anyone wants to know how to change a floatillas base, here it is, and its alot simpler then i thought, just using a file i didnt think it would use:


Take this floatilla.cfg entry for example:

Quote:
flotilla0=902
TO0=940
NbStartingDate0=4
NbDate0=6
Emblem0=data/Emblems/SubEmblems/Flotillas/1st flotilla.tga
NbBases0=2
Base0_0=750;Kiel
Date0_0_0=1939
Month0_0_0=9
Date0_0_1=1941
Month0_0_1=5
DeparturePointLong0_0=1218743.000000
DeparturePointLat0_0=6521462.000000
Heading0_0=50.251987
Base0_1=751;Brest
Date0_1_0=1941
Month0_1_0=6
Date0_1_1=1944
Month0_1_1=8
DeparturePointLong0_1=-534234.000000
DeparturePointLat0_1=5805771.000000
Heading0_1=180.000000
NbUboats0=2
Uboat0_0=0
Uboat0_1=1
So what the hell is 750 and 751 you may be asking yoruself. Its obviously the base assignments, but how is it assigning that number to a base?

After much looking around, the answer was found in a file i orginally thoguht was unrerlated.

sh3/data/menu/en_menu.txt

You'll find what your looking for nestled into alot of unrelated information:

Quote:
706=Torpedo in the water
707=%s repaired, sir!
708=%s ready, sir!
709=%s intact, sir!
710=Torpedo is a dud, sir!
711=Torpedo missed, sir!
712=Cannot man the deck gun! Sea is too rough, sir!
713=Cannot man the flak gun! Sea is too rough, sir!
714=Cannot man the flak guns! Sea is too rough, sir!


715=Cannot assign crew to tower deck or guns compartments when submerged.
716=Not enough crew in %s compartment, sir!

720=Flooding Recovery
721=Transfer not possible!
722=No replacements available!

750=Kiel
751=Brest
752=Wilhelmshaven
753=Lorient
754=St. Nazaire
755=Bergen
756=Bordeaux
757=La Spezia
758=Toulon
759=Flensburg


801=Short
802=Medium
803=Long

810=Ship spotted, sir! Bearing %03d! %s range!
811=Aircraft spotted, sir! Bearing %03d! %s range!
812=Submarine spotted, sir! Bearing %03d! %s range!
813=Land unit spotted, sir! Bearing %03d! %s range!
814=Radar contact, sir! Bearing %03d! %s range!
815=Sound contact, sir! %s %s %s Bearing %03d! %s range!
816=Radio Report Received! %s %s, %s, Course %s, Speed %d KTS!
817=Detecting radar signals!
So in my case i added:
760=Penang

Then changed the appropriate entry in the floatilla.cfg.

Works like a charm. Notice that you have room to add alot more numbers there. One idea would be to move the 11th floatilla to one of the northern bases near the artic :rotfl:
Ducimus is offline   Reply With Quote
Old 12-13-05, 12:21 PM   #4
CB..
Ace of the Deep
 
Join Date: Apr 2002
Location: UK
Posts: 1,278
Downloads: 0
Uploads: 0
Default

nice one!!
would be a cinch to add La Pallice to the list
__________________
the world's tinyiest sh3 supermod-
and other SH3/SH2 stuff

http://www.ebort2.co.uk/


The best lack all conviction, while the worst
Are full of passionate intensity.

W.B.Yeats
CB.. is offline   Reply With Quote
Old 12-13-05, 12:24 PM   #5
Marhkimov
Admiral
 
Join Date: May 2005
Location: Bay Area, California, USA
Posts: 2,377
Downloads: 0
Uploads: 0
Default

So Ducimus,

Did you find out how to add a completely new flotilla? Or did you modify a default flotilla into Penang? Yes, I'd also like to see La Pallice.
__________________
It takes two to tango
Marhkimov is offline   Reply With Quote
Old 12-13-05, 02:45 PM   #6
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Quote:
Originally Posted by marhkimov
So Ducimus,

Did you find out how to add a completely new flotilla? Or did you modify a default flotilla into Penang? Yes, I'd also like to see La Pallice.

I suppose you could do that. But it's not really neccessary for what im doing.

Which is a total FICTION. The campaign im doing has no histroical relevance at all. This campaign isnt a WW2 submarine simulator, its a submarine game which takes place with WW2 era technowlegy.

Ive played for realism a bunch. But sometimes i want to play for some lip smacking, edge of your seat thrills.

My focus is on:

- Small well protected convoys comprised of some JUICY targets. Composition is 4 ship convoys with 3 to 4 escorts.

- HK encounters

- Warship battles (havent added it yet but im going to put in some warship battles where you can take part or just watch)

- cruise with a commerce raider

- Be a "privateer" with the locals (occasional tugboat or trawler for you to use deck guns or flak guns on for fun)


I think the overall inspiration is many of the stories ive read from WW2 pacific american subs. Blowing up sanpans, flattops, etc.
Ducimus is offline   Reply With Quote
Old 12-13-05, 06:23 PM   #7
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Quote:
Originally Posted by CB..
nice one!!
would be a cinch to add La Pallice to the list
You still have to add it to the LND layer. The Navel bases in the LND layer are nothing more then starting points. The name you give it, is what you put in the en_menu.txt

Now having an acutal port there with docks or bunkers is another matter. I think that is set by the locations.cfg file in the terran directory.

So to add La Pallice you'd have to (i think)

1.) Create and place it in the LND layer, noting the Long & lat coords..
2.) give it a number in the en_menu.txt
3.) Edit your basic.cfg to use the number in step 2, and give it the coords you got from step 1 when you were in the LND layer.
Ducimus is offline   Reply With Quote
Old 12-13-05, 06:28 PM   #8
Marhkimov
Admiral
 
Join Date: May 2005
Location: Bay Area, California, USA
Posts: 2,377
Downloads: 0
Uploads: 0
Default

Rubini et al have tried to add the 3rd flotilla (La Pallice) to the game, but they keep getting CTDs...
__________________
It takes two to tango
Marhkimov is offline   Reply With Quote
Old 12-13-05, 07:46 PM   #9
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Quote:
Originally Posted by marhkimov
Rubini et al have tried to add the 3rd flotilla (La Pallice) to the game, but they keep getting CTDs...

Adding an entirely new floatilla is a wee bit different then a base.
Ducimus is offline   Reply With Quote
Reply


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 04:14 PM.


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.