Thalassicus
Bytes and Nibblers
How do I make a new combat class play combat animations?
I made chariots mounted archers. They show movement animations, but not combat animations.
I made chariots mounted archers. They show movement animations, but not combat animations.
Code:
INSERT OR REPLACE INTO UnitCombatInfos(Type, Description)
VALUES ('UNITCOMBAT_MOUNTED_ARCHER', 'TXT_KEY_UNITCOMBAT_MOUNTED_ARCHER');
UPDATE Units
SET CombatClass = 'UNITCOMBAT_MOUNTED_ARCHER'
WHERE CombatClass = 'UNITCOMBAT_ARCHER' AND Class NOT IN (
'UNITCLASS_ARCHER',
'UNITCLASS_COMPOSITE_BOWMAN',
'UNITCLASS_CROSSBOWMAN',
'UNITCLASS_GATLINGGUN',
'UNITCLASS_MACHINE_GUN'
);