Log in

View Full Version : [TEC] Subs crashdepth.


Vikinger
03-27-09, 01:40 AM
Hi.

I was flipping around a bit whit some files and came upon some entries in a balao subfolders .Zon files that deals whit crush depth.
Its called ColisionableObject and the values/entries are:

Armorlevel=12.0 ( The armor level in cm 0-100 )

Hit_points= 300.0 ( the amount of hitpoints this ship can take)

Crashdepth= xxxxx ( I dont type out the number No spoilers here :haha: )

Crashspeed= 50.0 ( the number of hitpoints to be acumulated in 1 sec when ship is under Crashdepth)

Rebound= 0.45 ( the rebound coeficient [0-1] to be used when colliding whit other objects)

So my question is: if the sub have 300 hipoints and you go under crashdepth you will suffer 50 hitpoints damage each second and that means your sub will implode in 6 second. Is this correct?

I dont use to dive so deep but if you accidential come under crushdepth you have no time to recover. Insta death whit other words.
Could it be so simply to change the value crashspeed to something like 2.0? :hmmm:
That would give us 2.5 minutes to recover and go back up to safe depth. but for each second that ticks you will suffer 2 points in damage.
And il guess the crew will tell you when you go to deep also when they start to report damage on your sub.

Have anyone made a mod that deals whit this instadeath at crushdepth or looked into this values before?

Vikinger
03-27-09, 02:23 AM
I did some quik testing and i was suprised to se that i was not able to dive below 180 meters.
The crushdepth for my sub was a much higher value.

The sub levled out on 180 meters and i couldnt force it to dive deeper.

I changed the value to crushdepth 160 meters and crashspeed 2ticks/sec.

My sub started to take hull damage at about 130 meters and even if i tryed to surrface i was not able to recover. I was down to 150 meters. 10 meters from crushdepth. But as soon the sub takes damage the values change exponential. More hull damage less crushdepth.

I tested whit value 0,5 ticks/sec but even at that speed i didnt manage to recover my sub.

Gona do more testing but as it is now its impossible to crush your sub whit the values thats in the mods iam using.
And iam using TMO+RSRD.

A second check and i compared the other subs and they had much lower values than Balao sub. Guess i sneaked upon a little bug for that sub :03:

rcjonessnp175
03-27-09, 02:32 AM
Thats pretty interesting and to think of it lately ive gotten blasted to the bottom of the ocean at about 220 or more meters hit the bottom and spend an hour or two trying to repair the sub, but i dont recollect ever dying from the uber crush.. Nice find vikinger:yeah:


Jonesy

Webster
03-27-09, 10:32 AM
one key you are missing here, crashdepth isnt the crush depth its the depth the sub will go to when you order crash dive


crush depth is controled in the subs cfg file as "MaxDepth="

if your looking to fix the subs to have realistic crush depths then use my mod "Webster's Draft Fix for v1.4 and v1.5" found here (http://www.subsim.com/radioroom/downloads.php?do=file&id=479)

Vikinger
03-27-09, 11:46 AM
Ahh thx webster for the headsup.
I knew it was something i was missing :D

But the problem whit the Balao sub still exist :) need to find a solution for that.

Couldnt dive deeper than 181 meters ( as far as the depthgauge meter shows and also the number indicated that i was locked at that depth) and the crashdepth was set to 335.

When i looked into the other subs files they had values between 180 to 250.

When i changed the 335 value to something lower my sub imploded/ started to take damage about 30 meters from the set value.

Gona look into it a bit more later on. Its pub night and dont have time to sit infront oc the comp :arrgh!:

Edit/ Iam still confused. the crushdepth for the Balao sub is set to MaxDepth=121.92 in the cfg file. Then why could i dive down to 181 meters whit out any damage at all?

And the crashdept is set to CrashDepth=50.29;meters in the cfg and that is working when i order crash dive.

But what is that crashdepth 335 in the ColisionableObject i found then? And it did indeed affect when my substarted to take damage when i changed the values.

NEON DEON
03-27-09, 01:43 PM
It depends on where you are looking.

The submarine folder under each sub zone file:

The the crash depth is when the hull starts to react to the depth.

The next number is the damage per second the boat takes every second below crash depth. The damage inflictied changes the crush depth in a percentage way. IE: hull takes 50% damage then if the crush depth was 300 meters it is now 150.

The other number in the cfg file for max depth is just where the redline is positioned.

Webster
03-28-09, 01:34 AM
It depends on where you are looking.

The submarine folder under each sub zone file:

The the crash depth is when the hull starts to react to the depth.

The next number is the damage per second the boat takes every second below crash depth. The damage inflictied changes the crush depth in a percentage way. IE: hull takes 50% damage then if the crush depth was 300 meters it is now 150.

The other number in the cfg file for max depth is just where the redline is positioned.


actually no,

the crash depth is supposed to be shallow because its the emergency dive so you want to get somewhat deep and level off quickly to manuver better but not max depth

most subs hava a stock setting of 70 for the crashdepth which at 3.3ft = 1 meter 3.3 x 70 = 231 feet so your average crash depth for all subs is 231 feet

you have to watch what is meters and what is in feet, the files do everything in meters but in the game you see everything in feet.

whatever you set the subs cfg file crushdepth number to is what your depth guage will show the red needle on.

its not perfect but within 10 -15 feet of that needle (sometimes above sometimes below it) you will get gull damage and within a minite or so boom your dead.

im not sure what your trying to do but as i said before, i already have a mod that makes all subs have accurate crush depths based on real life numbers. even if your doing something different try it out and see what you get with just one number changed. you dont have to mess with the sim files at all.


have a look here at real life figures of sub specifications http://forums.ubi.com/eve/forums/a/tpc/f/6421019045/m/1941046945

Vikinger
03-28-09, 10:08 AM
Oki Thanks for the info Webster.

I think i drop this idea i had. My head hurts to much of all variables to take in account :D.

Only reason brought this up was when i found the "bug" whit the Baloa sub. That it wud never go below 181 meters and wud never crush.

But i just changed a value so i just cant dive so deep before i start to take damage. I didnt want a god mode submarine :)

Webster
03-28-09, 05:29 PM
Oki Thanks for the info Webster.

I think i drop this idea i had. My head hurts to much of all variables to take in account :D.

Only reason brought this up was when i found the "bug" whit the Baloa sub. That it wud never go below 181 meters and wud never crush.

But i just changed a value so i just cant dive so deep before i start to take damage. I didnt want a god mode submarine :)


well thats not a bug thats set correctly

181 meters is 597.3 feet and the balao has a crusn depth of 600 feet so it will implode if it goes any lower.

the cfg controls how deep you go by the maxdepth setting and it shows this with the red needle. you can set it up of down as you like and the needle and ability to go lower will follow.

i think the sim has the implosion control and the below crush depth sound trigger but im not sure.

if you really want a headache look at the german subs lol they are going to 1000 feet (without engines) and the guage only goes to 760 feet lol thats something needing a fix

Vikinger
03-28-09, 06:33 PM
Hehe oki thx for taking your time Webster for explaining this for me :)

I appreciate it :salute: