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-21-09, 01:25 PM   #2
NEON DEON
Ace of the Deep
 
Join Date: Apr 2005
Location: Los Angeles, CA
Posts: 1,204
Downloads: 39
Uploads: 5
Default

Quote:
Originally Posted by Bulkhead View Post
Is it a way to change the deck guns with aa-guns??
Yes you can do that.

First comes the upgradepacks.upc file located in the Data/UPCData/UPCUnitsData folder:

UPC files open with notepad.

Indentify how many packs in your version of game

In 1.4 there are 29.

Say you want to have Single40s in both deck gun slots.

Add this upgrade pack at the end of the Upgradepacks.upc file in 1.4 for example:

-------------------------------------------------------------------

[UpgradePack 30]
ID= Upack40mmSingleDouble
NameDisplayable= 40mm AA Gun (Bow and Stern)
FunctionalType= UpFTypeWeaponFlak
UpgradePackSlotType= USDeckGunAdv
Type=NULL
UnitUpgradePackIntervalOptionCurrent= NULL, NULL, 0
UnitUpgradePackIntervalOptions1= 1945-01-01, NULL, 2000
IDLinkUpgradePackElements= 40mmSingleUS, 40mmSingleUS

--------------------------------------------------------------------

Note that the Upgradepack is 30 because the last one in the game before it was 29. If that is different in your version you will have to change the number to match it.


Step two:

Now you have to get them on the sub.

Go to Data/Submarine folder and lets say we want them to go on a Balao

open the NSS_Balao.upc file with notepad.

Under the UpgradPackSlot section make sure the Colored lines read this.

-----------------------------------------------------------------------

UserPlayerUnit 1.UpgradePackSlot 1]
ID= UpgSurfaceSearchRadar
NameDisplayable= Surface Search Radar
Type=NULL
AcceptedTypes=BalaoSurfaceRadars
UserCustomizable=Yes
IDLinkUpgradePackSlots= EqSlot42, EqSlot43, SurfRadarAntenna
IDLinkUpgradePackSlotsIntervalDefault1= NULL, 1943-07-01, UpackBalaoSJRadar
IDLinkUpgradePackSlotsIntervalDefault2= 1943-07-01, NULL, UpackBalaoSJ1Radar
[UserPlayerUnit 1.UpgradePackSlot 2]
ID= UpgAirSearchRadar
NameDisplayable= Air Search Radar
Type=NULL
AcceptedTypes=AirRadars, AdvAirRadars
UserCustomizable=Yes
IDLinkUpgradePackSlots= EqSlot33, AirRadarAntenna
IDLinkUpgradePackSlotsIntervalDefault1= NULL, 1943-03-11, UpackGatoSDRadar
IDLinkUpgradePackSlotsIntervalDefault2= 1943-03-11, 1945-08-01, UpackGatoImpSDRadar
IDLinkUpgradePackSlotsIntervalDefault3= 1945-08-02, NULL, UpackGatoSVRadar
[UserPlayerUnit 1.UpgradePackSlot 3]
ID= UpgDeckGun
NameDisplayable= Deck Gun
Type=NULL
AcceptedTypes=USDeckGunBasic, USDeckGunAdv
UserCustomizable=Yes
IDLinkUpgradePackSlots= BowDeckGun, SternDeckGun
IDLinkUpgradePackSlotsIntervalDefault1= NULL, 1944-09-01, Upack40mmSingleDouble
IDLinkUpgradePackSlotsIntervalDefault2= 1944-09-02, NULL, Upack40mmSingleDouble

-----------------------------------------------------------------------

What you have done is made it so you have AA guns in both gun positions at the same time and they come on the Balao as default equipment in place on your sub without having to add them.

Issues:

By doing this you now have a Deckgunless sub. Inorder to fire at ships with them you will have to do it Yourself. In order for all the guns to man you can go about it two ways. You can just call battle stations and if you have crew in the gun slots they will all man the guns or if you want to do it without calling battlestations you would have to man the deck gun and man the AA guns for all guns to be ready to fire.

All the guns should now be able to target incomming aircraft when given the order to fire at will from the AA buttons.

Warning.

Dont do this from your Data folder itself.

Set it up to operate with JSGME so it will work as a mod so you do not mess up the game by accident.

If you need instructions on that just ask and I or somenone else can give you some help in setting that up.
__________________
Diesel Boats Forever!
NEON DEON is offline   Reply With Quote
 

Thread Tools
Display Modes

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 06:36 PM.


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