Skip to content

Object Attribute

Written by: Alian713, Kramb


1. cHitpoints

Value: int 0

This is the attribute Hit Points

2. cLineOfSight

Value: int 1

This is the attribute Line of Sight

3. cGarrisonCapacity

Value: int 2

This is the attribute Garrison Capacity

4. cUnitSizeX

Value: int 3

This is the attribute Unit Size X

5. cUnitSizeY

Value: int 4

This is the attribute Unit Size Y

6. cMovementSpeed

Value: int 5

This is the attribute Movement Speed

7. cRotationSpeed

Value: int 6

This is the attribute Rotation Speed

8. cArmor

Value: int 8

This is the attribute Armor

9. cAttack

Value: int 9

This is the attribute Attack

10. cAttackReloadTime

Value: int 10

This is the attribute Attack Reload Time

11. cAccuracyPercent

Value: int 11

This is the attribute Accuracy Percent

12. cMaxRange

Value: int 12

This is the attribute Max Range

13. cWorkRate

Value: int 13

This is the attribute Work Rate

14. cCarryCapacity

Value: int 14

This is the attribute Carry Capacity

15. cBaseArmor

Value: int 15

This is the attribute Base Armor

16. cProjectileUnit

Value: int 16

This is the attribute Projectile Unit

17. cIconGraphicsAngle

Value: int 17

This is the attribute Building Icon Override

18. cTerrainDefenseBonus

Value: int 18

This is the attribute Terrain Defense Bonus

19. cEnableSmartProjectile

Value: int 19

This is the attribute Projectile Smart Mode

20. cMinimumRange

Value: int 20

This is the attribute Minimum Range

21. cAmountFirstStorage

Value: int 21

This is the attribute Amount of 1st Resource Storage

22. cBlastWidth

Value: int 22

This is the attribute Blast Width

23. cSearchRadius

Value: int 23

This is the attribute Search Radius

24. cBonusResistance

Value: int 24

This is the attribute Bonus Damage Resistance

25. cIconId

Value: int 25

This is the attribute Icon ID

26. cAmountSecondStorage

Value: int 26

This is the attribute Amount of 2nd Resource Storage

27. cAmountThirdStorage

Value: int 27

This is the attribute Amount of 3rd Resource Storage

28. cFogFlag

Value: int 28

This is the attribute Fog Visibility

29. cOcclusionMode

Value: int 29

This is the attribute Occlusion Mode

30. cGarrisonType

Value: int 30

This is the attribute Garrison Type

31. cUnitSizeZ

Value: int 32

This is the attribute Unit Size Z

32. cCanBeBuiltOn

Value: int 33

This is the attribute Can Be Built On

33. cFoundationTerrain

Value: int 34

This is the attribute Foundation Terrain

34. cHeroStatus

Value: int 40

This is the attribute Hero Status

35. cAttackDelay

Value: int 41

This is the attribute Frame Delay

36. cTrainLocation

Value: int 42

This is the attribute Train Location

37. cTrainButton

Value: int 43

This is the attribute Train Button

38. cBlastAttackLevel

Value: int 44

This is the attribute Blast Attack Level

39. cBlastDefenseLevel

Value: int 45

This is the attribute Blast Defense Level

40. cShownAttack

Value: int 46

This is the attribute Shown Attack

41. cShownRange

Value: int 47

This is the attribute Shown Range

42. cShownMeleeArmor

Value: int 48

This is the attribute Shown Melee Armor

43. cShownPierceArmor

Value: int 49

This is the attribute Shown Pierce Armor

44. cNameId

Value: int 50

This is the attribute Object Name ID

45. cDescriptionId

Value: int 51

This is the attribute Short Description ID

46. cTerrainTable

Value: int 53

This is the attribute Terrain Restriction ID

47. cTraits

Value: int 54

This is the attribute Unit Trait

48. cTraitPiece

Value: int 56

This is the attribute Trait Piece

49. cDeadUnitId

Value: int 57

This is the attribute Dead Unit ID

50. cHotkeyId

Value: int 58

This is the attribute Hotkey ID

51. cMaxCharge

Value: int 59

This is the attribute Maximum Charge

52. cRechargeRate

Value: int 60

This is the attribute Recharge Rate

53. cChargeEvent

Value: int 61

This is the attribute Charge Event

54. cChargeType

Value: int 62

This is the attribute Charge Type

55. cCombatAbility

Value: int 63

This is the attribute Combat Ability

56. cAttackDispersion

Value: int 64

This is the attribute Attack Dispersion

57. cSecondaryProjectileUnit

Value: int 65

This is the attribute Secondary Projectile Unit

58. cBloodUnitId

Value: int 66

This is the attribute Blood Unit

59. cHitMode

Value: int 67

This is the attribute Projectile Hit Mode

60. cVanishMode

Value: int 68

This is the attribute Projectile Vanish Mode

61. cProjectileArc

Value: int 69

This is the attribute Projectile Arc

62. cAttackGraphic

Value: int 70

This is the attribute Attack Graphic

63. cStandingGraphic

Value: int 71

This is the attribute Standing Graphic

64. cStanding2Graphic

Value: int 72

This is the attribute Standing Graphic 2

65. cDyingGraphic

Value: int 73

This is the attribute Dying Graphic

66. cUndeadGraphic

Value: int 74

This is the attribute Undead Graphic

67. cWalkingGraphic

Value: int 75

This is the attribute Walking Graphic

68. cRunningGraphic

Value: int 76

This is the attribute Running Graphic

69. cSpecialGraphic

Value: int 77

This is the attribute Special Graphic

70. cObstructionType

Value: int 78

This is the attribute Obstruction Type

71. cBlockageClass

Value: int 79

This is the attribute Blockage Class

72. cSelectionEffect

Value: int 80

This is the attribute Selection Effect

73. cSpecialAbility

Value: int 81

This is the attribute Special Ability

74. cIdleAttackGraphic

Value: int 82

This is the attribute Idle Attack Graphic

75. cHeroGlowGraphic

Value: int 83

This is the attribute Hero Glow Graphic

76. cGarrisonGraphic

Value: int 84

This is the attribute Garrison Graphic

77. cConstructionGraphic

Value: int 85

This is the attribute Construction Graphic

78. cSnowGraphic

Value: int 86

This is the attribute Snow Graphic

79. cDestructionGraphic

Value: int 87

This is the attribute Destruction Graphic

80. cDestructionRubbleGraphic

Value: int 88

This is the attribute Destruction Rubble Graphic

81. cResearchingGraphic

Value: int 89

This is the attribute Researching Graphic

82. cResearchCompletedGraphic

Value: int 90

This is the attribute Research Completed Graphic

83. cDamageGraphic

Value: int 91

This is the attribute Damage Graphic

84. cSelectionSound

Value: int 92

This is the attribute Selection Sound

85. cSelectionSoundEvent

Value: int 93

This is the attribute Selection Sound Event Note: When using with xsEffectAmount or one of xsGetObjectAttribute or xsGetUnitAttribute, values require to be converted using bitCastToFloat and bitCastToInt respectively.

86. cDyingSound

Value: int 94

This is the attribute Dying Sound

87. cDyingSoundEvent

Value: int 95

This is the attribute Dying Sound Event Note: When using with xsEffectAmount or one of xsGetObjectAttribute or xsGetUnitAttribute, values require to be converted using bitCastToFloat and bitCastToInt respectively.

88. cTrainSound

Value: int 96

This is the attribute Train Sound

89. cTrainSoundEvent

Value: int 97

This is the attribute Train Sound Event Note: When using with xsEffectAmount or one of xsGetObjectAttribute or xsGetUnitAttribute, values require to be converted using bitCastToFloat and bitCastToInt respectively.

90. cDamageSound

Value: int 98

This is the attribute Damage Sound

91. cDamageSoundEvent

Value: int 99

This is the attribute Damage Sound Event Note: When using with xsEffectAmount or one of xsGetObjectAttribute or xsGetUnitAttribute, values require to be converted using bitCastToFloat and bitCastToInt respectively.

92. cResourceCost

Value: int 100

This is the attribute Resource Costs

93. cTrainTime

Value: int 101

This is the attribute Train Time

94. cTotalProjectiles

Value: int 102

This is the attribute Total Missiles

95. cFoodCost

Value: int 103

This is the attribute Food Costs

96. cWoodCost

Value: int 104

This is the attribute Wood Costs

97. cGoldCost

Value: int 105

This is the attribute Gold Costs

98. cStoneCost

Value: int 106

This is the attribute Stone Costs

99. cMaxTotalProjectiles

Value: int 107

This is the attribute Max Total Missiles

100. cGarrisonHealRate

Value: int 108

This is the attribute Garrison Heal Rate

101. cRegenerationRate

Value: int 109

This is the attribute Regeneration Rate

102. cPopulation

Value: int 110

This is the attribute Population

103. cMinConversionTimeMod

Value: int 111

This is the attribute Minimum Conversion Time Modifier

104. cMaxConversionTimeMod

Value: int 112

This is the attribute Maximum Conversion Time Modifier

105. cConversionChanceMod

Value: int 113

This is the attribute Conversion Chance Modifier

106. cFormationCategory

Value: int 114

This is the attribute Formation Category

107. cAreaDamage

Value: int 115

This is the attribute Area Damage

108. cDamageReflection

Value: int 118

This is the attribute Damage Reflection

109. cFriendlyFireDamage

Value: int 119

This is the attribute Friendly Fire Damage

110. cRegenerationHpPercent

Value: int 120

This is the attribute Regeneration Hp Percent

111. cButtonIconId

Value: int 121

This is the attribute Button Icon Id

112. cShortTooltipId

Value: int 122

This is the attribute Short Tooltip Id

113. cExtendedTooltipId

Value: int 123

This is the attribute Extended Tooltip Id

114. cHotkeyAction

Value: int 124

This is the attribute Hotkey Action

115. cChargeProjectileUnit

Value: int 125

This is the attribute Charge Projectile Unit

116. cAvailableFlag

Value: int 126

This is the attribute Available Flag

117. cDisabledFlag

Value: int 127

This is the attribute Disabled Flag

118. cAttackPriority

Value: int 128

This is the attribute Attack Priority

119. cInvulnerabilityLevel

Value: int 129

This is the attribute Invulnerability Level

120. cGarrisonFirepower

Value: int 130

This is the attribute Garrison Firepower

121. cAttack2Graphic

Value: int 131

This is the attribute Attack Graphic 2.

122. cCommandSound

Value: int 132

This is the attribute Command Sound.

123. cCommandSoundEvent

Value: int 133

This is the attribute Command Sound Event. Note: When using with xsEffectAmount or one of xsGetObjectAttribute or xsGetUnitAttribute, values require to be converted using bitCastToFloat and bitCastToInt respectively.

124. cMoveSound

Value: int 134

This is the attribute Move Sound.

125. cMoveSoundEvent

Value: int 135

This is the attribute Move Sound Event. Note: When using with xsEffectAmount or one of xsGetObjectAttribute or xsGetUnitAttribute, values require to be converted using bitCastToFloat and bitCastToInt respectively.

126. cConstructionSound

Value: int 136

This is the attribute Construction Sound.

127. cConstructionSoundEvent

Value: int 137

This is the attribute Construction Sound Event. Note: When using with xsEffectAmount or one of xsGetObjectAttribute or xsGetUnitAttribute, values require to be converted using bitCastToFloat and bitCastToInt respectively.

128. cTransformSound

Value: int 138

This is the attribute Transform Sound.

129. cTransformSoundEvent

Value: int 139

This is the attribute Transform Sound Event. Note: When using with xsEffectAmount or one of xsGetObjectAttribute or xsGetUnitAttribute, values require to be converted using bitCastToFloat and bitCastToInt respectively.

130. cRunPattern

Value: int 140

This is the attribute Run Pattern.

131. cInterfaceKind

Value: int 141

This is the attribute Interface Kind.

132. cCombatLevel

Value: int 142

This is the attribute Combat Level.

133. cInteractionMode

Value: int 143

This is the attribute Interaction Mode.

134. cMinimapMode

Value: int 144

This is the attribute Minimap Mode.

135. cTrailingUnit

Value: int 145

This is the attribute Trailing Unit.

136. cTrailMode

Value: int 146

This is the attribute Trail Mode.

137. cTrailDensity

Value: int 147

This is the attribute Trail Density.

138. cProjectileGraphicDisplacementX

Value: int 148

This is the attribute Projectile Graphic Displacement X.

139. cProjectileGraphicDisplacementY

Value: int 149

This is the attribute Projectile Graphic Displacement Y.

140. cProjectileGraphicDisplacementZ

Value: int 150

This is the attribute Projectile Graphic Displacement Z.

141. cProjectileSpawningAreaWidth

Value: int 151

This is the attribute Projectile Spawning Area Width.

142. cProjectileSpawningAreaLength

Value: int 152

This is the attribute Projectile Spawning Area Length.

143. cProjectileSpawningAreaRandomness

Value: int 153

This is the attribute Projectile Spawning Area Randomness.

144. cDamageGraphicsEntryMod

Value: int 154

This is the attribute Damage Graphics Entry Mod.

145. cDamageGraphicsTotalNum

Value: int 155

This is the attribute Damage Graphics Total Num.

146. cDamageGraphicPercent

Value: int 156

This is the attribute Damage Graphic Percent.

147. cDamageGraphicApplyMode

Value: int 157

This is the attribute Damage Graphic Apply Mode.

148. cTrainLocationsEntryMod

Value: int 158

This is the attribute Train Locations Entry Mod.

149. cTrainLocationsTotalNum

Value: int 159

This is the attribute Train Locations Total Num.

150. cAddArmorType

Value: int 160

This is the attribute Add Armor Type.

151. cAddAttackType

Value: int 161

This is the attribute Add Attack Type.

152. cChargeTarget

Value: int 162

This is the attribute Charge Target.

153. cSizeClass

Value: int 163

This is the attribute Size Class.