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 > Silent Hunter 4: Wolves of the Pacific > SH4 ATO Mods
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-20-09, 05:01 PM   #1
polyfiller
Weps
 
Join Date: Sep 2005
Posts: 359
Downloads: 43
Uploads: 0
Default

Here are the descriptors for the numbers;

;DamageDescription1= Taken_DamageType, MinDamage, MaxDamage, MinMaintenance, MaxMaintenance, chancefactor, Message, Spawned_damage_HP, Spawned_damage_AP, Spawned_Damage_Type, EfficiencyReduction, repair_skill, repairtime_in_hours

To make an item repairable, the rpair skill must be less than one at damage level =1 - like so;

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 <<<< this last line means that a repair skill of 1 will take 1000000 hours to repair. To make it repairable, change repair skill to less than one and give a reasonable repair time;

DamageDescription10= NULL,0.9,1,0,0,1,Wall breached,0,0,NULL,1,0.2,2

There are 10 damadescriptors in the above due to me using a technique recommended to me by Observer - basically if the damage descriptors aren't defined in 10% increments - the damage engine starts to do strange things (like not keeping track or totalling up damage properly - basically I couldn't get stuff to stop working when destroyed until I used the above).

As well as doing the above, you may have to add a person to the crew with repair special ability - this enables the repair of destroyed items. I've never been interested in repairing detroyed items - so I can't vouch for the above doing what you want ... but it should in theory.
polyfiller is offline   Reply With Quote
Old 05-20-09, 06:28 PM   #2
tonschk
Admiral
 
Join Date: Mar 2007
Posts: 2,200
Downloads: 172
Uploads: 0
Default

Hello. Thank you for the help , can you tell me please if your previous post represent the files that control/manipulate the damage of the entire/whole Hull or just a section/compartment of the submarine ?, thank you very much for the help
__________________
What we do in life echoes in Eternity
tonschk is offline   Reply With Quote
Old 05-23-09, 08:50 AM   #3
Igor
Nub
 
Join Date: Feb 2004
Posts: 2
Downloads: 16
Uploads: 0
Default

Most excellent. Hopefully the instructions posted in this thread will allow you to completely repair the hull as well, and not just destroyed systems. Now then, all i need to do is get cracking at those files.
Igor is offline   Reply With Quote
Reply


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 07:00 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.