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 05-01-19, 06:00 PM   #1
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default Flak Happy

Rehash of this old thread;

http://www.subsim.com/radioroom/showthread.php?t=211849

Trying to remember how di do dat, and adding twin mount 40s to a sub. Never felt the need for that, single 40s will usually chew up merchies fast enough, but somebody asked so I tinkered with this.

First problem I found is there IS a Upack40mmTwin in UpgradePacks.upc, but near as I can tell it's not used in any US sub, at least in 1.4. Has to be edited;

[UpgradePack 11]
ID= Upack40mmTwin
NameDisplayable= Twin 40mm AA Gun
FunctionalType= UpFTypeWeaponFlak
UpgradePackSlotType= USDeckGun
Type=NULL
UnitUpgradePackIntervalOptionCurrent= NULL, NULL, 0
UnitUpgradePackIntervalOptions1= 1941-05-08, NULL, 1000
IDLinkUpgradePackElements= 40mmTwinUS

Has to be changed to;

[UpgradePack 11]
ID= Upack40mmTwin
NameDisplayable= Twin 40mm AA Gun
FunctionalType= UpFTypeWeaponFlak
UpgradePackSlotType= USHeavyAA
Type=NULL
UnitUpgradePackIntervalOptionCurrent= NULL, NULL, 0
UnitUpgradePackIntervalOptions1= 1941-05-08, NULL, 1000
IDLinkUpgradePackElements= 40mmTwinUS

Then the UnitParts1Gato.upc has to be edited, FIND, REPLACE Upack40mmSingle with Upack40mmTwin.

Then the \Submarine\NSS_SubType\NSS_SubType.upc has to be edited;

[UserPlayerUnit 1.UnitPartSlot 1]
ID=GatoConningSlot
NameDisplayable=Conning Tower Mount
Type=NULL
AcceptedTypes=GatoConningTower
IDLinkUnitPartIntervalDefault1= NULL, 1942-09-31, GatoConningEarlyWar ;Only UnitParts of this type could be placed here
IDLinkUnitPartIntervalDefault2= 1942-10-01, 1943-03-31, GatoConningMedWar
IDLinkUnitPartIntervalDefault3= 1943-04-01, 1944-10-31, GatoConningLateWar
IDLinkUnitPartIntervalDefault4= 1944-11-01, NULL, GatoConningElite
ExternalNodeName3D= Z01

For other subtypes copy the ConningLateWar and paste to overwrite early and medwar, with GATO there's an "Elite" so use that;

[UserPlayerUnit 1.UnitPartSlot 1]
ID=GatoConningSlot
NameDisplayable=Conning Tower Mount
Type=NULL
AcceptedTypes=GatoConningTower
IDLinkUnitPartIntervalDefault1= NULL, 1942-09-31, GatoConningElite ;Only UnitParts of this type could be placed here
IDLinkUnitPartIntervalDefault2= 1942-10-01, 1943-03-31, GatoConningElite
IDLinkUnitPartIntervalDefault3= 1943-04-01, 1944-10-31,GatoConningElite
IDLinkUnitPartIntervalDefault4= 1944-11-01, NULL, GatoConningElite
ExternalNodeName3D= Z01

That gives you the Elite conning tower instead of the bathtub or half chopped throughout the war.

So I got the option, here she is;



Looks okay, fired the aft twin 40s and only the right barrel recoils, left doesn't do anything I can see. Shifted to the forward 40s and the program crashed. Either I missed a file or I'm not using enough rum.

Anyone wants to play with this I would highly recommend you make backup copies of the \UPCData and \Submarine folder before you start, then you can easily restore if it blows up.
Sniper297 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 11:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.