addy
Member LVL 0
Posts: 1
|
Post by addy on Nov 30, 2015 23:24:34 GMT -6
Games like this where Heroes can join armies (HoMM4, Age of Wonders etc.), I like to bend the genre a little and make it a sort of RPG, and have armies comprised entirely of Heroes.
I'm using WinMPQ. As proof of concept let's say I want to have an army with 4 Magicians.
By removing
/special_unit_type WIZARD def
from their units\eawiz.gs file,I can put them in regular troop slots, freeing them from the limit of 3 per army. But, now being regular troops, they can't equip items and have permanent 0 mana.
Is there a way to allow regular troops to equip items and cast spells?
They still have
/flags UNITTYPELAND CAN_USE_LEFT_ARTIFACT or CAN_USE_RIGHT_ARTIFACT or CAN_SPELLS def
But that appears to make no difference. I assume it must be hard-coded that only the three leaders can do this.
Any ideas on how to achieve this?
Thank you
|
|
|
Post by Boaster on Dec 1, 2015 7:52:08 GMT -6
I do not believe there is a practical way to accomplish what you're doing.
To the best of what I know, the ability for units to hold artifacts in hand is reserved solely for Champions.
Also, only Champions who are Wizards can actually use magic, where the real value CURRENT_WIZARD_MANA is adjustable and active.
These, to the best of what I can figure, are hard coded limitations.
Believe me, if I could figure a way for Champions other than Wizards to be able to use mana, I would've gone further in how I've changed things. For example, Paladins would have access to First Aid and Thieves access to Detect spells.
|
|