Found it. While tinkering with this Porpoise I started scrolling through the deck gun upgrade packs and found this;
[UserPlayerUnit 1.UpgradePackSlot 3]
ID= UpgDeckGun
NameDisplayable= Deck Gun
Type=NULL
AcceptedTypes=USDeckGunBasic
UserCustomizable=Yes
IDLinkUpgradePackSlots= BowDeckGun, SternDeckGun
IDLinkUpgradePackSlotsIntervalDefault1= NULL, 1943-09-01, Upack3in50calDGStern
IDLinkUpgradePackSlotsIntervalDefault2= 1943-09-02, NULL, Upack3in50calDGBow
NULL means anytime, but the kicker is the first slot "default1" sounds like it might be the first choice and therefore what it automatically starts with. So I swapped them;
[UserPlayerUnit 1.UpgradePackSlot 3]
ID= UpgDeckGun
NameDisplayable= Deck Gun
Type=NULL
AcceptedTypes=USDeckGunBasic
UserCustomizable=Yes
IDLinkUpgradePackSlots= BowDeckGun, SternDeckGun
IDLinkUpgradePackSlotsIntervalDefault1= NULL, 1943-09-01, Upack3in50calDGBow
IDLinkUpgradePackSlotsIntervalDefault2= 1943-09-02, NULL, Upack3in50calDGStern
That's all it took, started a new career and got the 3 inch 50 on the bow as a default. Work for a bigger gun? Tried Sargo next,
[UserPlayerUnit 1.UpgradePackSlot 3]
ID= UpgDeckGun
NameDisplayable= Deck Gun
Type=NULL
AcceptedTypes=USDeckGunBasic
UserCustomizable=Yes
IDLinkUpgradePackSlots= BowDeckGun, SternDeckGun
IDLinkUpgradePackSlotsIntervalDefault1= NULL, 1943-09-01, Upack4in50calDGBow
IDLinkUpgradePackSlotsIntervalDefault2= 1943-09-02, NULL, Upack3in50calDGStern
and the default gun for a career start with a Sargo is a bow mounted 4 inch 50.
So to do this, open
\Data\Submarine\NSS_SubType\NSS_SubType.upc (not SubType, change that to the type of sub you want to mod) then EDIT FIND (or CTRL F) "UpgDeckGun" and it will take you right there. Cut and paste to swap the Upack3in50calDGStern and Upack3in50calDGBow and you got a bow gun instead of stern gun by default.
|