SUBSIM Radio Room Forums
Mods and files for every subsim!

SUBSIM: The Web's #1 BBS for all submarine and naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 11-16-2017, 04:20 PM   #1
yyzBegonia
Under the crabapple tree
 
yyzBegonia's Avatar
 
Join Date: Dec 2016
Location: London
Posts: 48
Downloads: 107
Uploads: 0
Default Modding zones.cfg

I've played RFB+RSRD+ISP combination for a long while, really love it
Except one problem......
The ships always sink in a way of steady and horizontal position, which obviously unrealistic when you can find tons of old photos showing damaged warships tilted to one side, eventually capsized and sunk. But it never happened in RFB...... I knew it deep-modified the damage mechanics for all the merchants and escorts, leaving other warships same with stock, so I want to modify the left warships parts.
I searched in forum and found the mod Longer Sinking Time for TMO, which is quite interesting because it only modified torpedo's zon file and zones.cfg. I tried this mod install on stock game and it works perfectly. In the torpedo attack training mission I fired 4 bow tube, all hit, 3 exploded, and the cruiser began to tilt, after about 10 minutes it eventually capsized and sunk.
I'm not planning to modify the torpedo.zon because I'm afraid that it will effect the sinking mechanics of modified ships. I decided to focus on zones.cfg. The RFB-modified part was put in front, such as:
Code:
;**********************************
;   Sampans
;**********************************
;**********************************

[Sampan15]
Multiplier=1.0
Flotability=15.0
HitPoints=10			;20
Destructible=No
Effect1=#Fire_small, 25
Armor Level=12
Critic Flotation=0.75
Critical=No
FloodingTime=180		;90
CargoType=None
Crash Depth=10

[SampanTiltSM]
Multiplier=1.0
Flotability=10.0
HitPoints=225
Destructible=No
Armor Level=6
Critic Flotation=0.9
Critical=No
FloodingTime=180
CargoType=None
Crash Depth=10

[SampanTiltLG]
Multiplier=1.0
Flotability=10.0
HitPoints=235
Destructible=No
Armor Level=6
Critic Flotation=0.9
Critical=No
FloodingTime=180
CargoType=None
Crash Depth=10

[SampanMast]
Multiplier=1.000000
Flotability=20.0000
HitPoints=50
Destructible=Yes
Effect1=#Fire_small, 99
Armor Level=6
Critic Flotation=0.1
Critical=No
FloodingTime=120
CargoType=None
Crash Depth=0.5

;**********************************
;   Life Boats & Spec Ops Boat
;**********************************
;**********************************

[LifeBoatSM]
Multiplier=1.0
Flotability=25.0
HitPoints=10
Destructible=No
Armor Level=0.0
Critic Flotation=0.75
Critical=NO
FloodingTime=60
CargoType=None
Crash Depth=10

[LifeBoatLG]
Multiplier=1.0
Flotability=25.0
HitPoints=25
Destructible=No
Armor Level=0.0
Critic Flotation=0.75
Critical=NO
FloodingTime=60
CargoType=None
Crash Depth=10

;**********************************
;   Fishing Boats & Trawlers
;**********************************
;**********************************

[FishBoat20]
Multiplier=1.0
Flotability=20.0
HitPoints=15			;30
Destructible=No
Effect1=#Fire_small, 25
Armor Level=12
Critic Flotation=0.75
Critical=NO
FloodingTime=180
CargoType=None
Crash Depth=10

[FishTilt]
Multiplier=1.0
Flotability=15.0
HitPoints=250
Destructible=No
Armor Level=6
Critic Flotation=0.9
Critical=No
FloodingTime=180
CargoType=None
Crash Depth=10

[Boat30]
Multiplier=1.0
Flotability=30.0
HitPoints=240
Destructible=No
Armor Level=-1
Critic Flotation=0.65
Critical=NO
FloodingTime=150
CargoType=None
Crash Depth=10

[Boat35]
Multiplier=1.0
Flotability=35.0
HitPoints=240
Destructible=No
Armor Level=-1
Critic Flotation=0.65
Critical=NO
FloodingTime=150
CargoType=None
Crash Depth=10

[Boat40]
Multiplier=1.0
Flotability=40.0
HitPoints=240
Destructible=No
Armor Level=-1
Critic Flotation=0.65
Critical=NO
FloodingTime=150
CargoType=None
Crash Depth=10

[Boat45]
Multiplier=1.0
Flotability=45.0
HitPoints=240
Destructible=No
Armor Level=-1
Critic Flotation=0.65
Critical=NO
FloodingTime=150
CargoType=None
Crash Depth=10

[Boat50]
Multiplier=1.0
Flotability=50.0
HitPoints=240
Destructible=No
Armor Level=-1
Critic Flotation=0.65
Critical=NO
FloodingTime=150
CargoType=None
Crash Depth=10

;*******************************************************
;Revised Fleet Boat Damage Mod
;
;These zones apply to the following boats:  Gato
;
;*******************************************************

[FltBH1]
Multiplier=1.0
Flotability=85
HitPoints=200
Destructible=No
Armor Level=-1
Critic Flotation=1.0
Critical=No
Father=200
Effect1=#dc_bubbles, 30
FloodingTime=300
CargoType=None

[FltBH2]
Multiplier=1.0
Flotability=150
HitPoints=200
Destructible=No
Armor Level=-1
Critic Flotation=1.0
Critical=No
Father=201
Effect1=#dc_bubbles, 30
FloodingTime=600
CargoType=None

[FltBH3]
Multiplier=1.0
Flotability=150
HitPoints=200
Destructible=No
Armor Level=-1
Critic Flotation=1.0
Critical=No
Father=202
Effect1=#dc_bubbles, 30
FloodingTime=600
CargoType=None

[FltBH4]
Multiplier=1.0
Flotability=150
HitPoints=200
Destructible=No
Armor Level=-1
Critic Flotation=1.0
Critical=No
Father=199
Effect1=#dc_bubbles, 30
FloodingTime=600
CargoType=None

[FltBH5]
Multiplier=1.0
Flotability=85
HitPoints=200
Destructible=No
Armor Level=-1
Critic Flotation=1.0
Critical=No
Father=192
Effect1=#dc_bubbles, 30
FloodingTime=300
CargoType=None

[FltBH6]
Multiplier=1.0
Flotability=150
HitPoints=200
Destructible=No
Armor Level=-1
Critic Flotation=1.0
Critical=No
Father=208
Effect1=#dc_bubbles, 30
FloodingTime=600
CargoType=None

[FltTorpRmFront]
Multiplier=1.0
Flotability=10.24
HitPoints=35 ;200
Destructible=No
Armor Level=10.0 ;-1
Critic Flotation=0.25
Critical=No
Effect1=#dc_bubbles, 30
FloodingTime=180
CargoType=None

[FltTorpRmStern]
Multiplier=1.0
Flotability=4.14
HitPoints=35 ;200
Destructible=No
Armor Level=-1
Critic Flotation=0.25
Critical=No
Effect1=#dc_bubbles, 30
FloodingTime=180
CargoType=None

[FltEngineRoom]
Category=Engines Room
Multiplier=1.0
Flotability=10.64 ;21.64
HitPoints=35 ;400
Destructible=No
Armor Level=-1
Critic Flotation=0.25
Critical=No
Effect1=#dc_bubbles, 10
Effect2=#Oil_trace, 20
FloodingTime=180
CargoType=None

[FltComRoom]
Category=Command Room
Multiplier=1.0
Flotability=11.16 ;5.58
HitPoints=35 ;200
Destructible=No
Armor Level=-1
Critic Flotation=0.25
Critical=No
Effect1=#dc_bubbles, 30
FloodingTime=180
CargoType=None

[AttackCenter]
Multiplier=1.0
Flotability=2.0 ;0.912
HitPoints=35 ;200
Destructible=No
Armor Level=-1
Critic Flotation=0.25
Critical=No
Effect1=#dc_bubbles, 30
FloodingTime=120
CargoType=None

[BowTorpedoTubes]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;200
Destructible=Yes
Armor Level=1 ;20
Critic Flotation=0.300000
Critical=No
Father=199
FloodingTime=59.999996
CargoType=None

[BowTorpedoTubes2]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;200
Destructible=Yes
Armor Level=1 ;20
Critic Flotation=0.300000
Critical=No
Father=199
FloodingTime=59.999996
CargoType=None

[BowTorpedoTubes3]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;200
Destructible=Yes
Armor Level=1 ;20
Critic Flotation=0.300000
Critical=No
Father=199
FloodingTime=59.999996
CargoType=None

[BowTorpedoTubes4]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;200
Destructible=Yes
Armor Level=1 ;20
Critic Flotation=0.300000
Critical=No
Father=199
FloodingTime=59.999996
CargoType=None

[BowTorpedoTubes5]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;200
Destructible=Yes
Armor Level=1 ;20
Critic Flotation=0.300000
Critical=No
Father=199
FloodingTime=59.999996
CargoType=None

[BowTorpedoTubes6]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;200
Destructible=Yes
Armor Level=1 ;20
Critic Flotation=0.300000
Critical=No
Father=199
FloodingTime=59.999996
CargoType=None

[BottomZone]
Multiplier=1.0
Flotability=0
HitPoints=1000000
Destructible=No
Armor Level=-1
Critic Flotation=1.0
Critical=No
FloodingTime=60
CargoType=None


;*******************************************************
;Revised Fleet Boat Damage Mod
;
;These zones apply to the following boats:  S-18
;
;*******************************************************

[DieselEngineRoom]
Category=Engines Room
Multiplier=1.000000
Flotability=15.00000
HitPoints=20
Destructible=No
Armor Level=-1
Critic Flotation=0.25
Critical=No
Father=29
Effect1=#dc_bubbles, 10
Effect2=#Oil_trace, 20
FloodingTime=120
CargoType=None

[CommandRoom]
Category=Command Room
Multiplier=1.000000
Flotability=15.000000
HitPoints=20
Destructible=No
Armor Level=-1
Critic Flotation=0.25
Critical=No
Father=32
Effect1=#dc_bubbles, 30
FloodingTime=180
CargoType=None

[TorpedoRoomFront]
Multiplier=1.000000
Flotability=15.000000
HitPoints=20
Destructible=No
Armor Level=-1
Critic Flotation=0.25
Critical=No
Father=36
Effect1=#dc_bubbles, 30
FloodingTime=120
CargoType=None

[SBBH1]
Multiplier=1.0
Flotability=200
HitPoints=200
Destructible=No
Armor Level=-1
Critic Flotation=1.0
Critical=No
Father=29
Effect1=#dc_bubbles, 30
FloodingTime=300
CargoType=None

[SBBH2]
Multiplier=1.0
Flotability=200
HitPoints=200
Destructible=No
Armor Level=-1
Critic Flotation=1.0
Critical=No
Father=32
Effect1=#dc_bubbles, 30
FloodingTime=300
CargoType=None

[SBBH3]
Multiplier=1.0
Flotability=200
HitPoints=200
Destructible=No
Armor Level=-1
Critic Flotation=1.0
Critical=No
Father=36
Effect1=#dc_bubbles, 30
FloodingTime=300
CargoType=None

[SBBowTorpedoTubes1]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35
Destructible=Yes
Armor Level=1
Critic Flotation=0.300000
Critical=No
Father=36
FloodingTime=59.999996
CargoType=None

[SBBowTorpedoTubes2]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35
Destructible=Yes
Armor Level=1
Critic Flotation=0.300000
Critical=No
Father=36
FloodingTime=59.999996
CargoType=None

[SBBowTorpedoTubes3]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35
Destructible=Yes
Armor Level=1
Critic Flotation=0.300000
Critical=No
Father=36
FloodingTime=59.999996
CargoType=None

[SBBowTorpedoTubes4]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35
Destructible=Yes
Armor Level=1
Critic Flotation=0.300000
Critical=No
Father=36
FloodingTime=59.999996
CargoType=None


;*******************************************************
;Revised Fleet Boat Damage Mod
;
;These zones are common to all boat models
;
;*******************************************************

[TowerWatch]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;75
Destructible=No
Armor Level=0
Critic Flotation=0.05
Critical=No
FloodingTime=59.999996
CargoType=None

[DieselEngine1]
Category=Engines Room
Multiplier=1.000000
Flotability=0.000000
HitPoints=100
Destructible=No
Armor Level=1.0
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[DieselEngine2]
Category=Engines Room
Multiplier=1.0
Flotability=0.0
HitPoints=100
Destructible=No
Armor Level=1.0
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[ElectricEngine1]
Category=Engines Room
Multiplier=1.000000
Flotability=0.000000
HitPoints=100
Destructible=No
Armor Level=1.0
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[ElectricEngine2]
Category=Engines Room
Multiplier=1.000000
Flotability=0.000000
HitPoints=100
Destructible=No
Armor Level=1.0
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[AftAAMount]
Multiplier=1.000000
Flotability=0.000000
HitPoints=20
Destructible=No
Armor Level=2
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[ForeAAMount]
Multiplier=1.000000
Flotability=0.000000
HitPoints=20
Destructible=No
Armor Level=2
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[HvyAAMount]
Multiplier=1.000000
Flotability=0.000000
HitPoints=30
Destructible=No
Armor Level=3
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[AftDGMount]
Multiplier=1.000000
Flotability=0.000000
HitPoints=30
Destructible=No
Armor Level=3
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[ForeDGMount]
Multiplier=1.000000
Flotability=0.000000
HitPoints=30
Destructible=No
Armor Level=3
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[AftAACrew]
Multiplier=1.000000
Flotability=0.000000
HitPoints=10
Destructible=No
Armor Level=0
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[ForeAACrew]
Multiplier=1.000000
Flotability=0.000000
HitPoints=10
Destructible=No
Armor Level=0
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[HvyAACrew]
Multiplier=1.000000
Flotability=0.000000
HitPoints=10
Destructible=No
Armor Level=0
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[AftDGCrew]
Multiplier=1.000000
Flotability=0.000000
HitPoints=30
Destructible=No
Armor Level=0
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[ForeDGCrew]
Multiplier=1.000000
Flotability=0.000000
HitPoints=30
Destructible=No
Armor Level=0
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[PeriscopeShears]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35
Destructible=No
Armor Level=0
Critic Flotation=0.05
Critical=No
FloodingTime=59.999996
CargoType=None

[SJRdrAnt]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35
Destructible=No
Armor Level=0
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[SDRdrAnt]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35
Destructible=No
Armor Level=0
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[TBT]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35
Destructible=Yes
Armor Level=0
Critic Flotation=0.300000
Critical=No
Father=31
FloodingTime=59.999996
CargoType=None

[UPropellers1]
Multiplier=1.000000
Flotability=0.000000
Critic Flotation=0.300000
Armor Level=12 ;25
HitPoints=100 ;300
Destructible=No
Critical=No
FloodingTime=59.999996
CargoType=None

[UPropellers2]
Multiplier=1.000000
Flotability=0.000000
Critic Flotation=0.300000
Armor Level=12 ;25
HitPoints=100 ;300
Destructible=No
Critical=No
FloodingTime=59.999996
CargoType=None

[RudderXXI]
Multiplier=1.000000
Flotability=0.000000
HitPoints=100 ;300
Destructible=No
Armor Level=12 ;25
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[FuelTanks]
Multiplier=1.000000
Flotability=0.000000
HitPoints=100 ;200
Destructible=No
Armor Level=1.0 ;-1
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=Engine Fuel
Effect1=#Oil_trace, 10
Effect2=#Oil_trace, 20
Effect3=#Oil_trace, 30
Effect4=#Oil_trace, 40
Effect5=#Oil_trace, 50
Effect6=#Oil_trace, 60
Effect7=#Oil_trace, 70
Effect8=#Oil_trace, 80
Effect9=#Oil_trace, 90
Effect10=#Oil_trace, 100

[SternTorpedoTubes]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;200
Destructible=Yes
Armor Level=1 ;20
Critic Flotation=0.300000
Critical=No
Father=200
FloodingTime=59.999996
CargoType=None

[SternTorpedoTubes2]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;200
Destructible=Yes
Armor Level=1 ;20
Critic Flotation=0.300000
Critical=No
Father=200
FloodingTime=59.999996
CargoType=None

[SternTorpedoTubes3]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;200
Destructible=Yes
Armor Level=1 ;20
Critic Flotation=0.300000
Critical=No
Father=200
FloodingTime=59.999996
CargoType=None

[SternTorpedoTubes4]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;200
Destructible=Yes
Armor Level=1 ;20
Critic Flotation=0.05
Critical=No
Father=200
FloodingTime=59.999996
CargoType=None

[UBold]
Multiplier=1.000000
Flotability=0.000000
HitPoints=35 ;150
Destructible=No
Armor Level=1.0 ;15
Critic Flotation=0.05
Critical=No
Father=200
FloodingTime=59.999996
CargoType=None

[HydrophoneSensor]
Multiplier=1.000000
Flotability=0.000000
HitPoints=24 ;100
Destructible=No
Armor Level=3 ;20
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[SonarHeadPort]
Multiplier=1.000000
Flotability=0.000000
HitPoints=24 ;100
Destructible=No
Armor Level=3 ;20
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

[SonarHeadStb]
Multiplier=1.000000
Flotability=0.000000
HitPoints=24 ;100
Destructible=No
Armor Level=3 ;20
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None


;***************************
;   Crash Depth
;***************************
;***************************

[CrashDepth1]
Multiplier=1.0
Flotability=10.0
HitPoints=1000
Destructible=No
Armor Level=-1
Critic Flotation=0.99
Critical=No
FloodingTime=100
CargoType=None
Crash Depth=0.5

[CrashDepth2]
Multiplier=1.0
Flotability=20.0
HitPoints=240
Destructible=No
Armor Level=-1
Critic Flotation=0.99
Critical=No
FloodingTime=150
CargoType=None
Crash Depth=2

[CrashDepthF]
Multiplier=1.0
Flotability=0.0
HitPoints=240
Destructible=No
Armor Level=-1
Critic Flotation=0.99
Critical=No
FloodingTime=60
CargoType=None
Crash Depth=2

[CrashDepthB]
Multiplier=1.0
Flotability=0.0
HitPoints=240
Destructible=No
Armor Level=-1
Critic Flotation=0.99
Critical=No
FloodingTime=60
CargoType=None
Crash Depth=2

[Flood20F]
Multiplier=1.0
Flotability=20.0
HitPoints=240
Destructible=No
Armor Level=-1
Critic Flotation=0.99
Critical=No
Father=548
FloodingTime=150
CargoType=None

[Flood20B]
Multiplier=1.0
Flotability=20.0
HitPoints=240
Destructible=No
Armor Level=-1
Critic Flotation=0.99
Critical=No
Father=549
FloodingTime=150
CargoType=None
etc.
In stock zones.cfg it begins with:

Code:
;*******************************************************
;NEW SMALL MERCHANT
;*******************************************************

[NSKeel]
Category=Keel
Multiplier=5.0
Flotability=50.0
HitPoints=120
Destructible=No
Armor Level=20
Critic Flotation=0.99
Critical=Yes
Critical Chance=1.0 
FloodingTime=360
CargoType=None

[NSFlotMain]
Multiplier=1.0
Flotability=8.0
HitPoints=100
Destructible=No
Armor Level=-1
Critic Flotation=0.30
Critical=No
FloodingTime=180
CargoType=Custom
Crash Depth=12

[NSFlotEmpty]
Multiplier=1.0
Flotability=40.0
HitPoints=100
Destructible=No
Armor Level=13
Critic Flotation=0.30
Critical=No
FloodingTime=180
CargoType=None
Crash Depth=12

[NSFlotShow]
Multiplier=1.0
Flotability=5.0
HitPoints=100
Destructible=No
Armor Level=-1
Critic Flotation=0.30
Critical=No
FloodingTime=180
CargoType=None
Crash Depth=12

[NSFlotUpper]
Multiplier=1.0
Flotability=10.00
HitPoints=10
Destructible=No
Armor Level=-1
Critic Flotation=0.01
Critical=No
FloodingTime=90
CargoType=None
Crash Depth=0.5
etc.
Fortunately I found the stock-part codes in RFB's zones.cfg after its modified part. I tried a lot of times, tweaking parameters such as FloodingTime, and tested it. It do make the ship sinks slower, but the problem of horizontal-sinking is still there.
I suspect it may because of the balance between the flooding rate of different part of the ship. But I'm really confusing about what those 'zones' actually mean. For instance, what the hell is 'KeelB’ and 'KeelBB' in the zone list? They're both in the 'Battleships' section, but I just don't know which part, or 'zone' they are referring to. It's obvious that if I can't figure out what's the meaning of all these names of zones, it's impossible to approach what I expect.
yyzBegonia 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 04:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 1997- 2017 Subsim