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 04-14-12, 08:30 AM   #1
leadtail
Mate
 
Join Date: Mar 2005
Posts: 51
Downloads: 50
Uploads: 0
Default New Sub and need Help

Greeting fellow Captains! I am in the very early stages of a new mod for SH4. I don't even have a name for it yet. Not quite ready to announce yet, but I need a little help from some of the more knowledgeable veteran moders out there. Below is a pic of my first sub and what I need to know how to do is put four external torpedoes on it that fire from a Drzewiecki drop-collar. The question I have is can I have the torpedoes show in the collar then disappear when they are fired?




Thank you for any help you can provide.
leadtail is offline   Reply With Quote
Old 04-14-12, 07:22 PM   #2
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

First thing you need to understand is how torpedos appear when fired.
They are attached through the UPC files to one of the animations nodes.

You can attach to anything you want but this is where a problem appears.
A torp will fire but the object remains that it was attached to.

Say you add the torps on the external model.
Attach the torps to it and they will fire but the original object remains!

I know how to delete the original on a surface playable but not a submergeable playable.

This is off the top of my head at the moment and may change as I'm working on a few things at this time.

Just figured you deserved an answer from someone.
  Reply With Quote
Old 04-15-12, 11:22 PM   #3
leadtail
Mate
 
Join Date: Mar 2005
Posts: 51
Downloads: 50
Uploads: 0
Default

Thanks for the answer. I'll tackle the disappearing torp after I get the tubes facing the right way. Right now I have 3 tubes in the dat and sim files. and this is my UPC file info:
Quote:
[UserPlayerUnit 1.Compartment 5]
CompartmentType= 1
StatusActive= Yes
ID= KUKU14BowTorpedo
NameDisplayable= Bow Torpedo Room
Type=NULL
FunctionalType= BowTorpedoRoom
MechanicalCoef= 0.7 ;0..1
ElectricsCoef= 0 ;0..1
GunsCoef= 0.3 ;0..1
WatchmanCoef= 0 ;0..1
WatchStandingCoef= 0.058
MaintenanceCoef= 0.0244
RepairsCoef= 0.082
ReloadingweaponCoef= 0.082
SleepCoef= -0.12
LeadersSlots=3
CrewMembersSlots= 6
EffciencyDenominator=4
EffciencyDenominatorBS=8
Hitpoints=100
CrewExposure=0.075
EquipmentsExposure=0.1
WeaponsExposure=0.1
ExternalDamageZoneTypeID3D= 199
DamageDescription1= NULL,0,0.1,0,0,1,Minor Leak,0,0,NULL,0.1,0.2,0.5
DamageDescription2= NULL,0.1,0.2,0,0,1,Minor Leak,0,0,NULL,0.2,0.2,1
DamageDescription3= NULL,0.2,0.3,0,0,1,Large hole,0,0,NULL,0.3,0.2,1.5
DamageDescription4= NULL,0.3,0.4,0,0,1,Large hole,0,0,NULL,0.4,0.5,2
DamageDescription5= NULL,0.4,0.5,0,0,1,Large hole,0,0,NULL,0.5,0.5,2.5
DamageDescription6= NULL,0.5,0.6,0,0,1,Wall breached,0,0,NULL,0.6,0.5,5
DamageDescription7= NULL,0.6,0.7,0,0,1,Wall breached,0,0,NULL,0.7,0.5,10
DamageDescription8= NULL,0.7,0.8,0,0,1,Wall breached,0,0,NULL,0.8,0.7,15
DamageDescription9= NULL,0.8,0.9,0,0,1,Wall breached,0,0,NULL,0.9,0.7,20
DamageDescription10= NULL,0.9,1,0,0,1,Wall breached,0,0,NULL,1,1,1000000

[UserPlayerUnit 1.Compartment 5.WeaponSlot 1]
ID= TorpMountB1
NameDisplayable= Torpedo Tube I
Type=NULL
AcceptedTypes= TorpedoTube
UserCustomizable=No
IDLinkBunker=BowTorpedoRoom, BowTorpedoReserves
IDLinkWeaponIntervalDefault1= NULL, 1940-03-01, TorpedoTube533Ger, T1Torpedo
IDLinkWeaponIntervalDefault2= 1940-03-02, 1942-11-01, TorpedoTube533Ger, T2Torpedo
IDLinkWeaponIntervalDefault3= 1942-11-02, 1945-06-01, TorpedoTube533Ger, T3Torpedo
ExternalNodeName3D= NULL
ExternalObjectName3D= NSS_Uboat2B_IDoor_anim01
ExternalDamageZoneTypeID3D= 58

[UserPlayerUnit 1.Compartment 5.WeaponSlot 2]
ID= TorpMountB2
NameDisplayable= Torpedo Tube II
Type=NULL
AcceptedTypes= TorpedoTube
UserCustomizable=No
IDLinkBunker=BowTorpedoRoom
IDLinkWeaponIntervalDefault1= NULL, 1940-03-01, TorpedoTube533Ger, T1Torpedo
IDLinkWeaponIntervalDefault2= 1940-03-02, 1942-11-01, TorpedoTube533Ger, T2Torpedo
IDLinkWeaponIntervalDefault3= 1942-11-02, 1944-03-31, TorpedoTube533Ger, T3Torpedo
IDLinkWeaponIntervalDefault4= 1944-04-01, 1945-06-01, TorpedoTube533Ger, T5Torpedo
ExternalNodeName3D= NULL
ExternalObjectName3D= NSS_Uboat2B_IDoor_anim02
ExternalDamageZoneTypeID3D= 131

[UserPlayerUnit 1.Compartment 5.WeaponSlot 3]
ID= TorpMountB3
NameDisplayable= Torpedo Tube III
Type=NULL
AcceptedTypes= TorpedoTube
UserCustomizable=No
IDLinkBunker=BowTorpedoRoom
IDLinkWeaponIntervalDefault1= NULL, 1940-03-01, TorpedoTube533Ger, T1Torpedo
IDLinkWeaponIntervalDefault2= 1940-03-02, 1942-11-01, TorpedoTube533Ger, T2Torpedo
IDLinkWeaponIntervalDefault3= 1942-11-02, 1945-05-31, TorpedoTube533Ger, T3Torpedo
ExternalNodeName3D= NULL
ExternalObjectName3D= NSS_Uboat2B_IDoor_anim03
ExternalDamageZoneTypeID3D= 132
ExternalDamageZoneTypeID3D= 132

[UserPlayerUnit 1.Compartment 5.Bunker 1] ; Forward Torpedo Room
ID=BowTorpedoRoom
Capacity=3
IDLinkAmmunitionIntervalDefault1= NULL, 1940-03-01, T1Torpedo, 8
IDLinkAmmunitionIntervalDefault2= 1940-03-02, 1942-11-01, T2Torpedo, 8
IDLinkAmmunitionIntervalDefault3= 1942-11-02, 1945-06-01, T3Torpedo, 8

[UserPlayerUnit 1.FunctionalSubsystem 12]
ID= TorpedoTube1
NameDisplayable= Torpedo Tube I
FunctionalType= WeaponTorpedo
IDLinkFunctionalSubsystemSlots= CommRoomTDC, 0, TorpMountB1, 1

[UserPlayerUnit 1.FunctionalSubsystem 13]
ID= TorpedoTube2
NameDisplayable= Torpedo Tube II
FunctionalType= WeaponTorpedo
IDLinkFunctionalSubsystemSlots= CommRoomTDC, 0, TorpMountB2, 1

[UserPlayerUnit 1.FunctionalSubsystem 14]
ID= TorpedoTube3
NameDisplayable= Torpedo Tube III
FunctionalType= WeaponTorpedo
IDLinkFunctionalSubsystemSlots= CommRoomTDC, 0, TorpMountB3, 1

PICS






I do not have an aft torpedo room but tubes II & III show in the torpedo room screen as aft torps, but the tube are in the bowtorpedoroom in the equipment screen. Is there something in the dat or sim file that tells it to be an aft tube or a bow tube? I want tube I to have 3 reloads and tubes II & III to have none. HELP!
leadtail 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 11:06 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.