DamageMod Property

Usage:
   MaterialManager.DamageMod name

Argument values:

argument 1:    0, 0.0, 0.000015, 0.001, 0.01, 0.010, 0.05, 0.1, 0.1.0, 0.10, 0.11, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.5, 0.6, 0.7, 0.75, 0.8, 0.85, 0.9, 1, 1.0, 1.2, 1.25, 1.3, 1.5, 1.6, 1.75, 1.8, 1.9, 10, 10.0, 100, ...

Description: This property defines how the damage is modified when two materials interact. By default this value is 1 if not defined for a pair of attack and defense material. It is used as a multiplier for the effect of a weapon on a particular type of armor.

See the Damage Tutorial for more information.

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


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