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-22-07, 12:37 PM   #1
CaptainHaplo
Silent Hunter
 
CaptainHaplo's Avatar
 
Join Date: Apr 2007
Posts: 4,404
Downloads: 29
Uploads: 0
Default

Quote:
Originally Posted by gdavison
I have this as well .. I took some attack damage which was "repaired" .. However The AA gun is still shown as damaged - however no amount of work seems to fix it and its still functional ..

As soon as I go to Periscope Depth, I have no Electric engines and I go into a tail slide into the depths .. If I am lucky an emergency surface can get me back up ..

Looking in the ActiveUserPlayerUnits.upc in the last save folder ... I see the sub has overall damage

[UserPlayerUnit 1]
Damage=0.295552

and also numerous examples of Damage being zero and there being remaining repair time .. which does not seem correct ??? Or does it ???

[UserPlayerUnit 1.Compartment 1.WeaponSlot 3.Weapon]
ID=DecoyLaunchTube
Damage=0.000000
RemainingRepairTime=0000--88--70 23:57:33

[UserPlayerUnit 1.Compartment 2]
ID=PorpoiseEnginesRoom
Damage=0.000000
DamageHitpointsConsumed=0.000000
RemainingRepairTime=0000-00-00 00:12:15


[UserPlayerUnit 1.Compartment 2.EquipmentSlot 1.Equipment]
ID=Bulkhead
Damage=0.000000
DamageHitpointsConsumed=0.000000
RemainingRepairTime=0000--88--70 23:59:41
Mate - there are some bugs still in the damage handling - try changing the damage to 1.0 - or set the repair time to read all 0's - and see if your engines kick up and if your gun still shows damaged. If so - then we will have a workaround at least until this issue gets resolved.
Of course - make a backup of the original and try each fix seperately. If you would - let us know the results as well!
Good Hunting!
Captain Haplo
CaptainHaplo is offline   Reply With Quote
Old 04-23-07, 01:41 AM   #2
gdavison
Nub
 
Join Date: Jun 2005
Posts: 4
Downloads: 2
Uploads: 0
Default

Quote:
Originally Posted by CaptainHaplo
Mate - there are some bugs still in the damage handling - try changing the damage to 1.0 - or set the repair time to read all 0's - and see if your engines kick up and if your gun still shows damaged. If so - then we will have a workaround at least until this issue gets resolved.
Of course - make a backup of the original and try each fix seperately. If you would - let us know the results as well!
Good Hunting!
Captain Haplo
edited the ActiveUserPlayerUnits.upc

Set all the sections so that
Damage=0.0000
And
DamageHitpointsConsumed=0.000000
And
RemainingRepairTime=0000-00-00 00:00:00
And
CriticalFlotation=1.000000
And
FloodingLevel=0.000000
And
FloodingTime=0000-00-00 00:00:00
And
FloodingSpeed=0.000000

And as we come out of black screen please wait I get we are taking damage . the guys in teh control room are still repairing stuff and if I go to periscope depth I tail slide into the depths again .. so there must be something in another file

I am running patch 1.1 .. so am going to upgrade to 1.2 and then delete profile and see what 1.2 gives
gdavison is offline   Reply With Quote
Old 04-23-07, 07:52 AM   #3
U-Bones
Grey Wolf
 
Join Date: Mar 2005
Location: Treading Water
Posts: 847
Downloads: 56
Uploads: 0
Default

Quote:
Originally Posted by gdavison
Quote:
Originally Posted by CaptainHaplo
Mate - there are some bugs still in the damage handling - try changing the damage to 1.0 - or set the repair time to read all 0's - and see if your engines kick up and if your gun still shows damaged. If so - then we will have a workaround at least until this issue gets resolved.
Of course - make a backup of the original and try each fix seperately. If you would - let us know the results as well!
Good Hunting!
Captain Haplo
edited the ActiveUserPlayerUnits.upc

Set all the sections so that
Damage=0.0000
And
DamageHitpointsConsumed=0.000000
And
RemainingRepairTime=0000-00-00 00:00:00
And
CriticalFlotation=1.000000
And
FloodingLevel=0.000000
And
FloodingTime=0000-00-00 00:00:00
And
FloodingSpeed=0.000000

And as we come out of black screen please wait I get we are taking damage . the guys in teh control room are still repairing stuff and if I go to periscope depth I tail slide into the depths again .. so there must be something in another file

I am running patch 1.1 .. so am going to upgrade to 1.2 and then delete profile and see what 1.2 gives
CriticalFloatation is drived from Critic Floation in zones.cfg and is intended to be a fraction. Equipment that does not experience flooding has a range of values in zones.cfg, but in truth they are meaningless for everthing except the periscopes. In SH3 it was the percentage of compartment damage that would trigger flooding... dunno what is it now, flooding occurs on both sides of this number - but it appears only with compartments in the save file - not equipment.

Edit the Critic Floataion of both of your two periscopes in zones.cfg to a weird easy to spot value - .321123 for example. After that EVERY new boat save file will use that value for the criticalfloatation on EVERY compartment.

The default value for this is .300000, not 1.0
Again, no idea what this does anymore, but just for your testing info.

zones.cfg added sub compartments in 1.2. It is interesting that most of the apparent changes seem to be ignored as far as save files go, floatability is not trackable to the upc save file, and may be used, but the flooding speed changes are totally ignored. This is still set for every compartment from the periscopes values.

Last edited by U-Bones; 04-23-07 at 09:39 AM.
U-Bones 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 05:59 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.