AddMaterialToSound Property

Usage:
   SoldierSound.AddMaterialToSound number name

Argument values:

argument 1:    range is 0 to 195; most commonly 111, 112
argument 2:    Concrete, Frozen, Grass, Gravel, Metal, Mud, Sand, Water, Wood; most commonly Metal

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

Used in a total of 2 .con files: Materialtosound.con

Parent directory of these .con files: objects/Soldiers

Example: (from objects/Soldiers/Common/Sounds/MaterialToSound.con)
   rem **************
   rem *** Terrain **
   rem **************
   SoldierSound.AddMaterialToSound 0 Grass
   SoldierSound.AddMaterialToSound 1 Water
   SoldierSound.AddMaterialToSound 2 Grass
   SoldierSound.AddMaterialToSound 3 Grass
   SoldierSound.AddMaterialToSound 4 Gravel
   SoldierSound.AddMaterialToSound 5 Mud
   SoldierSound.AddMaterialToSound 6 Mud
   SoldierSound.AddMaterialToSound 8 Gravel
   SoldierSound.AddMaterialToSound 9 Frozen
   SoldierSound.AddMaterialToSound 10 Sand
   SoldierSound.AddMaterialToSound 11 Sand
   SoldierSound.AddMaterialToSound 12 Concrete
   SoldierSound.AddMaterialToSound 13 Gravel
   SoldierSound.AddMaterialToSound 14 Gravel
   SoldierSound.AddMaterialToSound 15 Concrete
   rem *************
   rem *** Armour **
   rem *************
   SoldierSound.AddMaterialToSound 38 Mud
   SoldierSound.AddMaterialToSound 39 Mud
   SoldierSound.AddMaterialToSound 40 Mud
   SoldierSound.AddMaterialToSound 41 Mud
   SoldierSound.AddMaterialToSound 42 Mud
   SoldierSound.AddMaterialToSound 43 Mud
   SoldierSound.AddMaterialToSound 44 Mud
   SoldierSound.AddMaterialToSound 45 Metal
   SoldierSound.AddMaterialToSound 46 Metal
   SoldierSound.AddMaterialToSound 47 Metal
   SoldierSound.AddMaterialToSound 48 Metal
   SoldierSound.AddMaterialToSound 49 Metal
   SoldierSound.AddMaterialToSound 50 Metal
   SoldierSound.AddMaterialToSound 51 Metal
   SoldierSound.AddMaterialToSound 52 Metal
   SoldierSound.AddMaterialToSound 54 Metal
   SoldierSound.AddMaterialToSound 55 Metal
   SoldierSound.AddMaterialToSound 56 Metal
   SoldierSound.AddMaterialToSound 57 Metal
   SoldierSound.AddMaterialToSound 58 Metal
   SoldierSound.AddMaterialToSound 59 Metal
   rem ***************************
   rem *** Plane armor strength **
   rem ***************************
   SoldierSound.AddMaterialToSound 60 Metal
   SoldierSound.AddMaterialToSound 61 Metal
   SoldierSound.AddMaterialToSound 62 Metal
   SoldierSound.AddMaterialToSound 63 Metal
   SoldierSound.AddMaterialToSound 64 Metal
   rem **********************
   rem *** Ship Wood Armor **
   rem **********************
   SoldierSound.AddMaterialToSound 65 Wood
   SoldierSound.AddMaterialToSound 66 Wood
   SoldierSound.AddMaterialToSound 67 Wood
   SoldierSound.AddMaterialToSound 68 Wood
   SoldierSound.AddMaterialToSound 69 Wood
   rem ***********************
   rem *** Tank Metal Armor **
   rem ***********************
   SoldierSound.AddMaterialToSound 71 Metal
   rem ************
   rem *** Basic **
   rem ************
   SoldierSound.AddMaterialToSound 80 Wood
   SoldierSound.AddMaterialToSound 81 Wood
   SoldierSound.AddMaterialToSound 82 Wood
   SoldierSound.AddMaterialToSound 83 Wood
   SoldierSound.AddMaterialToSound 84 Metal
   SoldierSound.AddMaterialToSound 85 Metal
   SoldierSound.AddMaterialToSound 86 Metal
   SoldierSound.AddMaterialToSound 87 Metal
   SoldierSound.AddMaterialToSound 88 Concrete
   SoldierSound.AddMaterialToSound 89 Concrete
   SoldierSound.AddMaterialToSound 90 Concrete
   SoldierSound.AddMaterialToSound 91 Concrete
   SoldierSound.AddMaterialToSound 92 Concrete
   SoldierSound.AddMaterialToSound 93 Concrete
   SoldierSound.AddMaterialToSound 94 Mud
   rem *************
   rem *** Stairs **
   rem *************
   SoldierSound.AddMaterialToSound 96 Concrete
   SoldierSound.AddMaterialToSound 97 Wood
   SoldierSound.AddMaterialToSound 98 Metal
   rem ************************
   rem *** Building Material **
   rem ************************
   SoldierSound.AddMaterialToSound 100 Concrete
   SoldierSound.AddMaterialToSound 101 Concrete
   SoldierSound.AddMaterialToSound 102 Concrete
   SoldierSound.AddMaterialToSound 103 Concrete
   SoldierSound.AddMaterialToSound 104 Wood
   SoldierSound.AddMaterialToSound 105 Wood
   SoldierSound.AddMaterialToSound 106 Wood
   SoldierSound.AddMaterialToSound 107 Sand
   SoldierSound.AddMaterialToSound 108 Gravel
   SoldierSound.AddMaterialToSound 109 Wood
   SoldierSound.AddMaterialToSound 110 Metal
   SoldierSound.AddMaterialToSound 111 Wood
   SoldierSound.AddMaterialToSound 112 Metal
   SoldierSound.AddMaterialToSound 111 Wood
   SoldierSound.AddMaterialToSound 112 Wood
   SoldierSound.AddMaterialToSound 113 Wood
   SoldierSound.AddMaterialToSound 114 Wood
   SoldierSound.AddMaterialToSound 115 Wood
   SoldierSound.AddMaterialToSound 116 Wood
   SoldierSound.AddMaterialToSound 117 Wood
   SoldierSound.AddMaterialToSound 118 Concrete
   SoldierSound.AddMaterialToSound 120 Metal
   rem ********************
   rem *** Misc Material **
   rem ********************
   SoldierSound.AddMaterialToSound 140 Gravel
   SoldierSound.AddMaterialToSound 143 Metal
   SoldierSound.AddMaterialToSound 145 Grass
   rem *****************
   rem *** Vegetation **
   rem *****************
   SoldierSound.AddMaterialToSound 160 Grass
   SoldierSound.AddMaterialToSound 161 Grass
   SoldierSound.AddMaterialToSound 162 Grass
   SoldierSound.AddMaterialToSound 163 Grass
   SoldierSound.AddMaterialToSound 164 Wood
   SoldierSound.AddMaterialToSound 165 Wood
   SoldierSound.AddMaterialToSound 166 Wood
   SoldierSound.AddMaterialToSound 167 Wood
   rem ********************
   rem *** Special Items **
   rem ********************
   SoldierSound.AddMaterialToSound 190 Wood
   SoldierSound.AddMaterialToSound 191 Metal
   SoldierSound.AddMaterialToSound 192 Wood
   SoldierSound.AddMaterialToSound 193 Metal
   SoldierSound.AddMaterialToSound 194 Metal
   SoldierSound.AddMaterialToSound 195 Grass


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