Jump to content

List of subentities of different blocks


Recommended Posts

Posted (edited)

Does someone have a list of the number of subentities of each static block? I'm after getting the total number of values shown between the square brackets in the mission logs for each block, e.g.:

T:303 AType:12 ID:47104 TYPE:Sklad_01[93,0] COUNTRY:201 NAME:Block PID:-1
T:303 AType:12 ID:47104 TYPE:Sklad_01[93,2] COUNTRY:201 NAME:Block PID:-1
T:303 AType:12 ID:47104 TYPE:Sklad_01[93,3] COUNTRY:201 NAME:Block PID:-1
T:303 AType:12 ID:47104 TYPE:Sklad_01[93,5] COUNTRY:201 NAME:Block PID:-1
T:303 AType:12 ID:47104 TYPE:Sklad_01[93,6] COUNTRY:201 NAME:Block PID:-1
T:303 AType:12 ID:47104 TYPE:Sklad_01[93,7] COUNTRY:201 NAME:Block PID:-1
T:303 AType:12 ID:47104 TYPE:Sklad_01[93,8] COUNTRY:201 NAME:Block PID:-1
T:303 AType:12 ID:47104 TYPE:Sklad_01[93,10] COUNTRY:201 NAME:Block PID:-1
T:303 AType:12 ID:47104 TYPE:Sklad_01[93,11] COUNTRY:201 NAME:Block PID:-1
T:303 AType:12 ID:47104 TYPE:Sklad_01[93,13] COUNTRY:201 NAME:Block PID:-1
T:303 AType:12 ID:47104 TYPE:Sklad_01[93,14] COUNTRY:201 NAME:Block PID:-1
T:303 AType:12 ID:47104 TYPE:Sklad_01[93,21] COUNTRY:201 NAME:Block PID:-1 

That particular log excerpt is from having a Damage Complete MCU target a block. Values run: 0, 2, 3, 5...

 

What I find strange is that we can have different values after the comma:
 

T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,0] COUNTRY:101 NAME:dePEREDEL_1 PID:-1
T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,1] COUNTRY:101 NAME:dePEREDEL_1 PID:-1
T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,2] COUNTRY:101 NAME:dePEREDEL_1 PID:-1
T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,3] COUNTRY:101 NAME:dePEREDEL_1 PID:-1
T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,4] COUNTRY:101 NAME:dePEREDEL_1 PID:-1
T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,5] COUNTRY:101 NAME:dePEREDEL_1 PID:-1
T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,6] COUNTRY:101 NAME:dePEREDEL_1 PID:-1
T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,8] COUNTRY:101 NAME:dePEREDEL_1 PID:-1
T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,10] COUNTRY:101 NAME:dePEREDEL_1 PID:-1
T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,12] COUNTRY:101 NAME:dePEREDEL_1 PID:-1
T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,13] COUNTRY:101 NAME:dePEREDEL_1 PID:-1
T:742 AType:12 ID:57344 TYPE:Sklad_01[3475,22] COUNTRY:101 NAME:dePEREDEL_1 PID:-1

That excerpt is from the block being hit by a bomb. The values seem to run differently: 0, 1, 2, 3...

Am I completely mistaken that the values after the comma are subentities of the block?

Edited by LLv34_Temuri
Posted

 

 

Am I completely mistaken that the values after the comma are subentities of the block?

No, you are not even partially mistaken.

 

Here is a partial list I've built:

    member this.SubBlocks = 
        match this.Model with
        | Contains "arf_barak" -> [1]
        | Contains "arf_dugouts_2" -> [2..5]
        | Contains "arf_dugouts_3" -> [0..6]
        | Contains "arf_ammo_1" -> [0] @ [2..10]
        | Contains "arf_ammo_2" -> [0..9]
        | Contains "arf_ammo_3" -> [3..10]
        | Contains "arf_ammo_4" -> [2..8]
        | Contains "arf_sklad" -> [1]
        | Contains "arf_saray" -> [1]
        | Contains "industrial_200x140_01" -> [0..12]
        | Contains "industrial_200x140_02" -> [0..19]
        | Contains "industrial_300x100_01" -> [0..13]
        | Contains "industrial_300x100_02" -> [0..15]
        | Contains "industrial_300x100_03" -> [0..9]
        | Contains "industrial_300x100_04" -> [0..7]
        | Contains "industrial_block_fuel35m_300x100" -> [0..7]
        | Contains "industrial_block_fuel25m_300x100" -> [0..6]
        | Contains "industrial_block_bigwarehouse_300x100" -> [1..4] @ [6..7]
        | Contains "industrial_block_midwarehouse_200x140" -> [0..8]
        | Contains "industrial_block_smallwarehouse_150x100" -> [0..12] @ [19..21] @ [23..29]
        | Contains "industrial_block_smallwarehouse_300x100" -> [0..8] @ [10..12] @ [15] @ [23..28] @ [33..42]
        | Contains "industrial_block_smallwarehouse2_150x100" -> [0..18]
        | Contains "industrial_block_smallwarehouse2_300x100" -> [0..12] @ [15] @ [22..26] @ [33..37]
        | Contains "industrial_block_fuel_300x100" -> [2..3] @ [16..19]
        | Contains "industrial_cornerl_01" -> [0..8]
        | Contains "industrial_cornerl_02" -> [0..9]
        | Contains "industrial_cornerr_01" -> [0..6]
        | Contains "industrial_cornerr_02" -> [0..10]
        | Contains "industrial_object_oil" -> [1]
        | Contains "industrial_object_zavodkorpys45m" -> [1]
        | Contains "vl_pvrz01" -> [1]
        | Contains "vl_pvrz03" -> [3]
        | Contains "vl_rounddepot" -> [1..3]
        | Contains "arf_hangars_1" -> [0..1]
        | Contains "arf_hangars_2" -> [0..1]
        | Contains "arf_hangars_3" -> [0]
        | Contains "arf_hangararc" -> [1]
        | Contains "arf_hangarbox" -> [1]
        | Contains "arf_gsm_1" -> [2..4]
        | Contains "arf_gsm_2" -> [1; 2]
        | Contains "meh_01" -> [0..7]
        | Contains "port_up_crane" -> [0;2]
        | Contains "port_up_group_cargo_190x15" -> [0..15]
        | Contains "port_up_group_cargo_50x25" -> [0..7]
        | Contains "port_up_group_smallsklad" -> [0..1]
        | Contains "port_up_group_smallwarehouse" -> [0..1]
        | Contains "port_up_object_smallsklad" -> [1]
        | Contains "port_up_object_smallwarehouse" -> [1]
        | Contains "port_up_unit_bags" -> [1]
        | Contains "port_up_unit_container" -> [1]
        | Contains "port_up_unit_woodbox_1x4" -> [1]
        | Contains "port_up_unit_woodbox_2x24" -> [1]
        | Contains "rwstation_b" -> [0..1] @ [3..7] @ [9..16]
        | Contains "rwstation_s1" -> 0 :: [2..3] @ [5] @ [7..10]
        | Contains "rwstation_s2" -> 0 :: [2..3] @ [6..8]
        | Contains "scot_01" -> [0..4] @ [15..21]
        | Contains "sklad_01" -> [0..14]
        | Contains "town_lrg_01" -> [0..6] @ [9..10] @ [12]
        | Contains "town_lrg_02" -> [0..4] @ [6..9]
        | Contains "town_lrg_03" -> [0..6] @ [8..13]
        | Contains "town_lrg_04" -> [0..4] @ [8..9] @ [11] @ [13..20]
        | Contains "town_lrg_05" -> [0..3] @ [5] @ [7..9]
        | Contains "town_lrg_06" -> [0..7] @ [9]
        | Contains "town_lrg_corner_01" -> 0 :: 2 :: [4..7]
        | Contains "town_lrg_corner_02" -> [0..6] @ [8]
        | Contains "watertower" -> [0]

My lists of subcomponents are not complete. I have consciously removed dog houses, fences... i.e. things of little strategic value.

  • Upvote 2
Posted

Thank you very much again Coconut!

Posted (edited)

Followup question:
If I've set the damage level to some subentities in the mission editor, can those blocks still be repaired completely via the Damage MCU, and any damage added when mission is played is applied on top of the existing pre-defined damage?

Edited by LLv34_Temuri
Posted

Followup question:

If I've set the damage level to some subentities in the mission editor, can those blocks still be repaired completely via the Damage MCU, and any damage added when mission is played is applied on top of the existing pre-defined damage?

 

To the first part of your question, no, you cannot repair damage that was applied to a block using the Damage table in the Properties dialog.

 

To the second part of your question, I believe the mission-in-progress damage is applied to the pre-existing damage from the Damage table.

Posted

To the first part of your question, no, you cannot repair damage that was applied to a block using the Damage table in the Properties dialog.

Well dang :(

 

Thanks for the information!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...