![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#5 | |
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]() Quote:
[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
__________________
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. |
|
![]() |
![]() |
|
|