I am trying to add a custom unit, vehicle and call out. The game will load but crashes when I use the call out. I've posted my materials.txt below, if anyone can point out what might be causing the crash it would be greatly appreciated.
Code: Select all
BEGIN Object
Name Batmobile
SpriteVariants 1
Width 2
Height 2
MaxStackSize -1
NumSlots 1
SpriteScale 1
Properties Vehicle
BEGIN Sprite
x 0
y 0
w 4
h 4
RotateType 0
END
END
BEGIN Object
Name Batman
SpriteVariants 1
Properties Entity
MoveSpeedFactor 0.500000
Toughness 60.0000
RenderDepth 2
ViewRange 12
BlockedBy Wall
BlockedBy StaticObject
BlockedBy UtilityStation
Properties Guard
Properties DoesNotTire
Equipment Baton
Width 1
Height 1.5
BEGIN Sprite
x 4
y 0
w 2
h 3
RotateType 2
END
END
BEGIN Callout
Name Batman
Cost -1
MaxNumber 1
Vehicle Batmobile
Entity Batman
NumEntities 1
BEGIN Sprite
x 4
y 0
w 2
h 3
RotateType 0
END
END
Thanks