Quote:
Originally Posted by neosnk35
you will get that in a balao early 1945 a dual 5'25 deckgun or you can change some files to enable it for earlier period.. dunno really which specific files to change
|
You can have bow and stern very easy for subs set up like this in the subs.upc file
[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
The default# is set up as "Startdate,Enddate,link to ID in upgradepacks"
If you look in Upgradepacks.upc you will see this:
[UpgradePack 25]
ID= Upack5in25calDGDouble......
the ID the upgrade links to
NameDisplayable= 5" 25 cal Deck Guns (Bow and Stern)
FunctionalType= UpFTypeWeaponCannon
UpgradePackSlotType= USDeckGunAdv .....
make sure it will accept this type
Type=NULL
UnitUpgradePackIntervalOptionCurrent= NULL, NULL, 0
UnitUpgradePackIntervalOptions1= 1945-01-01, NULL, 2000
IDLinkUpgradePackElements= 5in25calUS, 5in25calUS
Options1 is set up for "Startdate,Enddate,cost"
Elements is set to "bowdeckgun,sterndeckgun"
So if it says "NULL, 4in50calUS" it is a sterndeckgun.
If it is a bowdeckgun it would say "4in50calUS, NULL"
If you want both you can change it to "4in50calUS,4in50calUS"
Or the best way is to add a new entry with a new ID to link to, like the Upack5in25calDGDouble. For example Upack4in50calDGDouble and use that ID in the submarine.upc file.
You could even have different guns on the front and back of the sub.
As for the dates, there is a date in Upgradepacks.upc for the upgrade but in Weapons.upc there is are dates the weapon is available. So the double deckgun and the individual deckgun are not necessarily available at the same time. Of course if you set up your own, then it is up to you.
Peabody