MaterialDefGroup Property

Usage:
   MaterialManager.MaterialDefGroup number

Argument values:

argument 1:    range is 0 to 488; most commonly 115, 116, 165, 256

Description: This property specifies the defending group material to which a succeeding MaterialDamage property is applied.

See the Damage Tutorial for more information.

Related properties: Material, MaterialAttGroup, MaterialDamage

This property is not a part of any defined type of object.

Used in a total of 20 .con files: At.con, Bf110.con, C47.con, Carro_armato_gun.con, Carroarmato_mg.con, Grant_gun.con, Grant_mg.con, M3gmc_gun.con, Materialmanagerdefine.con, Mosquito.con, Objectivearmor.con, Ptraftarmor.con, Raftarmor.con, Shotgun.con, Sturmgeschutz.con, Throwknife.con, Wasserfall.con

Parent directories of these .con files: Bf1942/Levels, Bf1942/Game

Example: (from Bf1942/Game/damage_system/Grant_Gun.con)
   REM **** ALLIED LIGHT TANK ********
   MaterialManager.Material 130
   MaterialManager.MaterialAttGroup 130
   MaterialManager.MaterialDefGroup 130
   MaterialManager.MaterialDamage 10
   REM **** ALLIED LIGHT TANK ********
   MaterialManager.Material 121
   MaterialManager.MaterialAttGroup 121
   MaterialManager.MaterialDefGroup 121
   MaterialManager.MaterialDamage 8
   rem *
   rem * ***** Grant gun explosion SPLASH DAMAGE *****
   rem *
   rem * *************************************************
   rem * Infantry target
   rem * *************************************************
   MaterialManager.AttGroup 130
   MaterialManager.DefGroup 40
   MaterialManager.DamageMod 8
   MaterialManager.AttGroup 130
   MaterialManager.DefGroup 41
   MaterialManager.DamageMod 8
   MaterialManager.AttGroup 130
   MaterialManager.DefGroup 42
   MaterialManager.DamageMod 8
   rem * *************************************************
   rem * scout cars target
   rem * *************************************************
   MaterialManager.AttGroup 130
   MaterialManager.DefGroup 43
   MaterialManager.DamageMod 3
   MaterialManager.AttGroup 130
   MaterialManager.DefGroup 44
   MaterialManager.DamageMod 3
   rem * *************************************************
   rem * Planes target
   rem * *************************************************
   MaterialManager.AttGroup 130
   MaterialManager.DefGroup 60
   MaterialManager.DamageMod 5
   MaterialManager.AttGroup 130
   MaterialManager.DefGroup 61
   MaterialManager.DamageMod 5
   MaterialManager.AttGroup 130
   MaterialManager.DefGroup 62
   MaterialManager.DamageMod 5
   rem * *************************************************
   rem * Default
   rem * *************************************************
   MaterialManager.AttGroup 130
   MaterialManager.DefGroup 0
   MaterialManager.DamageMod 0.0
   MaterialManager.AttGroup 130
   MaterialManager.DefGroup 1
   MaterialManager.DamageMod 0.0
   rem ***************************************************
   rem * ***** Grant gun explosion - DIRECT DAMAGE *****
   rem ***************************************************
   rem * *************************************************
   rem * Infantry target
   rem * *************************************************
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 40
   MaterialManager.DamageMod 10
   MaterialManager.SetEffectTemplate e_ExplSmall2
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 41
   MaterialManager.DamageMod 10
   MaterialManager.SetEffectTemplate e_ExplSmall2
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 42
   MaterialManager.DamageMod 10
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *************************************************
   rem * scout cars target
   rem * *************************************************
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 43
   MaterialManager.DamageMod 5
   MaterialManager.SetEffectTemplate Exp2CascadesMetal
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 44
   MaterialManager.DamageMod 5
   MaterialManager.SetEffectTemplate Exp2CascadesMetal
   rem * *************************************************
   rem * Light Vehicle target
   rem * *************************************************
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 45
   MaterialManager.DamageMod 4
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 46
   MaterialManager.DamageMod 3.5
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 47
   MaterialManager.DamageMod 3
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 48
   MaterialManager.DamageMod 2.5
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 49
   MaterialManager.DamageMod 1.5
   MaterialManager.SetEffectTemplate e_ExplArmor
   rem * *************************************************
   rem * Heavy Vehicle target
   rem * *************************************************
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 50
   MaterialManager.DamageMod 3
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 51
   MaterialManager.DamageMod 2
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 52
   MaterialManager.DamageMod 1.5
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 53
   MaterialManager.DamageMod 1.5
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 54
   MaterialManager.DamageMod 1
   MaterialManager.SetEffectTemplate e_ExplArmor
   rem * *************************************************
   rem * Ship target
   rem * *************************************************
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 55
   MaterialManager.DamageMod 2.0
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 56
   MaterialManager.DamageMod 1.0
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 57
   MaterialManager.DamageMod 1.0
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 58
   MaterialManager.DamageMod 0.5
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 59
   MaterialManager.DamageMod 0.5
   MaterialManager.SetEffectTemplate e_ExplArmor
   rem * *************************************************
   rem * Planes target
   rem * *************************************************
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 60
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 61
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 62
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 63
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate e_ExplArmor
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 64
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate e_ExplArmor
   rem * *************************************************
   rem * Default
   rem * *************************************************
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 0
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplAni01
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 1
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_waterimpact
   rem * *************************************************
   rem * Material Effects
   rem * *************************************************
   rem * *************************************************
   rem * Other Materials
   rem * *************************************************
   rem * *** Dry Grass (yellow) ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 2
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplAni01
   rem * *** Juicy Grass (Green) ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 3
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplAni01
   rem * *** Dry Dirt ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 4
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplAni01
   rem * *** Wet Dirt ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 5
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplAni01
   rem * *** Mud ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 6
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplAni01
   rem * *** Deep Mud ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 7
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplAni01
   rem * *** Gravel ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 8
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplAni01
   rem * *** Frozen ground ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 9
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplFrozenSnow
   rem * *** Dry Sand ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 10
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate GroundExplDry
   rem * *** Wet Sand ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 11
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplAni01
   rem * *** Rock ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 12
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplAni01
   rem * *** Forest Floor ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 13
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate GroundExplDry
   rem * *** Dirt Road ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 14
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplAni01
   rem * *** Paved Road ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 15
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesStone
   rem * *** Solid Wood ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 80
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Wood ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 81
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Thin Wood ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 82
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Hollow Wood ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 83
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Solid Metal ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 84
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesMetal
   rem * *** Metal ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 85
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesMetal
   rem * *** Thin Metal ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 86
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Hollow Metal ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 87
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Solid Stone (Rock) ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 88
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesStone
   rem * *** Concrete ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 92
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesStone
   rem * *** Reinforced Concrete ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 93
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesStone
   rem * *** Flesh ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 94
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Exterior Stone Wall ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 100
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesStone
   rem * *** Interior Stone Wall ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 101
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesStone
   rem * *** Exterior brick Wall ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 102
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesStone
   rem * *** Interior brick Wall ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 103
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesStone
   rem * *** Exterior wooden Wall ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 104
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Interior wooden Wall ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 105
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Wooden Fence ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 106
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Sandbags ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 107
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplDrySand
   rem * *** Grate ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 108
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Wooden Fence ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 109
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Wire Fence ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 110
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Grated Fence ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 111
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Mesh Fence ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 112
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Bamboo Exterior wall ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 113
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Bamboo Interior wall ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 114
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Bamboo Fence ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 115
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Bamboo Fence ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 116
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Wooden Floor ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 117
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Stone Floor ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 118
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesStone
   rem * *** Glass Pane ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 119
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Tree Trunk ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 165
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Tree Trunk ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 166
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *************************************************
   rem * Special items
   rem * *************************************************
   rem * *** Wooden door ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 190
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesWood
   rem * *** Metal Door ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 191
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate Exp2CascadesMetal
   rem * *** Wooden Ladder ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 192
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Metal Ladder ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 193
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Switch/control panel ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 194
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_ExplSmall2
   rem * *** Climbing net ***
   MaterialManager.AttGroup 121
   MaterialManager.DefGroup 195
   MaterialManager.DamageMod 0.0


Go to the MaterialManager properties list page, MaterialManager page, All Properties list, or Main scripting page.