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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-25-13, 10:54 AM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by vdr1981 View Post
Open data/submarine/NSS_Uboat7a... NSS_Uboat7a.zon, you will find pumps damage box there...
Yes, I did it: I loaded the NSS_Uboat7a GR2 file, merged the respective zon file and opened the damage editor. I just can't see the pump box among other boxes. It should be located somewhere near the keel, ins't it?

Quote:
Originally Posted by vdr1981 View Post
Still nothing...Damage is taken from comm room, that damage menu is one big unusable crap IMO...and i'm starting to losing my nerves slowly...

...

Separate, but probably only for cosmetic purposes...
Okay, it makes sense. I hope that at least periscope heads, having an external 3d link and a damage box, are showing correct damages...

As for periscope bodies, keep calm and try doing this when you get time:

- create two new empty zon files, one for each Room_?? - Periscop + Anim.GR2 file, and add a SH3ZonesCtrl controller to each, each with a damage box pointing to the periscope model of its respective GR2 file.

- make each box either destructible or not destuctible (we will see which setting works better)

- open Equipment upc and change this:

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
to this:

Code:
[Equipment 18]
ID=EqpAttackPeriscope
NameDisplayable= Attack Periscope
FunctionalType= EqFTypePeriscopeBody
EquipmentInterval= NULL, NULL
EquipmentSlotType=NULL
ExternalLinkName3D= Periscope_O_anim,data\Submarine\Common\Parts\Room_CT - Periscop + Anim
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= Periscop_CR,data\Submarine\Common\Parts\Room_CR - Periscop + Anim
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
If nothing happens, try changing periscope bodies file names removing spaces (e.g: Room_CR-Periscop+Anim instead of Room_CR - Periscop + Anim .GR2, .sim and .zon) and update external 3d links in equipment.upc accordingly.

What should happen? one (or both) of these:

- immediate CTD as soon a periscope body gets damaged/destroyed
- periscope bodies not responding to human interaction when damaged, and showing correct damage level in damage management interface. Fingers crossed
gap is offline   Reply With Quote
Old 09-25-13, 06:37 PM   #2
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Quote:
Originally Posted by gap View Post
What should happen? one (or both) of these:

- immediate CTD as soon a periscope body gets damaged/destroyed
- periscope bodies not responding to human interaction when damaged, and showing correct damage level in damage management interface. Fingers crossed
Negative Gap, nothing... Destroyable yes/no, no damage in the menu, no broken periscopes, damage is still taken from ubtcommroom box(when i remove ubtcomromm damage for periscope is stuck at 100%).

When i remove spaces, 3d model isn't loaded in the game at all and also this will messed up UI ...

And here's screenshot for pumps, sry, i forgot...
Attached Images
File Type: jpg Untitled.jpg (93.0 KB, 10 views)
vdr1981 is offline   Reply With Quote
Old 09-25-13, 07:18 PM   #3
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Remember this Gap?

vdr1981 is offline   Reply With Quote
Old 09-26-13, 05:46 AM   #4
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Good news after all!


I've figured how to " connect " boxes with slots in damage menu, even to add new one... Stand by for more updates...
vdr1981 is offline   Reply With Quote
Old 09-26-13, 06:48 AM   #5
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

We do not need to change damage boxes location, those periscopes animations from common folder are just an eye candy! This is important...

Code:
[UserPlayerUnit 1.Compartment 4.EquipmentSlot 4]
ID= EqSlotAtackPeriscope
NameDisplayable= EqSlotAtackPeriscope-EquipmentSlot-Name
Type=NULL
AcceptedTypes=NULL
UserCustomizable=No
IDLinkEquipmentIntervalDefault1= NULL, NULL, EqpAttackPeriscope
ExternalNodeName3D= atack_periscop_wire,data\Objects\Sensors\UBoot_Sensors
ExternalDamageZoneTypeID3D= 26
GUIPlaceHolderIndex= 6
GeneralDescription= EqSlotAtackPeriscope-EquipmentSlot-General-Description
TechnicalDescription= EqSlotAtackPeriscope-EquipmentSlot-Tehnical-Description
This is from main sub upcge file...
Like i said before, it looks like it's just about proper linking in UPC files... We have also similar entries in UnitParts2VIIA.upc file...


Check out new slots for commpartment pressure hull, both rudders,propellers...
vdr1981 is offline   Reply With Quote
Old 09-26-13, 07:53 AM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by vdr1981 View Post
We do not need to change damage boxes location, those periscopes animations from common folder are just an eye candy! This is important...

...

This is from main sub upcge file...
Like i said before, it looks like it's just about proper linking in UPC files... We have also similar entries in UnitParts2VIIA.upc file...

Check out new slots for commpartment pressure hull, both rudders,propellers...
Brilliant finding Vecko

Off topic:

let me know if you find anything on conning towers. I still can't find where tower upgrades (availability ba date and reward cost) and the Flaks they can accept are set in game. I need for this information for the reworked U-boat guns mod
gap is offline   Reply With Quote
Old 09-26-13, 09:12 AM   #7
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Quote:
Originally Posted by gap View Post
Brilliant finding Vecko

Off topic:

let me know if you find anything on conning towers. I still can't find where tower upgrades (availability ba date and reward cost) and the Flaks they can accept are set in game. I need for this information for the reworked U-boat guns mod
Kudos to You gap!

I've noticed that all conning tower entries are located in UnitParts2VII*.upc (UPCdataGE/UPCunitsdata) file. There are one entry for every tower upgrade with bunch of options...Is that what you mean or something else?
vdr1981 is offline   Reply With Quote
Old 09-26-13, 01:39 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by vdr1981 View Post
I've noticed that all conning tower entries are located in UnitParts2VII*.upc (UPCdataGE/UPCunitsdata) file. There are one entry for every tower upgrade with bunch of options...Is that what you mean or something else?
Yes, they could be what I was looking for, but where are the reward cost settings? can we set availability dates for them as for other upgrades?

I was waiting for a group of settings like these ones which are used in UpgradePacks.upc's upgrades:

Code:
UnitUpgradePackIntervalOptionCurrent= NULL, NULL, 0
UnitUpgradePackIntervalOptions1=1943-01-01, 1943-10-01, 4000
UnitUpgradePackIntervalOptions2=1943-10-01, 1944-03-01, 2000
UnitUpgradePackIntervalOptions3=1944-03-01, NULL, 1500
Quote:
Originally Posted by vdr1981 View Post
Gap, what is goddamn "NULL" thing ?
Which one?

Quote:
Originally Posted by vdr1981 View Post
We do not need to change damage boxes location, those periscopes animations from common folder are just an eye candy!
No, unlike animated torpedo tubes, periscope bodies own a PeriscopeStationController and an InteractionContext each, and it is likely that damage on them would result in a loss of functionality

Quote:
Originally Posted by vdr1981 View Post
Code:
[UserPlayerUnit 1.Compartment 4.EquipmentSlot 4]
ID= EqSlotAtackPeriscope
NameDisplayable= EqSlotAtackPeriscope-EquipmentSlot-Name
Type=NULL
AcceptedTypes=NULL
UserCustomizable=No
IDLinkEquipmentIntervalDefault1= NULL, NULL, EqpAttackPeriscope
ExternalNodeName3D= atack_periscop_wire,data\Objects\Sensors\UBoot_Sensors
ExternalDamageZoneTypeID3D= 26
GUIPlaceHolderIndex= 6
GeneralDescription= EqSlotAtackPeriscope-EquipmentSlot-General-Description
TechnicalDescription= EqSlotAtackPeriscope-EquipmentSlot-Tehnical-Description
This is from main sub upcge file...
Like i said before, it looks like it's just about proper linking in UPC files... We have also similar entries in UnitParts2VIIA.upc file...
Now we should discover how "Equipment slots" are associated to their respective bones in the boat 3d model. Understanding it would be a step forward into the possibility to add new equipments

Last edited by gap; 09-26-13 at 02:18 PM.
gap is offline   Reply With Quote
Old 09-26-13, 06:54 AM   #9
Captain73
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by vdr1981 View Post
Stand by for more updates...
I look forward to!

Is it possible to repair rudder depth, periscope, propeller shafts, guns 88 mm, 20 mm machine guns only on the surface?
I do not think that is possible repair gun 88 mm at a depth of 100 meters!
  Reply With Quote
Old 09-26-13, 07:21 AM   #10
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

My goal is that certain equipment shouldn't be repairable at all without dry dock(propellers, rudders...)... This is possible, but because of the "save" bug things are going to be a bit tricky...
vdr1981 is offline   Reply With Quote
Old 09-26-13, 09:49 AM   #11
Captain73
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by vdr1981 View Post
My goal is that certain equipment shouldn't be repairable at all without dry dock(propellers, rudders...)... This is possible, but because of the "save" bug things are going to be a bit tricky...
That would be great!
I wish good luck to you!
  Reply With Quote
Old 09-26-13, 04:26 PM   #12
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
Default

Quote:
Originally Posted by vdr1981 View Post
My goal is that certain equipment shouldn't be repairable at all without dry dock(propellers, rudders...)... This is possible, but because of the "save" bug things are going to be a bit tricky...
I agree that certain equipment should not be repairable until being at a drydock, if historically correct.
Was any level of underwater welding possible in the 1940's? If so, then should a percentage or random level be put into equation for propellers, rudders... repairs at sea?
Mikemike47 is offline   Reply With Quote
Old 09-26-13, 10:20 AM   #13
SnipersHunter
Samurai Navy
 
Join Date: Dec 2012
Location: Germany
Posts: 591
Downloads: 201
Uploads: 0
Default

Do we need to start a new campaing with a new update ? Hoping not but great news
SnipersHunter is offline   Reply With Quote
Old 09-26-13, 10:28 AM   #14
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Quote:
Originally Posted by SnipersHunter View Post
Do we need to start a new campaing with a new update ? Hoping not but great news
Probably...
vdr1981 is offline   Reply With Quote
Old 09-26-13, 11:10 AM   #15
SnipersHunter
Samurai Navy
 
Join Date: Dec 2012
Location: Germany
Posts: 591
Downloads: 201
Uploads: 0
Default

Is there a german translation for this mod?
SnipersHunter is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 10:12 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.