![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
09-09-13, 10:34 AM
|
#1 |
|
Navy Seal
![]() |
Yes, but problem is that stock model doesn't have any boxes for periscopes or torpedo tubes. I don't know which controller controls periscope movement, from where they're taking damage in the first place? What are parents objects for torpedo tubes, i cant put them to the main object(gr2) ,it will cause CTD. I know which controller do deck gun movement but i don't know how to link it with damage box, deck gun doesn't have it's own .zon file. Also, torpedo doors animation doesnt have it's own .zon file... I'm pretty much lost here...
![]() For weapons, look for the controller (usually in the SIM file) that provides the definition to file the gun. Create a zone that, when destroyed, will destroy the gun controller. I actually linked it to the wpn_Cannon controller. This is the one that controls the behavior for the gun. It's the same for the other guns. Those are lines from the tread you gave me...i really dont know how to do that...
__________________
Best regards... Vecko ![]() The Wolves of Steel - SH5 megamod In case You wish to support my work... Last edited by vdr1981; 09-09-13 at 10:46 AM. |
|
|
09-09-13, 11:09 AM
|
#2 |
|
Navy Seal
![]() |
Reworked zones for type VIIc and added fuel tanks...
__________________
Best regards... Vecko ![]() The Wolves of Steel - SH5 megamod In case You wish to support my work... |
|
|
09-09-13, 01:38 PM
|
#3 |
|
Frogman
![]() Join Date: Aug 2011
Location: Poland, my homeland.
Posts: 304
Downloads: 241
Uploads: 0
|
Wow, I'm impressed how fast You're learning
__________________
Dining place in Silent Hunter 5? NOW it's possible http://www.subsim.com/radioroom/showthread.php?t=200862 |
|
|
09-09-13, 03:14 PM
|
#4 |
|
Ace of the deep .
|
Is this thread helpful .
http://www.subsim.com/radioroom/showthread.php?t=182667 |
|
|
09-09-13, 06:16 PM
|
#5 | ||||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() Quote:
In any case, adding the appropriate damage boxes to the two scope objects through UBoot_Sensors.zon, should be enough to make them vulnerable. Quote:
Quote:
- Copy it to the correct location and rename it appropriately. Using the deck gun as an example, you should have a Deck_Gun_GE88mm.zon file located in data/Objects/Guns. - Open the file in Silent3ditor and delete all its controllers. - Open Deck_Gun_GE88mm.GR2 in Goblin, merge it to the newly created zon file, and add the new damage boxes as you would do normally |
||||
|
|
09-11-13, 11:56 AM
|
#6 | ||
|
Navy Seal
![]() |
Quote:
Quote:
I think, it must be somethink because of UPC files settings...Some linking or something...
__________________
Best regards... Vecko ![]() The Wolves of Steel - SH5 megamod In case You wish to support my work... |
||
|
|
09-11-13, 01:10 PM
|
#7 | |||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
1 - to which bones have you attached exactly the scope damage boxes? 2 - which zones have you used for the new boxes? 3 - since the periscopes keep working, how do you know that their HP's have reached 0? Have you made them destructible? Quote:
NSS_Uboat7a_Door01_FRU_anim,data\Submarine\NSS_Ubo at7a\Submarine Parts\Room_EXT - Torp Doors + Anim instead of: NSS_Uboat7a_Door01_FRU_anim Quote:
Code:
[Weapon 10] ID= TorpedoTube533Ger NameDisplayable= 53.3cm Torpedo Tube FunctionalType= WpTorpedoTube WeaponInterval= 1930-12-01, 1946-12-01 WeaponSlotType= TorpedoTube AmmoTypesAccepted= T1Torpedo, T1Fat1Torpedo, T2Torpedo, T3Torpedo, T3Fat2Torpedo, T4Torpedo, T5Torpedo, T7Torpedo, T11Torpedo, T1Lut1Torpedo, T3Lut2Torpedo AmmoTypeLoaded= NULL AmmoMagazineRemaining= 0 ;Not used AmmoMagazineSize= 1 LeadersSlots=0 WeaponCrewMembersSlots= 0 ExternalLinkName3D= NULL Hitpoints= 100 DamageDescription1= NULL, 0, 0.2, 0, 1, 1, Jam, 0, 0, NULL, 1, 0.3, 0.2 DamageDescription2= NULL, 0, 1, 0, 0.5, 1, Chamber Explosion, 50, 5, NULL, 1, 2, 10 ;skill over 1 for unserviceable/destroyed gun ![]() The same for periscopes (in Equipment.upc): Code:
[Equipment 18] ID=EqpAttackPeriscope NameDisplayable= Attack Periscope FunctionalType= EqFTypePeriscopeBody EquipmentInterval= NULL, NULL EquipmentSlotType=NULL ExternalLinkName3D= NULL Hitpoints= 100 DamageDescription1= NULL, 0, 0.2, 0, 1, 1, small malfunction, 0, 0, NULL, 0.3, 0.4, 4 DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Misaligned Axis, 0, 0, NULL, 0.5, 0.4, 10 DamageDescription3= NULL, 0.6, 1, 0, 1, 1, fuse blown, 0, 0, NULL, 1, 0.2, 15 [Equipment 19] ID=EqpObsPeriscope NameDisplayable= Observation Periscope FunctionalType= EqFTypePeriscopeBody EquipmentInterval= NULL, NULL EquipmentSlotType=NULL ExternalLinkName3D= NULL Hitpoints= 100 DamageDescription1= NULL, 0, 0.2, 0, 1, 1, small malfunction, 0, 0, NULL, 0.3, 0.4, 4 DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Misaligned Axis, 0, 0, NULL, 0.5, 0.4, 10 DamageDescription3= NULL, 0.6, 1, 0, 1, 1, fuse blown, 0, 0, NULL, 1, 0.2, 15 [Equipment 20] ID=EqpAttackPeriscopeHead NameDisplayable= Attack Periscope Head FunctionalType= EqFTypePeriscopeHead EquipmentInterval= NULL, NULL EquipmentSlotType=NULL ExternalLinkName3D= atack_periscop,data\Objects\Sensors\UBoot_Sensors Hitpoints= 100 DamageDescription1= NULL, 0, 0.2, 0, 1, 1, small malfunction, 0, 0, NULL, 0.3, 0.4, 4 DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Misaligned Axis, 0, 0, NULL, 0.5, 0.4, 10 DamageDescription3= NULL, 0.6, 1, 0, 1, 1, fuse blown, 0, 0, NULL, 1, 0.2, 15 [Equipment 21] ID=EqpObsPeriscopeHead NameDisplayable= Observation Periscope Head FunctionalType= EqFTypePeriscopeHead EquipmentInterval= NULL, NULL EquipmentSlotType=NULL ExternalLinkName3D= obs_periscop,data\Objects\Sensors\UBoot_Sensors Hitpoints= 100 DamageDescription1= NULL, 0, 0.2, 0, 1, 1, small malfunction, 0, 0, NULL, 0.3, 0.4, 4 DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Misaligned Axis, 0, 0, NULL, 0.5, 0.4, 10 DamageDescription3= NULL, 0.6, 1, 0, 1, 1, fuse blown, 0, 0, NULL, 1, 0.2, 15 [Equipment 22] ID=EqpAttackPeriscopeHeadStealth NameDisplayable= Attack Periscope Head FunctionalType= EqFTypePeriscopeHead EquipmentInterval= NULL, NULL EquipmentSlotType=NULL ExternalLinkName3D= atack_periscop_wire,data\Objects\Sensors\UBoot_Sensors Hitpoints= 100 DamageDescription1= NULL, 0, 0.2, 0, 1, 1, small malfunction, 0, 0, NULL, 0.3, 0.4, 4 DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Misaligned Axis, 0, 0, NULL, 0.5, 0.4, 10 DamageDescription3= NULL, 0.6, 1, 0, 1, 1, fuse blown, 0, 0, NULL, 1, 0.2, 15 [Equipment 23] ID=EqpObsPeriscopeHeadStealth NameDisplayable= Observation Periscope Head FunctionalType= EqFTypePeriscopeHead EquipmentInterval= NULL, NULL EquipmentSlotType=NULL ExternalLinkName3D= obs_periscop_wire,data\Objects\Sensors\UBoot_Sensors Hitpoints= 100 DamageDescription1= NULL, 0, 0.2, 0, 1, 1, small malfunction, 0, 0, NULL, 0.3, 0.4, 4 DamageDescription2= NULL, 0.2, 0.6, 0, 1, 1, Misaligned Axis, 0, 0, NULL, 0.5, 0.4, 10 DamageDescription3= NULL, 0.6, 1, 0, 1, 1, fuse blown, 0, 0, NULL, 1, 0.2, 15 from 20 to 60% HP damage: 50% efficency reduction from 60% to 100% HP damage: 100% efficency reduction. To the best of my knowledge, the problem is not in upc settings. |
|||
|
|
09-11-13, 02:48 PM
|
#8 | |||
|
Navy Seal
![]() |
Sry for late replay, i wasn't at home...
Quote:
http://img51.imageshack.us/img51/4280/kk7d.jpg If i understood this correctly, obj.extensible conntroler should be disabled when HP reach 0, right? 3. Well, after excessive fire from destroyer and when 0% is shown in damage meny, i guess it should be o HP,right? Quote:
Now i'll try your suggestion...Quote:
__________________
Best regards... Vecko ![]() The Wolves of Steel - SH5 megamod In case You wish to support my work... |
|||
|
|
09-12-13, 05:35 AM
|
#9 | ||||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() Moreover, IIRC, at least for some U-boat models New UIs replaces the regular periscope models with the "twisty" type (obs_periscop_wire and atack_periscop_wire). You should add collision spheres and damage boxes to them too. ![]() Quote:
- each scope got its own SH3ZonesCtrl controller in UBoot_Sensors.zon; - the SH3ZonesCtrl controller contains sphere(s) and a box covering at least part ot the 3d model. Collision spheres are dispensable on some equipments, as the game can use the spheres of the main unit (the U-boat hull in our case), but since the scopes can protrude considerably from boat's profile, it is better having them in this particular case. Another important element of SH5 damage, are collision meshes, i.e. a low poly 3d model which, similarly to spheres and boxes, contains the visible model. Among the items contained in UBoot_Sensors.GR2, only the pedestal UZO and another sensor which I couldn't identificate got collision spheres. I hope this is not going to be a problem. ![]() Quote:
![]() Quote:
![]() This is the link to the 3d model which is functionlly related to each equipment set in upc files. Some equipments, like the torpedo tubes, miss a model but are linked (I ignore how... maybe it is hardcoded) directly to their respective controller on the main unit (wpn_SubTorpedoSys for t-tubes). This can be a problem for our purposes. I only hope that the animated torpedo doors referenced in wpn_SubTorpedoSys are not there just for eyecandy. Talking about periscopes, it is even more complicated. We have six equipment definitions. The first two (one for obs and one for attack scope) are classified functionally as "PeriscopeBody", and are not linked to any 3d object. The last four have a functionality type "PeriscopeHead", and each of them is linked to one of the 3d periscopes contained in UBoot_Sensors.GR2. I ignore why scope functionalities have been split in two though.
|
||||
|
|
09-12-13, 09:07 AM
|
#10 | ||
|
Navy Seal
![]() |
Quote:
![]() I think i'll do a bit more research, if nothing, i'll concentrate my efforts to merge all the changes so far in order to make first official version of the mod for all playable submarines...I have also some interesting ideas for equipment repair times, for example, to make that engines or batteries after receiving damage could never be repaired to 100% of functionality and so on... Quote:
And also , why so many scopes in sensor.gr2? Shouldn't there be only two?
__________________
Best regards... Vecko ![]() The Wolves of Steel - SH5 megamod In case You wish to support my work... |
||
|
|
09-12-13, 09:27 AM
|
#11 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Your test also demonstrates the limit that I was talkin about in my previous post: not being linked to any particular 3d object, torpedo tube equipment set in the upc file keeps being operational even after the torpedo doors objects are destroyed. Maybe there's a workaround for this, but it is going to be tricky ![]() Quote:
|
||
|
|
09-12-13, 10:06 AM
|
#12 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Quote:
|
||
|
|
09-12-13, 02:07 PM
|
#13 |
|
Navy Seal
![]() |
Bold launchers and flak guns now can be damaged and destroyed ...
It's interesting that this only works when destroyable=Yes in ubold definition in zone.cfg file. It's the same for rudders and dive planes... So far , the only way to make some equipment unusable is to remove their 3D object from the game... Default Destructable=No value doesn't do anything...
__________________
Best regards... Vecko ![]() The Wolves of Steel - SH5 megamod In case You wish to support my work... Last edited by vdr1981; 09-12-13 at 02:25 PM. |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
