DefGroup Property

Usage:
   MaterialManager.DefGroup number

Argument values:

argument 1:    range is 0 to 250; most commonly 62

Description: This property is used when defining the attack vs. defense material grid in materialManagerSettings.con. This property defines the attacking material of the pair, i.e. it is used for the bullet striking an object.

See the Damage Tutorial for more information.

Related properties: AttGroup, DamageMod, SetEffectTemplate

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

Used in a total of 97 .con files: Aa_guns.con, Airplanes.con, Ak47.con, At.con, Bar.con, Battleship.con, Bayonet.con, Bazooka.con, Bbetty.con, Bbettybase.con, Bf110.con, Big_bombs.con, Bombs.con, Browning.con, C47.con, Carro_armato_gun.con, Carroarmato_mg.con, Claymore.con, Colt.con, Commandoknife.con, Depth-charges.con, Destroyer.con, Dp.con, Exppack.con, Grant_gun.con, Grant_mg.con, Grenadeallies.con, Greyhound.con, Heavyarmor.con, Helicopter.con, K98.con, Knife.con, Lightarmor.con, M10.con, M16.con, M1garand.con, M3gmc_gun.con, Materialmanagersettings.con, Mg42.con, Mines.con, Mosquito.con, Mp40.con, Napalmfire.con, No4.con, Noarmor.con, Objectivearmor.con, Objects.con, P38.con, Panzeriv.con, Planearmor.con, Priest.con, Ptraftarmor.con, Raftarmor.con, Sg44.con, Sherman.con, Shotgun.con, Sniper.con, Sturmgeschutz.con, Thomson.con, Throwknife.con, Tiger.con, Torpedo.con, Wasserfall.con, Wespe.con

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

Example: (from Bf1942/Game/damage_system/knife.con)
   rem ***************************************************
   rem * ***** Knife - DIRECT DAMAGE *****
   rem ***************************************************
   rem * *************************************************
   rem * Infantry target
   rem * *************************************************
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 40
   MaterialManager.DamageMod 8
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 41
   MaterialManager.DamageMod 4
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 42
   MaterialManager.DamageMod 2
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *************************************************
   rem * scout cars target
   rem * *************************************************
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 43
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 44
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *************************************************
   rem * Default
   rem * *************************************************
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 0
   MaterialManager.DamageMod 0.0
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 1
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *************************************************
   rem * Material Effects
   rem * *************************************************
   rem * *************************************************
   rem * Ligt Armor
   rem * *************************************************
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 45
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 46
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 47
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 48
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 49
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *************************************************
   rem * heavy Armor
   rem * *************************************************
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 50
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 51
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 52
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 53
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 54
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *************************************************
   rem * Ship Armors
   rem * *************************************************
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 55
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 56
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 57
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 58
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 59
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *************************************************
   rem * Planes target
   rem * *************************************************
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 60
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 61
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 62
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 63
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 64
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *************************************************
   rem * Ptboat target
   rem * *************************************************
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 72
   MaterialManager.DamageMod 0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *************************************************
   rem * Other Materials
   rem * *************************************************
   rem * *** Solid Wood ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 80
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Wood ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 81
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Thin Wood ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 82
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Hollow Wood ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 83
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Solid Metal ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 84
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Metal ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 85
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Thin Metal ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 86
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Hollow Metal ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 87
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Solid Stone (Rock) ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 88
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Concrete ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 92
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Reinforced Concrete ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 93
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Flesh ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 94
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Rubber ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 95
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Stairs ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 96
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 97
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 98
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Exterior Stone Wall ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 100
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Interior Stone Wall ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 101
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Exterior brick Wall ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 102
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Interior brick Wall ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 103
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Exterior wooden Wall ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 104
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Interior wooden Wall ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 105
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Wooden Fence ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 106
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Sandbags ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 107
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Grate ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 108
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Wooden Fence ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 109
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Wire Fence ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 110
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Grated Fence ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 111
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Mesh Fence ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 112
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Bamboo Exterior wall ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 113
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Bamboo Interior wall ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 114
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Bamboo Fence ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 115
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Bamboo Fence ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 116
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Wooden Floor ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 117
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Stone Floor ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 118
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Glass Pane ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 119
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *************************************************
   rem * Special items
   rem * *************************************************
   rem * *** Wooden door ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 190
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Metal Door ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 191
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Wooden Ladder ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 192
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Metal Ladder ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 193
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal
   rem * *** Switch/control panel ***
   MaterialManager.AttGroup 210
   MaterialManager.DefGroup 194
   MaterialManager.DamageMod 0.0
   MaterialManager.SetEffectTemplate e_RichoKnifeMetal


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