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

Reply
 
Thread Tools Display Modes
Old 02-27-09, 05:29 PM   #1
Von M
Watch
 
Join Date: Jan 2009
Posts: 22
Downloads: 28
Uploads: 2
Help needed adding a new home base

I'm goofing around and trying to make a new home base that is not PH, Midway, Brisbane, or Fremantle.

I set it up in the US_NavalBases.mis, added port graphics in the campagin_LOC.mis file and I have all the career and flotilla data set up, I can see it in the career start menu(s), select it, and start a patrol from it; but when I come "home" to it the "End Patrol" is always grayed out.

Anybody know what I missed/overlooked?


thanks,

VM
Von M is offline   Reply With Quote
Old 02-27-09, 07:20 PM   #2
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by Von M
I'm goofing around and trying to make a new home base that is not PH, Midway, Brisbane, or Fremantle.

I set it up in the US_NavalBases.mis, added port graphics in the campagin_LOC.mis file and I have all the career and flotilla data set up, I can see it in the career start menu(s), select it, and start a patrol from it; but when I come "home" to it the "End Patrol" is always grayed out.

Anybody know what I missed/overlooked?


thanks,

VM
You may have the flotilla file set wrong. Could be other things too. One question: Look over all the bases while on Patrol, is there a base with a tilted anchor (which would mean your base changed). OK, two questions: When you start your mission is the anchor at your new base tilted? If it is not then you probably set the career start properly but the flotilla wrong. OK three questions: Is this a MOD or did you just change the files. If it is a MOD that you can post for download maybe we would get a minute to look at it.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 02-27-09, 11:21 PM   #3
Von M
Watch
 
Join Date: Jan 2009
Posts: 22
Downloads: 28
Uploads: 2
Default

Hey guys,

I put in the Midway base following what TMO has and I did the same thing for the base I wanted to create in Tulagi. I start at tulagi just fine with the ship I'm supposed to but the tilted anchor is not on the map anywhere at any base.


This is what I have:
Career file for 1943 start:

[CareerStart 3.Flotilla 5]
ID= C3Flotilla5
NameDisplayable= Tulagi Sub Base
IDLinkFlotilla= TulagiCommand ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F5Baltimore, 4, F5Iowa, 2 ; enumeration of ID(s) that point to submarine upc file
FlotillaBriefingText=
FlotillaCommonality= 1 ; to be used when a random choice is assigned


Flotilla file:

[Flotilla 5]
ID= TulagiCommand
NameDisplayable= Tulagi
AvailabilityInterval=1942-10-02, 1945-01-30

[Flotilla 5.Base 1]
ID= Tulagi Sub Base
NameDisplayable= Tulagi Sub Base, Tulagi
ExternalBaseName= Tulagi Sub Base
AvailabilityInterval= NULL, NULL
DepartureDescription1= 19220936, -1091265, 180.0 ; Enum of available points, choose one randomly each time a patrol is started
DepartureDescription2= 19220936, -1091265, 180.0
DepartureDescriptionOut1= 19219424, -1098265, 180.0

[Flotilla 5.UserPlayerUnitType 1]
ID= F5Baltimore
NameDisplayable= CA Baltimore
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Baltimore
UnitTypeCommonality= 11 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL

[Flotilla 5.UserPlayerUnitType 2]
ID= F5Iowa
NameDisplayable= BB Iowa
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Iowa
UnitTypeCommonality= 15 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one



In addition to the appropriate mission files for both ships afterwards. It's gotta be something simple that I'm just not seeing (you know how it is with code sometimes).


Thanks guys,


VM
Von M is offline   Reply With Quote
Old 02-28-09, 12:46 AM   #4
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Von M,

The very first thing I would do is open the mission editor, load in the US_NavalBases.mis and select the Tulagi base, check properties and make sure that the name you gave the base matches the "ExternalBaseName". If it does not match, it will do exactly what you have described. So if the "Unit Name" does not say "Tulagi Sub Base" (without the quotes of course)then that is the problem.


[Flotilla 5.Base 1]
ID= Tulagi Sub Base
NameDisplayable= Tulagi Sub Base, Tulagi
ExternalBaseName= Tulagi Sub Base

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 02-28-09, 12:50 AM   #5
jmardlin
Soundman
 
Join Date: Jan 2009
Location: Millington, MI USA
Posts: 145
Downloads: 10
Uploads: 8
Default

is there a flotilla 4 for career start 3 if not this may be your problem. The game can be finicky about things like that.
jmardlin is offline   Reply With Quote
Old 02-28-09, 04:51 AM   #6
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by jmardlin
is there a flotilla 4 for career start 3 if not this may be your problem. The game can be finicky about things like that.
Good point, I didn't ask since he made the comment about putting in the Midway base, I just assumed it was 4, but maybe it wasn't. 4 is in there but it is all commented out. But I am not sure if that would create the problem he is having but I guess it could.

Well, we will find out when he answers.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 02-28-09, 04:11 PM   #7
Von M
Watch
 
Join Date: Jan 2009
Posts: 22
Downloads: 28
Uploads: 2
Default

Quote:
Originally Posted by peabody
Von M,

The very first thing I would do is open the mission editor, load in the US_NavalBases.mis and select the Tulagi base, check properties and make sure that the name you gave the base matches the "ExternalBaseName". If it does not match, it will do exactly what you have described. So if the "Unit Name" does not say "Tulagi Sub Base" (without the quotes of course)then that is the problem.


[Flotilla 5.Base 1]
ID= Tulagi Sub Base
NameDisplayable= Tulagi Sub Base, Tulagi
ExternalBaseName= Tulagi Sub Base

Peabody

That was it Peabody. Lol, man, I looked at those files a hundred times and missed it EVERY time.

...And as a now irrelevant side note Midway was #4 and worked like a champ.


Thanks a bunch fellas,

I'm gonna go buy some new glasses.

VM
Von M is offline   Reply With Quote
Old 02-28-09, 05:18 PM   #8
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by Von M
Quote:
Originally Posted by peabody
Von M,

The very first thing I would do is open the mission editor, load in the US_NavalBases.mis and select the Tulagi base, check properties and make sure that the name you gave the base matches the "ExternalBaseName". If it does not match, it will do exactly what you have described. So if the "Unit Name" does not say "Tulagi Sub Base" (without the quotes of course)then that is the problem.


[Flotilla 5.Base 1]
ID= Tulagi Sub Base
NameDisplayable= Tulagi Sub Base, Tulagi
ExternalBaseName= Tulagi Sub Base

Peabody
That was it Peabody. Lol, man, I looked at those files a hundred times and missed it EVERY time.

...And as a now irrelevant side note Midway was #4 and worked like a champ.


Thanks a bunch fellas,

I'm gonna go buy some new glasses.

VM
No problem, I am a beginner and don't know a lot but I'll help when I can. That was the reason I asked if you could post the files. The mistake isn't always where you think it is. This time it was in the US_NavalBases.mis, not in the files you showed us.
Just as a side note about the #4 for beginners who may read this. It was a possibility because there is a Flotilla4 but it is commented out. But beginners to modding may not know that the semicolon in front of the lines means the game ignores those lines. So jmardlin came up with an idea I didn't think of, that maybe you had done 5 and 6 instead of 4 and 5.
I still don't understand the commonality stuff in there.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 03-02-09, 03:28 AM   #9
jmardlin
Soundman
 
Join Date: Jan 2009
Location: Millington, MI USA
Posts: 145
Downloads: 10
Uploads: 8
Default

Remember that was one of the problems I had getting Your Iowa playable in career things commented out and the numbers not being reordered in the upc.
jmardlin is offline   Reply With Quote
Old 03-02-09, 01:37 PM   #10
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by jmardlin
Remember that was one of the problems I had getting Your Iowa playable in career things commented out and the numbers not being reordered in the upc.
That is probably the mistake because I did renumber them but must have missed something, or commented out something I shouln't have. Here is an example.

[UserPlayerUnit 1.FunctionalSubsystem 19]
ID= ObservPeriscope
NameDisplayable= Observation Periscope
FunctionalType= SensorPeriscope
IDLinkFunctionalSubsystemSlots= ObsPeriscopeHeadSlot, 0, ScopeBase1, 1

[UserPlayerUnit 1.FunctionalSubsystem 20]
ID= DeckGun1
NameDisplayable= Bow Deck Gun
FunctionalType= WeaponMainCannon
IDLinkFunctionalSubsystemSlots= BowDeckGun, 1

;[UserPlayerUnit 1.FunctionalSubsystem 29] Note the commented out number
;ID= DeckGun2
;NameDisplayable= Stern Deck Gun
;FunctionalType= WeaponMainCannon
;IDLinkFunctionalSubsystemSlots= SternDeckGun, 1

[UserPlayerUnit 1.FunctionalSubsystem 21]
ID= FlakGun1
NameDisplayable= 1st Flak Gun
FunctionalType= WeaponFlak
IDLinkFunctionalSubsystemSlots= CTBackAA, 1

So I must have missed one (or more) since I did renumber them.

But what ever it was glad you got it fixed.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody 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 12:07 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.