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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-17-13, 12:37 PM   #11
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
Gabriele

never.. all the deck equipment (I mean - flaks, deck gun, scopes, antennas etc.) usually repaired very quickly.. even if Rongel's mod (Longer Repairs) enabled.. and funny and very annoying stock bug: all the deck equipment able repaired when submerged..
so, correct me if I got you wrong, our guns get damage (or at least we get reported that they are damaged), but...

a. they are repaired very quickly
b. their functionality is not affected by the damage taken anyway

At least this is my experience. As I told before, looking into their settings I have noticed our guns don't have any zone assigned to them, therefore I am surprised that we still get the message "deck gun damaged, sir" at times. Adding damage boxes/spheres around our guns in not a big deal. I have also noticed that there are two special categories, 'Light Weapons' and 'Heavy Weapons' in Zones.cfg file, which are used for AI unit's armaments (whose guns, incidentally, can be disabled by damage). I hope that the same tag will work with player's guns.

Also notice that player gun's damage is converted into efficency reduction rates and repair times according to the settings contained in Weapons.upc.
There's a set of settings for each gun. For the single C/38 they are:

Code:
;DamageDescription1= Taken_DamageType, MinDamage, MaxDamage, MinMaintenance, MaxMaintenance, chancefactor, Message, Spawned_damage_HP, Spawned_damage_AP, Spawned_Damage_Type, EfficiencyReduction, repair_skill, repairtime_in_hours 
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
for each row, we have:
Taken_DamageType: not sure about this. Stock setting is invariably NULL for all the equipments
MinDamage, MaxDamage: this is a percent of equipment's hit points; it set the range of damage at which the next settings will be applied;
MinMaintenance, MaxMaintenance: not sure about this
chancefactor: the probability in percent that the next settings will be applied [?]
Message: damage description (probably not used)
Spawned_damage_HP, Spawned_damage_AP: the damage spawned to nearby zones [?]
Spawned_Damage_Type: see mi comments on 'Taken_DamageType'
EfficiencyReduction: this is how much the functionality of the given equipment is affected by the damage, in percents. In our case, I am not sure how this setting would be reflected in therms of gun performance, but a value of 1 (=100%) should totally disable it;
repair_skill: the crew training in percents required for repairing the damaged equipment; if bigger than 1, the equipment not reparable
repairtime_in_hours: self explanatory
gap is offline   Reply With Quote
 

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 04:04 PM.


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.