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

Reply
 
Thread Tools Display Modes
Old 11-20-07, 09:06 AM   #1
jmaisc
Swabbie
 
Join Date: Jul 2005
Location: Azores - Portugal
Posts: 14
Downloads: 50
Uploads: 0
Default TWIN 40mm Flack Gun

Does anyone has been able to use the TWIN 40mm Flack Gun without any CDT's problems?

I can install it changing the information on the ..\Data\UPCData\UPCUnitsData\UpgradePacks.Upc file, which has the following text:

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

//END QUOTE

With this text the weapon would never show up on the upgrade option list mainly because of the functional type is a flack weapon (FunctionalType= UpFTypeWeaponFlak) but the upgrade slot type is a deck gun option (UpgradePackSlotType= USDeckGun).

If I change the text to read:

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

The weapon will be available since the beggining and I can install it on a Gato sub with the late or elite conning tower, it will show up on the sub, I can allocate the crew members for the fore and stern slots (in the game only show one crew member managing the gun), and I can play without any problem until I find an aircraft. When that happens and I order the crew to manage the flak gun and shoot down the plane the game allways crash (CDT).

Does anyone knows how to solve this problem and use the gun on the sub ????
jmaisc is offline   Reply With Quote
Old 01-15-08, 06:15 AM   #2
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

(Bump)

I for one would like to get to the bottom of this if there isnt an
existing solutions.

does anyone have any clues ideas or suggestions?

M
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 01-15-08, 07:54 AM   #3
Fincuan
Admiral
 
Join Date: Aug 2007
Location: Suomi, sauna, puukko, perkele
Posts: 2,346
Downloads: 39
Uploads: 0
Default

http://www.subsim.com/radioroom/show...2&postcount=49

I don't know if it works, but it sure is worth trying.
Fincuan is offline   Reply With Quote
Old 01-15-08, 09:21 AM   #4
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

So once I get S3d up and running I will take a stab at the fix.
thanks
M
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 01-15-08, 02:58 PM   #5
Taurolas
Medic
 
Join Date: Jun 2005
Location: Notts UK
Posts: 163
Downloads: 167
Uploads: 0
i moddified the files to get this to work several weeks ago but cant remember the files in question, i do know however that the game never CTD's but i've never seen 2 guys on deck even though i put 2 in the gun slots. i dont use this setup for game play i just like fiddling with files

i also believe you need to change one of the other files to make it work without the CTD i'll have a look see.

Below is what i've changed in my Balao file to get 40mm twins in the AA slots
personally its a bit mad so i prefer to use bow and stern 5.25's and twin 20's hehehehe.

here is a bit out of the balao upc file within upcunitsdata folder, think this is what your missing.

[UnitPart 2.UpgradePackSlot 1]
ID= UpgAAGun
NameDisplayable= Aft Anti-Aircraft Gun
Type=NULL
AcceptedTypes=USLightAA, USHeavyAA, USDeckGun
UserCustomizable=Yes
IDLinkUpgradePackSlots= CTBackAA
IDLinkUpgradePackSlotsIntervalDefault1= NULL, NULL, NULL

[UnitPart 2.UpgradePackSlot 2]
ID= UpgBowAAGun
NameDisplayable= Fore Anti-Aircraft Gun
Type=NULL
AcceptedTypes=USLightAA, USHeavyAA, USDeckGun
UserCustomizable=Yes
IDLinkUpgradePackSlots= CTForeAA
IDLinkUpgradePackSlotsIntervalDefault1= NULL, NULL, NULL


This is my other part from the upgradepacks.upc file

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


Guys just noticed this extra bit... must have done this too... try this in addition to the other bits


; UpgradePackSlot (also in the unitparts3balao.upc file)
;
;************************************************* ***********

[UnitPart 1.UpgradePackSlot 1]
ID= UpgAAGun
NameDisplayable= Aft Anti-Aircraft Gun
Type=NULL
AcceptedTypes=USLightAA, USHeavyAA, USDeckGun
UserCustomizable=Yes
IDLinkUpgradePackSlots= CTBackAA
IDLinkUpgradePackSlotsIntervalDefault1= NULL, NULL, Upack40mmTwin

[UnitPart 1.UpgradePackSlot 2]
ID= UpgBowAAGun
NameDisplayable= Fore Anti-Aircraft Gun
Type=NULL
AcceptedTypes=USLightAA, USHeavyAA, USDeckGun
UserCustomizable=Yes
IDLinkUpgradePackSlots= CTForeAA
IDLinkUpgradePackSlotsIntervalDefault1= NULL, NULL, Upack40mmTwin

Last edited by Taurolas; 01-15-08 at 04:43 PM.
Taurolas is offline   Reply With Quote
Old 01-15-08, 03:17 PM   #6
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

yeah I did all that I have to grab a clean version of the files
and start from scratch again.

I tried the textmodding approach and only got so far.

I can use the twin 40 in a surface engagement no problem

the gun will manifest in game fine

the animation will start to track towards the aircraft
and at the firing point it will ctd.
thats when its on an AA mount

when I do it on a DG mount the crew comes out when you
call the dg crew you can man the dg version and shoot at
the aircraft no problem.

but when you leave the gun it wont track
next when you man the aa guns and order the aa guns
to fire then both the aa and the dg version track together
towards the target but again ctd at the firing point

I tried the type change in s3d and no good

I am clearly missing something and its really getting under my
skin.

I could use a good s3d end user with experience for a little guidance
someone with familiarity with the weapons eqp upgradepacks interconnectivity too.

I am still confident that theres a solution but I havent found it yet.

Im hoping your details will turn up something I missed though.
Hopefully
M
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 01-15-08, 03:18 PM   #7
M. Sarsfield
Ace of the Deep
 
Join Date: Aug 2007
Location: Tulsa, OK
Posts: 1,016
Downloads: 0
Uploads: 0
Default

Did you take a screen shot? I bet it looks pretty massive on the sub deck.
__________________
MJS
USS Batfish Volunteer/Reenactor
www.ss310.com
www.ussbatfish.com



Communism killed over 100M people and all that I got was this lousy signature.*

*http://www.hawaii.edu/powerkills/COM.ART.HTM
M. Sarsfield is offline   Reply With Quote
Old 01-15-08, 03:23 PM   #8
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

Not so big as the Quad




No sadly I didnt get pics of the twin set up but I can ive been into and
out of the test mission forty odd times in two days.
trying to do the functionality at this point though, press photos were
going to wait until there was a story.
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 01-15-08, 03:26 PM   #9
M. Sarsfield
Ace of the Deep
 
Join Date: Aug 2007
Location: Tulsa, OK
Posts: 1,016
Downloads: 0
Uploads: 0
Default

Nice. You could build a US version of a U-Flak boot.
__________________
MJS
USS Batfish Volunteer/Reenactor
www.ss310.com
www.ussbatfish.com



Communism killed over 100M people and all that I got was this lousy signature.*

*http://www.hawaii.edu/powerkills/COM.ART.HTM
M. Sarsfield is offline   Reply With Quote
Old 01-15-08, 03:27 PM   #10
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

What do you suppose this is all driving at:rotfl:

Maybe you dont know
click my siggy before I delete the link
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 01-15-08, 03:28 PM   #11
M. Sarsfield
Ace of the Deep
 
Join Date: Aug 2007
Location: Tulsa, OK
Posts: 1,016
Downloads: 0
Uploads: 0
Default

I detect a little mutiny against Ducimus's float plane mod.
__________________
MJS
USS Batfish Volunteer/Reenactor
www.ss310.com
www.ussbatfish.com



Communism killed over 100M people and all that I got was this lousy signature.*

*http://www.hawaii.edu/powerkills/COM.ART.HTM
M. Sarsfield is offline   Reply With Quote
Old 01-15-08, 04:27 PM   #12
Taurolas
Medic
 
Join Date: Jun 2005
Location: Notts UK
Posts: 163
Downloads: 167
Uploads: 0
Oh i dont know about the Ducimus evil float planes... i've come to love them... especially when my flak crew shred em with the twin 20mm's hehehehe

joking aside i dive when i get the radar guy shouting.. "Bloodyhell here comes another one of those evil Ducimus planes, bearing *** degrees!" :rotfl:i'd rather not risk the guys on deck especially as the damn planes shoot up ya decking and drop nasty bombs on ya heads :rotfl::rotfl:

i will have to look see if i altered anything else because my guys track planes and shoot as soon as i leave the gun (if the plane is in range) and i get no ctds at all.

i put this in the post where i put the other changes but i'll put it here too this is also in the unitparts3balao.upc file


; UpgradePackSlot
;
;************************************************* ***********

[UnitPart 1.UpgradePackSlot 1]
ID= UpgAAGun
NameDisplayable= Aft Anti-Aircraft Gun
Type=NULL
AcceptedTypes=USLightAA, USHeavyAA, USDeckGun
UserCustomizable=Yes
IDLinkUpgradePackSlots= CTBackAA
IDLinkUpgradePackSlotsIntervalDefault1= NULL, NULL, Upack40mmTwin

[UnitPart 1.UpgradePackSlot 2]
ID= UpgBowAAGun
NameDisplayable= Fore Anti-Aircraft Gun
Type=NULL
AcceptedTypes=USLightAA, USHeavyAA, USDeckGun
UserCustomizable=Yes
IDLinkUpgradePackSlots= CTForeAA
IDLinkUpgradePackSlotsIntervalDefault1= NULL, NULL, Upack40mmTwin

Last edited by Taurolas; 01-15-08 at 04:49 PM.
Taurolas is offline   Reply With Quote
Old 01-15-08, 04:38 PM   #13
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

Wierd , Late war conning tower? or on deck?
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Old 01-15-08, 04:53 PM   #14
Taurolas
Medic
 
Join Date: Jun 2005
Location: Notts UK
Posts: 163
Downloads: 167
Uploads: 0
if its on my balao it will be late 43... i may however have altered the conning tower to late model, buggered if i can remember now but i know i get no problems with the tower/guns or ctds with the items marked in red, only problem is i only ever see one crewman at the gun even with 2 shown in the crew slots.

i've taken out the sub and shot at planes myself and switched to conning tower view and seen streams of gunfire from both guns on my selected target so go figure.

hope that helps.

maybe i'm not clear on where they are mounted... both twin 40's are in the AA positions
Taurolas is offline   Reply With Quote
Old 01-15-08, 04:54 PM   #15
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

it will I appreciate the info
M
__________________
RIP Mush



Tutorial
Mush Martin is offline   Reply With Quote
Reply


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 07:53 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.