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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-26-09, 01:27 AM   #5
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by neosnk35 View Post
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
__________________

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
 


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 03:02 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.