![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
09-09-13, 08:49 AM
|
#1 | |
|
Navy Seal
![]() |
Quote:
have you tried editing their settings in UPCDataGE\UPCUnitsData\Equipment.upc? Also, not so simple... In order to make some equipment unusable or to remove from mother object you need to destroy their controller from .sim file or .zon file . I manage to do that with propellers, rudders and dive planes but i still dont know how to "destroy" controlers from .sim file for periscopes , torpedo animation and deck gun... On the other hand, I have my own ideas for a general rebalance of the stock damage model. Enumarating here the key concepts that my plan should be based on, would require a long post which I am not going to bother you with, unless you are really interested into hearing my abstruse dissertion on the topic I'm interested , sure, but for now i would like to concentrate only for submarine damage... And...No more sailing away after kiss from the torpedo...:P Maybe i should slow down sub's sinking little bit more? P.S. Check tags...for more views, you know...
__________________
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 09:05 AM. |
|
|
|
09-09-13, 09:44 AM
|
#2 | |||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() Quote:
Quote:
yes, maybe you should finetune boat's sinking speed. |
|||
|
|
09-09-13, 10:34 AM
|
#3 |
|
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
|
#4 |
|
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
|
#5 |
|
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
|
#6 |
|
Ace of the deep .
|
Is this thread helpful .
http://www.subsim.com/radioroom/showthread.php?t=182667 |
|
|
09-09-13, 06:16 PM
|
#7 | ||||
|
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
|
#8 | ||
|
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
|
#9 | |||
|
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
|
#10 | |||
|
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, 09:07 AM
|
#11 | ||
|
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-10-13, 03:15 AM
|
#12 |
|
Sea Lord
![]() Join Date: Mar 2007
Posts: 1,897
Downloads: 172
Uploads: 0
|
|
|
|
09-10-13, 11:02 AM
|
#13 | ||
|
Navy Seal
![]() |
Quote:
@ Gap, you are the savior! ![]() ![]() Quote:
Just tell me one more thing, which controller do not belong here?
__________________
Best regards... Vecko ![]() The Wolves of Steel - SH5 megamod In case You wish to support my work... Last edited by vdr1981; 09-10-13 at 11:19 AM. |
||
|
|
09-10-13, 12:55 PM
|
#14 |
|
Navy Seal
![]() |
Also, Room_EXT - Torp Doors + Anim.GR2 doesn't have it's own .sim file...Does this mean that i need to create one sim file with one wpn_SubTorpedoSys controller for each tube hatch? Something like this?
__________________
Best regards... Vecko ![]() The Wolves of Steel - SH5 megamod In case You wish to support my work... |
|
|
09-10-13, 01:57 PM
|
#15 | |||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
![]() a few more head-ups: - many objects are formed by separated parts, and they are linked together hierarchically. For U-boat guns we have generally a fixed base (fitted on the deck), the mounting/pedestal (which rotates around its y axis) and the gun itself (rotating around the x axis) which, on turn, is often split in a "body" (including the breech and the back part of the gun) and one or more muzzles. There can also be other smaller parts, but we can ignore them. When adding damage boxes to a gun, you can link it to its root (the fixed base) and make it to envelop the remaining parts or, better, you can give each part its own box with a peculiar damage zone set in it. If, for instance, the mount had a shield, you can assign to it a zone with an higher AP setting than other parts, thus protecting them from enemy fire. Moreover, boxes will move together with their parent objects, thus better envelopping the whole object. - no matter how many boxes you have assigned to a gun (or to any other SH5 object), model parts which are lower hierarchically will be destroyed when one of the parts containing them, i.e. their parent(s), are destroyed; this becomes evident when you give hierarchically high objects a zone which is tagged as 'destructible=yes': when their HP's reach 0, they will be ripped off together with their children objects. - you can link a box to a non-child object, so that, when the box is detsroyed, both the parent object and tje linked object are destroyed. Quote:
![]() Quote:
- .zon: contain controllers whose function is to control the way an object interacts with other object, giving or receiving damage from them; - .dsd: used for sound controllers; - .cam: used for camera controllers (firts person views, scope views, gun sights, etc); - .fx: used for linking special effects to an object; - .val: used mostly for ships wake controllers; - .prt: used for linking an object to a second object in another file; - .sim: this is the most widely used file type, and it can contain a big variety of controllers whose function is generally to set the way an object moves, behaves or works. One last note: every object, particle or controller got an unique id and a parent id (you can see them more easily by opening one of the aforementioned files in s3d). This is the way they are linked to each other and referred to in game. Rarely node/bone names are used instead. When you merge two files in Goblin Editor, it sorts automatically controllers with the same parent Id, and it list them under the appropriate object when you click on one of them. Quote:
![]() The wpn_cannon controller, indeed. Governing the way guns work, ts place is in the sim file.
|
|||
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
