SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] R.S.D. - Reworked Submarine Damage (https://www.subsim.com/radioroom/showthread.php?t=207093)

vdr1981 08-31-13 01:11 PM

[REL] R.S.D. - Reworked Submarine Damage
 
[Reserved]
[Released]

R.S.D.- Reworked Submarine Damage
http://s6.postimg.org/kuh07gqnl/image.jpg
Submarine sinking mechanic - No instant death - Equipment damage modeling

v5.7.1 Modifications:
- Fixed small oversight in upcge files which was preventing player to chose torpedo type for after torp. tube while in the bunker.
Start new campaign.

v5.7 Modifications:
- Added damage for bow and stern torpedo tubes and simulated damage for TDC. When TDC is destroyed completely, this will prevent player to use torpedoes until next visit to the home port.
- Revised flotability values for individual compartments. Compartment flotabilty values and flooding times will simulate two pressure tight bulkheads (between radio/command room and between command room/aft.quarters ) and 3 water tight bulkheads (bow torp/radio room, aft.quarters/eng,room and eng.room/elec.eng.room). This means that once engine room water tight bulkheads are destroyed (aka Engine Room Compartment ), two neighboring compartments are also going to be filled with water, gradually.
- Revised HP values for the equipment.
- Modified values for depth charges.
Start new campaign..

v5.6 Modifications:
- Damage menu slightly rearranged, new designations for certain equipment.
- Reduced HP and increased collision zones for submarine's external equipment.
- Deck gun and AA guns without armored shield will be much more vulnerable to enemy fire in order to simulate crew exposure.
- Slightly reduced HP and armor values for sub's compartments and various equipment.
- Fully compatible with OHII 2.5 and IRAI_0_0_41
Start new campaign.

v5.5 Modifications:
- Added damage slots for Variable Ballast Tanks, bow and stern Buoyancy Tanks and the Main Ballast Tank 3 located bellow command room floor. Once destroyed (Variable Ballast Tanks), function of Variable Ballast Tanks Pump will also be collapsed thus making maintaining desired depth more difficult. Surfacing the boat and maintaining depth with destroyed Pump will only be possible with usage of compressed air and underwater propulsion. Destroyed Buoyancy Tanks will slightly effect sub's up/down pitching ability while submerged...
- Reworked repair times logic for Electric engines with short time periods of reduced output strength(simulating broken fuses).
- Flotability values for submarine compartments are now based on real Type VIIC compartments volume data and flooding speeds are directly related to compartment size...
- Adjusted damage values and blast range for DC.
- Destroyers wont lose their DC racks anymore, when taking damage...
- Optional patch - Correct German names for the equipment (Credits to ShipersHunter!)
- KDB receivers will suffer critical damage if submerged deeper than 110-120 meters...
[Under construction]
Start new campaign.

v5.4 Modifications:
- Fixed torpedo screen bug
- Damage menu functionally rearranged, regarding equipment's purpose.
- Removed incorrectly placed connecting lines form submarine pictures (Tnx GAP! )
- Rongel's changes for equipment.upc also fixes older bug when player couldn't select desired camouflage for submarine. Tumb Up Rongel!
- Added irreparable "hull integrity" for every individual compartment
- Red distress flare effect "turned on" again
- Revised HP/AP and repair times settings for the equipment
- Used different repair logic for submarine batteries, batteries are repairable but only certain percentage of their capacity can be retrieved. In other words, crew can repair only what's left of batteries...
- Save bug even more subdued with introduction of newly added savable zones which will act like "damage collectors" . This effects equipment which shouldn't be repairable at open seas, like planes, rudders, Shafts, GHG/ Balkon Great receivers ect.
Start new campaign.

V5.3 Modifications:
- Adjusted position for hyd.sensor damage zone

V5.2 Modifications:
- Included Gap's "destroyable GHG patch"! Now all hydrophones can be destroyed. TNX Gap!:up:
And,as always...Start new campaign.. :D

V5 Modifications:
- Hydrophone will now take damage and this will effect player ability to use it. At this stage, only KDB9 will be completely destructible.
- Reworked damage menu, added new slots for KDB hyd. receivers, rudders, propellers and various antennas.
- Damage levels for most of the equipment will now be property shown and calculated in damage menu, except for some flak guns, depending on which upgrade pack you have on board...Yet, they will still take damage...
- Added slots for every individual compartment which will show current state of the pressure hull (flooding intensity).
- Correct German names for equipment in damage menu(Tnx SnipersHunter!)! Don't panic, technical description is still in English...:)
- Added textures from awesome Nauticalwolf's_Damage_and_Torpedo_UI(b)_Mod which will much better suit with reworked damage menu.(If you already use this mod, uninstall it)
- Introduced new damage description for engines and batteries, with level of 10%, in the attempt to simulate unrepairable levels of damage .
- Save bug somewhat subdued by linking external equipment with their internal stations (radars,hydrophones)
- Added collision spheres for external equipment(antennas, prop.,rudders, planes), this should contribute better damage calculation...
Start new campaign.

V4 Modifications:
- Added destructible Radars and RWR antennas
- Revised HP and armor settings for some equipment
- Overall submarine strengths set to 1000HP, this way max dive depth of the submarine will be more effected by amount of damage.
Start new campaign.

V3 Modifications:
- Added destructible radio antenna
- Fixed/added radio room/aft compartment flooding effect
- Adjusted DC damage values, destroyers taking significantly less damage then before yet depth charges are very dangerous. (i should do this before but somehow i uploaded wrong file, sry)
New campaign is needed.

V2 modifications:
- Added 10000HP for type VIIa
- Corrected path for UPC files
- Further adjusted HP and armor settings for equipment
Start new campaign.

V1 modifications:
- Completely reworked damage zones for all playable submarines(boxes, armor, hitpoints).
- Quarters1 damage zone removed from u-boat's .zon files but ubtradioroom is increased to meed submarine 3D model boundaries. This cause lack of flooding animation in radio room but it will be fixed in next update. Note that quarters2 (aft quarters, kitchen) zone is still present but there is no any flooding indication in game damage menu yet animation is present.
- Various submarine equipment now can take damage and be destroyed (periscopes, UZO, rudders, dive planes, propeller shafts, deck gun, flak, bold launchers). Some equipment, like rudders and propellers, will lose their efficiency gradually and this will effect submarine performance.
- Increased hitpoins values for certain interior equipment (like diesel and electric engines so they wont take so much damage from outside and lower caliber guns).
- Further adjusted repair times for various submarine equipment so do not expect that engines and batteries perform like new after they receive damage...
- Anti ecological fix - Added fuel tanks, fuel can be lost...:)
- Increased sub armor to 13cm so that internal equipment won't be so vulnerable to lower caliber guns .
- Reduced compartments hitpoins down to 50
- Adjusted DC strength to meet new submarine hull settings, DC will now be very fearful and destroyers will take less damage from their own DC.
- Instant Death feature is abandoned, now submarine will be destroyed as a result of individual compartment's flooding. (In short, 1or 2 direct hits from large calibers to individual compartment will cause significant flooding and you wont be able to dive, in fact you will, but that wont bring any good. One destroyed and flooded compartment wont cause sub to sink but two will (surface)...Under the water ,situation is little bit different, most of the time blow ballast is only solution. Unfortunately , white flag wont help you if destroyer or anything with deck gun is near...)
- Flotability values for individual compartments also drastically increased so flooded compartments will cause submarine sinking, better watch for compressed air...
- Flooding repair times drastically increased



Compatibility:
This mod uses files from and it's fully compatible with following mods (in this particular order) :
----------------------
- Equipment_Upgrades_Fix_v1_4_byTheBeast
- Equipment_Upgrades_Fix_v1_4_Patch_1
- #Equipment_Upgrades_Fix_v1_4_Patch_1_HotFix
- Equipment_Upgrades_Fix_v1_4_Patch_1 (available by date) V9 by sober
----------------------
- SH5 Longer Repairs v.1.01
----------------------
- FX_Update_0_0_22_ByTheDarkWraith
----------------------
- NewUIs_TDC_7_4_2_TheDarkWraith (works fine with 7.5.0 also)
----------------------
- IRAI_0_0_41
----------------------
- OPEN HORIZONS II_full v2.5
----------------------
I will do my best to maintain compatibility with newer versions of this mods.


Installation:
- JSGME ready, use some of the currently active mod mod lists as reference (Sober, Fifi , Shyzle) and install mod after previously mentioned mods, try to maintain order from above.
- Do not overwrite any R.S.D. file with some other mod, each file is crucial.
- Be careful if you overwriting some other mod which is not included in the list above.


R.S.D. Hints:
- Avoid direct fire at any cost, your life is more precious then tonnage counter...:)
- Although small calibers won't cause much damage to your pressure hull, outside equipment like UZO,periscopes and various antennas are very vulnerable to direct hits, so make sure to crash dive before enemy open fire at you...
- Most of the time, when you are submerged and significant flooding is present in more then one compartment, often the only solution is to blow ballast and brake the surface.
- Watch for compressed air, without it even smaller flooding can be lethal...
- Use underwater propulsion if you have troubles to maintain depth or if you wont to surface the boat when flooding is present. Full speed forward/backward could be very helpful, depending of current submarine pitch...


Current issues:
- Unfortunately, you need to start new campaign or this mod won't work properly .
- We still can't find solution for torpedo tubes damage. (Solved since v5.7)
- Some damages aren't savable
- Clicking on UZO station after it's been destroyed (binoculars removed from the game) will cause strange camera behavior or even CTD sometimes, so don't do it... If you really "must" to click it, go to save-load many, make save, and return to game without reloading.This should help...:03:
- Making "deploy decoys" command immediately after decoy launcher's destruction will sometimes cause CTD so be careful with this one too...
- At this stage, damage levels for certain equipment is not property calculated in game damage menu. (Solved since v5)

************************************************** *****************************************

[Download R.S.D.- Reworked Submarine Damage v5.7]

* R.S.D. & R.E.M. - GHG Hydrophone add-on
Available in two versions:
- normal: three depth/detection ranges as per R.E.M. settings; target detection on surface limited but still possible.
- no hyd on surface: three depth/detection ranges as above, but with target detection unabled on surface.
Enable it after R.S.D. - main mod.
Credits:
Gap

* R.S.D. - Depth Charges Fix_attempt 1
- Attempt No1 to finally beat infamous SH5 bug. This patch aims to preserve realistic DC range settings and to drastically reduce destroyer's self-inflicted damage.
Install in port after main R.S.D. mod


* R.S.D. v5.7 - German Patch
- For better immersion, this patch will add correct German designations for the U-Boat equipment. Technical and General description areas are still written in English...
Enable it after R.S.D. - main mod. Start new campaign. Screenshots
Credits:
SnipersHunter
Skidman
and me...

* R.S.D. v5.7 - Russian Patch
- Для более лучшего погружения в игру, этот патч добавит правильные Русские обозначения для оборудования Подводной лодки. Техническое и общее описание тоже написаны на Русском языке...Установите с помощью JSGME после главного мода R.S.D.
Konstantin Kenga имя на форуме - Kenga
Наслаждайтесь!
Enable it after R.S.D. - main mod. Start new campaign.

* R.S.D. v5.7 - Indestructible UZO patch
- Because of the known bug with strange camera behavior if you accidentally click on UZO station after it's been destroyed I'll upload small optional patch which will make UZO actually indestructible. Personally, I don't use this patch...
Install in port. Enable it after R.S.D. - main mod.
************************************************** *****************************************


arnahud2 09-01-13 06:58 AM

Very, very interesting, and i wish you will find some help from members, as my knowledges in this matter are very close to 0.

Keep up the good work !!! :up:

vdr1981 09-01-13 10:53 AM

In the last days i was exploring subsim and game files, trying to understand which files controls mentioned values. I've learned a lot but there are still some things which i don't understand quite enough. Any assistance from experienced moders will be appreciated!


For me, this is one of the most important aspects of the simulation.I'm not satisfied with current sub's damage modeling which is basically dumbed down to one invisible "health bar"-hull integrity. Crews are able to clog holes with a duct tape, like they are octopuses, and it's really not a big deal when destroyer kick your ass all the way down to 20% of hull integrity...



What i'm trying to accomplish:
I wont to make instant death feature less obvious so that submarine could actually die from flooded compartments and sinking. Also, i think that when pressure hull is breached and flooding happens it should represent much bigger problem that it is now...Some equipment could not be damaged at all, like dive planes, propeller shafts, torpedo tubes,ruder ect.



What i manage to do so far:
Currently, i'm experimenting with values in files: Zones.cfg, UnitParts4VIIB.upc, NSS_Uboat7b.zon, NSS_Uboat7b.upcge and Equipment.upc. Please, note me if there are some more files of importance.

-Added collision zones for sub's rudder/propellers area...
http://imageshack.us/a/img690/2615/njkw.jpg


...and damage zones for bow and stern planes.
http://imageshack.us/a/img833/3580/x8cs.jpg http://imageshack.us/a/img404/138/pdzd.jpg
Now, dive planes will take damage all the way to 0, still not sure will this have any effect on dive speed.
I had no luck with rudder zone, any rudder related zone in damage editor(goblin) will cause instant CTD when zone is hit. Also propeller shafts could be damaged with corresponding zone but there isn't any effect on sub performance?!


- Flotability
Increasing gradually Flotability values for corresponding damage zones in zones.cfg file so when submarine is flooded enough (let's say two or more compartmenst), it will eventually sink. In combination with increased hitpoints from sub's .zon file (some large number, 1000 and more) this will soften instant death feature and give us some time to fight for our life.:) If flooding is too heavy and sub drops below critical depth, it will be crushed almost instantly, depending how much hit points is left on our account...

- Compartments and flooding repair times
I've drastically increased flooding repair times in NSS_Uboat7b.upcge file so we should not expect any fast repairs for larger damage. Roughly, couple of minutes for minor leaks, middle damage couple of hours, and wall breached...Well, you're done...
Hitpoints for all compartments(zones.cfg) are for now tuned to 100, I think this means that 1-2 direct hits from enemy deck gun to one compartment will give us significant problem, few direct hits won't sink the sub but in the case of submerging it will be very problematic... I'm still investigating dependency of sub's armor value (sub's .zon file) and compartment hitpoints
.

flooding repair times
Code:

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

Basically, with those modifications we do not wont to get caught on surface with our "pants down", avoid direct hit at any cost ... Also, tuning down AI guns precision is needed badly for this to work correctly...

I all ready have some test version of this mod but it needs much more testing , convergement of values and work on compatibility with other mods (like Realistic guns specification mod ).
. I will also use this thread to ask some questions, if that's OK...:03:

Sry for my creepy english... Cheers! :subsim:

Can somebody explain me values from zones.cfg file, especially those marked with colour? I have some theories but i'd like to hear other opinions...

[UbtRadioRoom]
Multiplier=1.0
Flotability=6.5
HitPoints=200
Destructible=No
Armor Level=-1
Critic Flotation=0.18
Critical=No
Effect1=#dc_bubbles, 30
FloodingTime=260 (in minutes or what?)
CargoType=None

Also, i'm wondering is it possible to create test mission where unit will attack the sub with just one single shot, for example torpedo airplane but without use of cannons or guns? (trying to get some attention :) )

gap 09-01-13 12:06 PM

Quote:

Originally Posted by vdr1981 (Post 2108261)
-Added collision zones for sub's rudder/propellers area...

...and damage zones for bow and stern planes.

Now, dive planes will take damage all the way to 0, still not sure will this have any effect on dive speed.
I had no luck with rudder zone, any rudder related zone in damage editor(goblin) will cause instant CTD when zone is hit. Also propeller shafts could be damaged with corresponding zone but there isn't any effect on sub performance?!

The unit_Submarine controller in sim file contains references to propeller, rudder and dive plane objects in the GR2 file (I am sure you are aware of it already) so, at least in dev's plans, any damage to the above devices should alter their functions. I am surprised that each of them didn't get its own damage box in stock game. :hmmm:

When you added the new boxes, what zone definitions have you assigned to them?

Quote:

Originally Posted by vdr1981 (Post 2108620)
Can somebody explain me values from zones.cfg file, especially those marked with colour? I have some theories but i'd like to hear other opinions...

...

Please have a look at the following post by observer on Submarine Sim Central forum:

http://forum.kickinbak.com/viewtopic...=t&sd=a#p15344

I suggest you to read the whole thread, as it is a gold mine of information :up:

Quote:

Originally Posted by vdr1981 (Post 2108620)
Also, i'm wondering is it possible to create test mission where unit will attack the sub with just one single shot, for example torpedo airplane but without use of cannons or guns? (trying to get some attention :) )

Of course you can. If you have never used Mission Editor, this is a tutorial by kylania explaining the most essential functions of it. If you prefer, you can also read this other post by me, where I explain the process of creating a test mission step by step.

There are also ways to alter ships' guns/depth charge racks, so that they will fire a single round/barrel or you can totally get rid of part of their armament. Tell me what do you want to do exactly, and I will tell you which file/controllers you need to edit :03:

Keep up your good work :) :salute:

vdr1981 09-01-13 12:30 PM

Very useful informations Gap! Thank you very much.:up:

Quote:

Originally Posted by gap (Post 2108654)
When you added the new boxes, what zone definitions have you assigned to them?

It was bowplanes and sternplanes...But i'v noticed that messing too much with zones cause CTD inmost cases so it's very difficult to make sens of something...:hmmm:

gap 09-01-13 01:15 PM

Quote:

Originally Posted by vdr1981 (Post 2108670)
Very useful informations Gap! Thank you very much.:up:

Glad to help. Let me know if you still need help with ship and/or plane armaments for your test missions :up:

Quote:

Originally Posted by vdr1981 (Post 2108670)
It was bowplanes and sternplanes...But i'v noticed that messing too much with zones cause CTD inmost cases so it's very difficult to make sens of something...:hmmm:

Have you tried setting them to destructible? :hmmm:

vdr1981 09-01-13 01:31 PM

I will, tnx...


I have tried that, but destructible=yes couse CTD when HP reach 0%(diveplanes and torpedo tubes), rudder cause CTD no mater which destructible setting are on ...

I need one good read of your links (those are really goldmines:up:)...

gap 09-01-13 01:41 PM

Quote:

Originally Posted by vdr1981 (Post 2108715)
I will, tnx...


I have tried that, but destructible=yes couse CTD when HP reach 0%(diveplanes and torpedo tubes), rudder cause CTD no mater which destructible setting are on ...

I need one good read of your links (those are really goldmines:up:)...

but aren't dive planes, rudders, torpedo tubes, etc taking damage already in stock game? :hmm2:

vdr1981 09-01-13 02:10 PM

Quote:

Originally Posted by gap (Post 2108717)
but aren't dive planes, rudders, torpedo tubes, etc taking damage already in stock game? :hmm2:

I don't think so...There's no any zones related to those sub parts...Maybe developers just remove them because they were CTD friendly...:nope:

gap 09-01-13 03:13 PM

Quote:

Originally Posted by vdr1981 (Post 2108729)
I don't think so...There's no any zones related to those sub parts...Maybe developers just remove them because they were CTD friendly...:nope:

Are there rudder, dive planes, etc. entries in the damage management panel? I don't remember :hmmm:

http://img689.imageshack.us/img689/1461/nonamekv.jpg

I

volodya61 09-01-13 04:07 PM

Quote:

Originally Posted by gap (Post 2108751)
Are there rudder, dive planes, etc. entries in the damage management panel? I don't remember :hmmm:

Nope..

gap 09-01-13 04:52 PM

Quote:

Originally Posted by volodya61 (Post 2108787)
Nope..

maybe this is the reason for game crashing to desktop when one of the aforementioned items gets destroyed :06:

Fifi 09-01-13 06:42 PM

Vdr, i hope you will manage something in regard of this :up:
Very good idea, and i wish you good luck, in the waiting.

vdr1981 09-02-13 05:02 PM

Need little help with goblin , how can add those controllers to .zon file?

http://i72.servimg.com/u/f72/17/10/76/38/captur11.jpg

gap 09-02-13 05:10 PM

Quote:

Originally Posted by vdr1981 (Post 2109170)
Need little help with goblin , how can add those controllers to .zon file?

I guess you mean the SH3ZonesCtrl at the bottom of the Project Tree, don't you?

just drag/drop it on top of the zon file in the same tree. The zon file and its controller will be highlighted in red, meaning that there are unsaved changes to the file. Right click on the zon file (again in the Project Tree) and select save from the following menu :up:


All times are GMT -5. The time now is 05:30 PM.

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