Quote:
Originally Posted by Sombre
Unless another experienced modder can think of something, it can't be done.
|
I have an idea. It's not clean, but should work up to a point. Don't make the units summonable or recruitable, expect as commanders. Then have that unit have a custom onebattlespell.
This custom onebattlespell will summon, say 8 of these guys and nextspell a berserking spell with nice AoE that will cover most squares around the unit, berserking him and the troops he just summoned. Because of the berserk, this solution will circumvent the normal obstacles associated with autosummoning commanders, since it will be very hard to protect the summoning commanders from harm and reuse their troops from battle to battle (since the commander will automatically join the fray).
However, this will mean that these commanders can berserk other units around them. (if the troops have a special tag, like undead, sacred, demon or magic being, you can specify the berserk spell to only target them).
If you need help getting started, Bretonnia mod takes heavy use of the commander battle summoning, you can start up the code from there. If you run up into any trouble, I can provide assistance.
__________________
I have now officially moved to the
Dom3mods forums and do not actively use this account any more. You can stll contact me by PM's, since my account gives e-mail notifications on such occasions.
If you need to ask something about modding, you can contact me
here.
See this thread for the latest info concerning my mods.