Originally Posted by orgo.love
I'm working to make a unit (Saruman) able to fire firebolts like those druids, but I'm stuck at one point:
First, as I need him to be a single unit, I made him a mount: added saruman_mount as a mount model in descr_mount, added saruman_isengard as soldier type cavalry in export_descr_unit, added saruman_mount model in descr_model_battle.
It all works, now I have my all alone Saruman in battlemap.
The hard point is about giving him missile firepower.
Saruman is now a mount unit, so his pri_attack is out of use (will be added to his invisible raiders, and they do not have ability to combat)
His attack is the secondary one, and there is no ranged attack there, because the game recognizes a missile type attack only in primary attack.
So as far as now all I can get is saruman going all alone and smashing enemies around in the air, but no magic fired.
Still working on that, if anyone have hints, I'll appreciate them.
Bookmarks