SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   Move Deck Gun? (https://www.subsim.com/radioroom/showthread.php?t=123652)

madcat 10-17-07 04:15 PM

Move Deck Gun?
 
Just out of interest in there any way you could move the Deck Gun from the Deck to the Conning Tower, ie one of the AA gun mounts??

donut 10-17-07 04:34 PM

To what advantage ??
 
Not in this mans NAVY.:rotfl: :rotfl: :roll:

LukeFF 10-17-07 06:16 PM

:roll:

jmaisc 11-20-07 12:07 PM

Deck gun
 
Well I don't know if it will work, but you can try. Edit the UpgradePacks.upc file and seach for:

[UpgradePack 10]
ID= Upack40mmSingle
NameDisplayable= 40mm AA Gun
FunctionalType= UpFTypeWeaponFlak
UpgradePackSlotType= USHeavyAA
Type=NULL
UnitUpgradePackIntervalOptionCurrent= NULL, NULL, 0
UnitUpgradePackIntervalOptions1= 1942-10-08, 1943-04-05, 300
UnitUpgradePackIntervalOptions2= 1943-04-05, NULL, 150
IDLinkUpgradePackElements= 40mmSingleUS

[UpgradePack 12]
ID= Upack3in50calDG
NameDisplayable= 3" 50 cal Deck Gun
FunctionalType= UpFTypeWeaponCannon
UpgradePackSlotType= USDeckGun
Type=NULL
UnitUpgradePackIntervalOptionCurrent= NULL, NULL, 0
UnitUpgradePackIntervalOptions1= NULL, NULL, 200
IDLinkUpgradePackElements= 3in50calUS

Replace UpgradePackSlotType= USDeckGun with UpgradePackSlotType= USHeavyAA and on the equipment room just drag the 3" 50 to the flack gun slot and check if it works.

If not you can also try to change FunctionalType= UpFTypeWeaponCannon with FunctionalType= UpFTypeWeaponFlak.

But realize that the 3" 50 will no longer be available as a deck gun and for sure will not be activated to shoot ships. It should be fun to see the 3" 50 shooting down planes :rotfl: .

Probably you need to tweak the elevatio angle to have the gun point to the skies. Check the tweak files for the flack and the 3" 50 deck gun and change the parameters.

It may not work and crash your game, but if you backup the files you can give it a try, and later trace back your changes.

Webster 11-20-07 02:03 PM

pm "mush martin", he did it for sh3 with his uberboot mod

http://www.subsim.com/radioroom/show...ight=uber+boot


maybe he can help you do it for sh4 since most of the files are very simular.


All times are GMT -5. The time now is 03:32 AM.

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.