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-01-13, 10:53 AM   #1
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

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...



...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?!


- 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...

Sry for my creepy english... Cheers!

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 )

Last edited by vdr1981; 09-15-13 at 04:31 PM.
vdr1981 is offline   Reply With Quote
Old 09-01-13, 12:06 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by vdr1981 View Post
-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.

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

Quote:
Originally Posted by vdr1981 View Post
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

Quote:
Originally Posted by vdr1981 View Post
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

Keep up your good work
gap is offline   Reply With Quote
Old 09-01-13, 12:30 PM   #3
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Very useful informations Gap! Thank you very much.

Quote:
Originally Posted by gap View Post
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...
vdr1981 is offline   Reply With Quote
Old 09-01-13, 01:15 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by vdr1981 View Post
Very useful informations Gap! Thank you very much.
Glad to help. Let me know if you still need help with ship and/or plane armaments for your test missions

Quote:
Originally Posted by vdr1981 View Post
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...
Have you tried setting them to destructible?
gap is offline   Reply With Quote
Old 09-01-13, 01:31 PM   #5
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

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)...
vdr1981 is offline   Reply With Quote
Old 09-01-13, 01:41 PM   #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
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)...
but aren't dive planes, rudders, torpedo tubes, etc taking damage already in stock game?
gap is offline   Reply With Quote
Old 09-01-13, 02:10 PM   #7
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Quote:
Originally Posted by gap View Post
but aren't dive planes, rudders, torpedo tubes, etc taking damage already in stock game?
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...
vdr1981 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:59 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.