SetCell Property

Usage:
   MaterialManager.SetCell number number

Argument values:

argument 1:    range is 40 to 42; most commonly 40, 41, 42
argument 2:    range is 2 to 20; most commonly 2

Description: This is a rarely used form to set the DamageMod. It does the same thing as:

 MaterialManager.DefGroup <defgroup#>
 MaterialManager.DamageMod <#>

See the Damage Tutorial for more information.

Related properties: DamageMod, DefGroup

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

Used in a total of 6 .con files: Big_bombs.con, Bombs.con, Wespe.con

Parent directory of these .con files: Bf1942/Game

Example: (from Bf1942/Game/damage_system/bombs.con)
   rem *
   rem * ***** Wespe gun explosion SPLASH DAMAGE*****
   rem *
   rem * *************************************************
   rem * Infantry target
   rem * *************************************************
   MaterialManager.AttGroup 202
   MaterialManager.SetCell 40 7
   MaterialManager.SetCell 41 2
   MaterialManager.SetCell 42 2
   rem * *************************************************
   rem * scout cars target
   rem * *************************************************
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 43
   MaterialManager.DamageMod 10
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 44
   MaterialManager.DamageMod 10
   rem *************************************************
   rem * Light Vehicle target
   rem * *************************************************
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 45
   MaterialManager.DamageMod 8
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 46
   MaterialManager.DamageMod 4
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 47
   MaterialManager.DamageMod 4
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 48
   MaterialManager.DamageMod 4
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 49
   MaterialManager.DamageMod 4
   rem * *************************************************
   rem * Heavy Vehicle target
   rem * *************************************************
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 50
   MaterialManager.DamageMod 6
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 51
   MaterialManager.DamageMod 0.5
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 52
   MaterialManager.DamageMod 0.5
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 53
   MaterialManager.DamageMod 0
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 54
   MaterialManager.DamageMod 0
   rem * *************************************************
   rem * Ship target
   rem * *************************************************
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 55
   MaterialManager.DamageMod 0.0
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 56
   MaterialManager.DamageMod 0.0
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 57
   MaterialManager.DamageMod 0.0
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 58
   MaterialManager.DamageMod 0.0
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 59
   MaterialManager.DamageMod 0.0
   rem * *************************************************
   rem * Planes target
   rem * *************************************************
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 60
   MaterialManager.DamageMod 10
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 61
   MaterialManager.DamageMod 10
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 62
   MaterialManager.DamageMod 10
   rem * *************************************************
   rem * Ptboat target
   rem * *************************************************
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 72
   MaterialManager.DamageMod 4
   rem * *************************************************
   rem * Default
   rem * *************************************************
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 0
   MaterialManager.DamageMod 0.0
   MaterialManager.AttGroup 202
   MaterialManager.DefGroup 1
   MaterialManager.DamageMod 0.0
   rem ***************************************************
   rem * ***** Bombs gun explosion - DIRECT DAMAGE *****
   rem ***************************************************
   rem * *************************************************
   rem * Infantry target
   rem * *************************************************
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 40
   MaterialManager.DamageMod 4
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 41
   MaterialManager.DamageMod 4
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 42
   MaterialManager.DamageMod 4
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *************************************************
   rem * scout cars target
   rem * *************************************************
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 43
   MaterialManager.DamageMod 10
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 44
   MaterialManager.DamageMod 10
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *************************************************
   rem * Light Vehicle target
   rem * *************************************************
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 45
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 46
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 47
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 48
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 49
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *************************************************
   rem * Heavy Vehicle target
   rem * *************************************************
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 50
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 51
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 52
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 53
   MaterialManager.DamageMod 15
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 54
   MaterialManager.DamageMod 10
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *************************************************
   rem * Ship target
   rem * *************************************************
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 55
   MaterialManager.DamageMod 5
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 56
   MaterialManager.DamageMod 4
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 57
   MaterialManager.DamageMod 3
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 58
   MaterialManager.DamageMod 2
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 59
   MaterialManager.DamageMod 1
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 65
   MaterialManager.DamageMod 6
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 66
   MaterialManager.DamageMod 6
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 67
   MaterialManager.DamageMod 6
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *************************************************
   rem * Planes target
   rem * *************************************************
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 60
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 61
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 62
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *************************************************
   rem * Ptboat target
   rem * *************************************************
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 72
   MaterialManager.DamageMod 20
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *************************************************
   rem * Default
   rem * *************************************************
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 0
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 1
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate WaterWaterExplosion
   rem * *************************************************
   rem * Material Effects
   rem * *************************************************
   rem * *************************************************
   rem * Other Materials
   rem * *************************************************
   rem * *** Dry Grass (yellow) ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 2
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Juicy Grass (Green) ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 3
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Dry Dirt ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 4
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Wet Dirt ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 5
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Mud ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 6
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Deep Mud ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 7
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Gravel ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 8
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Frozen ground ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 9
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Dry Sand ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 10
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Wet Sand ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 11
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Rock ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 12
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Forest Floor ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 13
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Dirt Road ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 14
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Paved Road ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 15
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmall_Expl
   rem * *** Solid Wood ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 80
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Wood ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 81
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Thin Wood ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 82
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Hollow Wood ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 83
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Solid Metal ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 84
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Metal ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 85
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Thin Metal ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 86
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Hollow Metal ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 87
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Solid Stone (Rock) ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 88
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Concrete ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 92
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Reinforced Concrete ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 93
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Flesh ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 94
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Rubber ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 95
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Exterior Stone Wall ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 100
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Interior Stone Wall ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 101
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Exterior brick Wall ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 102
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Interior brick Wall ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 103
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Exterior wooden Wall ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 104
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Interior wooden Wall ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 105
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Wooden Fence ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 106
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Sandbags ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 107
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Grate ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 108
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Wooden Fence ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 109
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Wire Fence ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 110
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Grated Fence ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 111
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Mesh Fence ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 112
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Bamboo Exterior wall ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 113
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Bamboo Interior wall ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 114
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Bamboo Fence ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 115
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Bamboo Fence ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 116
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Wooden Floor ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 117
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Stone Floor ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 118
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Glass Pane ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 119
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *************************************************
   rem * Special items
   rem * *************************************************
   rem * *** Wooden door ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 190
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Metal Door ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 191
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Wooden Ladder ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 192
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Metal Ladder ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 193
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Switch/control panel ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 194
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl
   rem * *** Climbing net ***
   MaterialManager.AttGroup 242
   MaterialManager.DefGroup 195
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate BombSmallNS_Expl


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