
Originally Posted by
LAca
The unit has sper for primary and sword for secondary weapon... I managed to get it work by using only the spearmen skeleton for both weapons ( using fs_spearman, fs_swordsman crashes the game right after the unit charges). I tested it and works well (excepting that the sword animations are only those of thrusting, not the slashing ones).
The thing i dont like is the fact that the unit charges with the swords and then it switches to spears (despite the fact that the spear has higher charge bonus). It seems that the ai charges with the secondary weapon if u order to charge with the primary then switches to primary (if u order alt+attack, it doesnt switch to primary). Its not that big of a problem, but can this behaviour be changed somehow?
...
type numidian_triarii
skeleton fs_spearman, fs_spearman ; combat spear
indiv_range 40
texture numidia, data/models_unit/textures/numidian_triarii
model_flexi_m data/models_unit/numidian_triarii.cas, 8
model_flexi_m data/models_unit/numidian_triarii.cas, 15
model_flexi data/models_unit/numidian_triarii_lp.cas, 30
model_flexi data/models_unit/numidian_triarii_very_lp.cas, 40
model_flexi data/models_unit/numidian_triarii_very_lp.cas, max
model_sprite 60.0
model_tri 400, 0.5f, 0.5f, 0.5f
Bookmarks