Quote:
Originally Posted by propbeanie
I cannot follow those cryptic numbers they do, though someone once had a "guide" to those. May-haps one of those is "illegal" and beyond a valid value...
|
i wrote this up for someone while i was working on DW with Fifi. it is based on posts that i read and my own analytic skills. take that for what it is worth.
Ok, this may become tedious, so buckle up.
I used the NSS_Uboat7c.upcge as the example.
If you open that file with Notepad (or whatever you use for plain text editing), scroll down until you see DamageDescription1=. There will probably be 10 damage descriptions in ascending levels of damage. I believe that these are vestiges fro Silent Hunter 3 because some of the parms are no longer used which means that the thing was lifted from old code for expediency.
The damage parameters will follow this pattern with each value separate by a comma: - DamageDescription1
- DamageType - always seems to be NULL
- MinDamage - some factor smaller than the next value (Max)
- MaxDamage - some factor larger than the last value (Min)
- Note:Min and max are probably defined to give some internal subroutine a lowest and upper limit for damage. Totally set-able as long as the first is lower than the second and both values are between 0 and 1.
- ChanceFactor - always zero. Probably a vestige.
- Unknown
- Unknown
- Message - what it indicates except that we never see this in the game. All we see is Torpedo Room Damaged, Periscope Destroyed, etc.
- DamageDestination- always zero. Probably a vestige.
- Unknown
- Unknown
- EfficiencyReduction - exactly what is indicates. Always a decimal. Probably used as a multiplicative somewhere in the game.
- Repair skill needed- exactly what is indicates. Always a decimal. Probably used as a multiplicative somewhere in the game.
- Repair time in minutes - I think this value is not minutes. It could be…but I think not. Haven't been able to figure out if it is minutes or hours or days.
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper
  
------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
|