Log in

View Full Version : I-boat zones modding - damage model


keltos01
04-21-09, 01:44 PM
The aim of this thread is to be able to compile the damage model numbers and their definitions, so as to be able to tweak the damage boxes and the collision spheres to any sub, here namely the I-Boats.

relationship between nodes in the .zon -> link to nodes in the .dat :

node 2

691 NSS_UboatXVIII_FW_R PLANE

node 4

682 NSS_UboatXVIII_FW_L PLANE

node 6

669 NSS_UboatXVIII_PropellerR

node 8
666 NSS_UboatXVIII_PropellerL

node 10
317 NSS_UboatXVIII_Rudder

node 12
254 node NSS_UBoatXVIII_Door_FRU_anim

node 14
245 node NSS_UBoatXVIII_Door_FRM_anim

node 16
236 node NSS_UBoatXVIII_Door_FRD_anim

node 18
227 node NSS_UBoatXVIII_Door_FLU_anim

node 20
218 NSS_UboatXVIII_Door01_FLM_anim

node 22

209 NSS_UboatXVIII_Door01_FLD_anim

node 24

206 NSS_UboatXVIII_BK PLANES




node 26 - 52 zones -

3 ID= RadarAntenna



21 engine ID= EqSlotDEStb

22 elec engine ID= EqSlotEEStb

23 ID= IXBowBattery

24

25

26 ID= AttackPeriscopeHeadSlot

27 ID= ObsPeriscopeHeadSlot

31 ID= Jyunsen_BConnWatch

33 ID= EqSlot51bis
NameDisplayable= Starboard Bow Dive Plane Transmission

43 ID= Jyunsen_BGunB

44
45
46
47
48
49 ID= EqSlot41
NameDisplayable= Hydrophone Apparatus

50 ID= EqSlot42
NameDisplayable= Radio Apparatus

51

52

53

54 fuel tank

55 - engine ID= EqSlotDEPort

56 elec engine ID= EqSlotEEPort



57 what ????? fuel tank ???



58 ID= TorpMountB1

59 ID= IXSternBattery

60 ID= EqSlot11
NameDisplayable= Stern Dive Planes Transmission

61

62

63

64
ID= Jyunsen_BConnForeAA

68 ID= EqSlot14
NameDisplayable= Starboard Propeller Shaft



72 ID= EqSlot13
NameDisplayable= Port Propeller Shaft

103 fuel tank



104 what ?????




117 - what ????


118 ID= EqSlot12
NameDisplayable= Rudders Transmission

131 ID= TorpMountB2

132 ID= TorpMountB3

133 ID= TorpMountB4

134 ID= TorpMountB5

135 ID= TorpMountB6

136

137

138 ID= DecoyLaunchMount

139 ID= EqSlot52
NameDisplayable= Hydrophone Receivers



145 what ?????




169 ID= Jyunsen_BConnAftAA

198 ID= Jyunsen_BGunS

204 ID= Jyunsen_BBowTorpedo
ID= EqSlotBowTorpWall
NameDisplayable= Forward Torpedo Room Bulkhead

206
ID= Jyunsen_BEnginesRoom
ID= EqSlotEnginesWall

207 ID= Jyunsen_BCommandRoom
ID= EqSlotCommandWall
NameDisplayable= Command Room Bulkhead

208 ID= Jyunsen_BRadio
ID= EqSlotConningTowerWall
NameDisplayable= Radio Room Bulkhead

209

210 ID= EqSlot51
NameDisplayable= Port Bow Dive Plane Transmission


HULL
9 NSS_UboatXVIII

__________________________________________________ ____________

CHANGES to Jyunsen B :

moved the bow compartment forward and down a bit

increased the size of bow battery

increased the size of stern battery

SIZE OF CONNING TOWER

MOVED RADIO IN command room TOWER AREA

extended command room area

modified zone 104 fuel tank ? to fit in hull

modified zone 54 fuel tank ? to fit in hull

moved decoy launcher aft

moved fore torpedo room forward

moved engine room down

lengthened the diesel engines a bit

moved the spheres too

d/l

http://files.filefront.com/NSS+Jyunsen+Bzon/;13636071;/fileinfo.html

keltos01
04-25-09, 03:27 AM
can you add collision spheres and damage boxes to a boat ?

how do you link them to the compartments ?

keltos

keltos01
04-26-09, 03:36 AM
right so the definitions are in the zones.cfg in the Data folder :

[Zones List]
;Under water
0=Keel
1=Rudders
2=Propellers
3=URadar
4=UAntenae
5=EngineRoom
6=FuelBunkers
7=AmmoBunkersAbove
8=UZO
9=CargoFuel
10=CargoMerchandise
11=Command deck
12=Funnels
13=WeaponsHeavy
14=Antennae
15=Mast
16=ASWweapon
17=Load
18=Pipe
19=NavDeck
20=boat
21=DieselEngine1
22=ElectricEngine1
23=ForeBattery
24=Quarters1
25=Quarters2
26=PeriscopeAttack
27=PeriscopeObservation
28=Snorkel
29=DieselEngineRoom
30=ElectricEngineRoom
31=TowerWatch
32=CommandRoom
33=BowPlanes
34=TorpidoTubes
35=Ice
36=TorpedoRoomFront
37=TorpedoRoomStern
38=FlotabilityGeneric
39=FireSmall
40=FireMedium
41=WeaponsLight
42=CommunicationsRoom
43=DeckGun
44=Flak
45=FireBig
46=FloodFrontb
47=FloodBackf
48=FloodFrontf
49=Hidrophone
50=LRRadio
51=Sonar
52=Radar
53=Pumps
54=FuelTanks
55=DieselEngine2
56=ElectricEngine2
57=Compresor
58=BowTorpedoTubes
59=AftBattery
60=SternPlanes
61=SternTorpedoTubes
62=DGun
63=ExternalStorage
64=FlakGun1
65=blabla
66=FlakGun3
67=URudders1
68=UPropellers1
69=EngineRoomB
70=FuelBunkersB
71=AmmoBunker
72=UPropellers2
73=URudders2
74=ShipBubbles
75=F_WingsBack
76=PlaneSmoke
77=F_PlaneEngine
78=F_PlaneFuelBunker
79=F_WingsFront
80=PlaneFire
81=Platform
82=KeelB
83=Cargo1
84=Cargo2
85=Floodf
86=Floodb
87=FireBigga
88=FloodBackb
89=MB_WingsFront
90=MB_WingsBack
91=PlaneRudder
92=PlanePropeller
93=MB_PlaneEngine
94=MB_PlanePropeller
95=LB_WingsFront
96=LB_WingsBack
97=LB_PlaneEngine
98=LB_PlaneFuelBunker
99=HB_WingsFront
100=HB_WingsBack
101=HB_PlaneEngine
102=HB_PlanePropeller
103=Test
104=OilLeak
105=CargoTest
106=AmmoBunkerA
107=AmmoBunkANels
108=AmmoBunkFNels
109=FlotabilityUpper
110=FloodTower
111=FlotabilityShow
112=FlotabilityGenB
113=KeelBB
114=FloodfB
115=FloodbB
116=FlakXXI
117=PumpsXXI
118=RudderXXI
119=UPropellersXXI1
120=UPropellersXXI2
121=SternPlanesXXI
122=FlakGunXXI
123=FuelTanksII
124=RudderII
125=UPropellersII1
126=UPropellersII2
127=SternPlanesII
128=SternTorpedoTubes2
129=SternTorpedoTubes3
130=SternTorpedoTubes4
131=BowTorpedoTubes2
132=BowTorpedoTubes3
133=BowTorpedoTubes4
134=BowTorpedoTubes5
135=BowTorpedoTubes6
136=FlotabilityFisher
137=Troops
138=UBold
139=UHydrophReceivers
140=URWR
141=UActiveSonar
142=SnorkelXXI
143=UBoldXXI
144=UBoldII
145=CreepEngine1
146=CreepEngine2
147=UNibelung
148=AmmoTorp
149=AftBatteryIX
150=CargoLST
151=PlaneDebris
152=FlakGun4
153=NKeel
154=NFlotMain
155=NFlotShow
156=NFlotUpper
157=NEngineRoom
158=NFuelBunker
159=NFloodF
160=NFloodB
161=NEKeel
162=NEEngineRoom
163=NEFlotMain
164=NEFlotShow
165=NEFlotUpper
166=NEFuelBunker
167=NEFloodF
168=NEFloodB
169=FlakGun2
170=NCargoFuel
171=NCargoFuSide
172=HLoad
173=NSKeel
174=NSFlotMain
175=NSFlotShow
176=NSFlotUpper
177=NSFuelBunker
178=ULongAntenae
179=HangarDeck
180=CLoad
181=NSFlotEmpty
182=SmokeLarge
183=NFlotEmpty
184=NTFlotEmpty
185=BBAmmoBunkerA
186=BBAmmoBunkersAbove
187=BBAmmoBunkers
188=BBFuelBunkers
189=BBEngineRoom
190=BBFlotEmpty
191=ExtCargoFuel
192=AttackCenter
193=SampanMast
194=SampanFlotability
195=SonarHeadPort
196=SonarHeadStb
197=HydrophoneSensor
198=FltDeckGunStern
199=FltTorpRmFront
200=FltTorpRmStern
201=FltEngineRoom
202=FltComRoom
203=FlakFore
204=UbtTorpRmFront
205=UbtTorpRmStern
206=UbtEngineRoom
207=UbtComRoom
208=UbtRadioRoom
209=UKDBReceivers
210=BowPlanesPort

they are linked to specific stuff :

;************************************************* ******
;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=120
CargoType=None

explained here :

http://forum.kickinbak.com/viewtopic.php?f=70&t=1378

keltos01
04-26-09, 03:40 AM
observer added a lot of changes to the zones in RFB : instead of 210 there are now 635 !!!!!

my goal is to make a damage model for the I-Boats only, and preferably compatible with RFB, so we don't do it all over again.

there are a lot of changes in the upcge coef, f.i. he sets

Typ IX RFB

MaintenanceCoef= 0.0244
RepairsCoef= 0.082
ReloadingweaponCoef= 0.082
SleepCoef= -0.12
LeadersSlots=3
CrewMembersSlots= 0
EffciencyDenominator=3
EffciencyDenominatorBS=3
Hitpoints=100

Jyunsen 1M (also type IX based):

MaintenanceCoef= 0.019 ->lower
RepairsCoef= 0.072 ->lower
ReloadingweaponCoef= 0.072 ->lower
SleepCoef= -0.12
LeadersSlots=3
CrewMembersSlots= 3
EffciencyDenominator=6 ->double
EffciencyDenominatorBS=6 ->double
Hitpoints=200 ->double

I'll look into it but it'll take time to understand ...

a zone under the ship with armor 1000 -> allows to sit on the bottom

added to fueltanks :
Effect1=#Oil_trace, 50
Effect2=#Catastrofic_explosion, 100
Effect3=#Fire_big, 75

in ZOnes.cfg :

reduced hydrophones hit points from 200 to 100
HitPoints=100 ;200 (<- to remember what it was)

[Radar]
Multiplier=1.000000
Flotability=0.000000
HitPoints=250 ;200

[DeckGun]
Multiplier=1.000000
Flotability=0.000000
HitPoints=200
Destructible=No
Armor Level=25 ;1

[Flak]
Multiplier=1.000000
Flotability=0.000000
HitPoints=200
Destructible=No
Armor Level=25 ;1

[FlakFore]
Multiplier=1.0
Flotability=0.0
HitPoints=200
Destructible=No
Armor Level=25 ;1

[FlakGun1]
Multiplier=1.000000
Flotability=0.000000
HitPoints=100
Destructible=No
Armor Level=15 ;10

[FlakGun2]
Multiplier=1.000000
Flotability=0.000000
HitPoints=100
Destructible=No
Armor Level=25 ;20

[FlakGun3]
Multiplier=1.000000
Flotability=0.000000
HitPoints=100
Destructible=No
Armor Level=15 ;10

NEON DEON
04-26-09, 02:45 PM
Keltos,

What does this symbol mean?


->


From this line:

EffciencyDenominator=6 ->double

peabody
04-26-09, 03:12 PM
Keltos,

What does this symbol mean?


->


From this line:

EffciencyDenominator=6 ->double

It looks to me like he is comparing his subs value to the values in the RFB values in the sub above it. In this case the value in 'stock' which is what he is working with right now, is double what is set in the RFB IX.

Peabody

keltos01
04-27-09, 03:06 PM
It looks to me like he is comparing his subs value to the values in the RFB values in the sub above it. In this case the value in 'stock' which is what he is working with right now, is double what is set in the RFB IX.

Peabody

yep just is an arrow

keltos

NEON DEON
04-27-09, 03:18 PM
yep just is an arrow

keltos

OOPS!:oops:

I was reading it as minus more than double:88)