Hi,
I'm trying to start off learning to mod by doing a relatively simple one.
Initial idea is dwarven siblings. Essentially, low level hero units that are available to several civilisations based on events. My problem is that I want the siblings to preferentially target each other in any combat where they are present in the stacks. I thought that UnitClassTargets, UnitCombatTargets, UnitClassDefenders or UnitCombatDefenders would be the way to make it happen but can't get it to work.
Any suggestions??
The other part of my mod would be "Adepts of the Age" - weak adepts with an affinity for the mana types from the different schools: Alteration, etc. As these are supposed to be the best students of their classes, I want them to automatically upgrade to Channelling II when they have the right amount of experience.
How to you link events to levels gained? Can this be done just through XML? Is the neater solution to simply have the adepts upgradable to "Mage of the Age" who has Channelling II when the right tech is researched?
thanks,
Lplate
I'm trying to start off learning to mod by doing a relatively simple one.
Initial idea is dwarven siblings. Essentially, low level hero units that are available to several civilisations based on events. My problem is that I want the siblings to preferentially target each other in any combat where they are present in the stacks. I thought that UnitClassTargets, UnitCombatTargets, UnitClassDefenders or UnitCombatDefenders would be the way to make it happen but can't get it to work.
Any suggestions??
The other part of my mod would be "Adepts of the Age" - weak adepts with an affinity for the mana types from the different schools: Alteration, etc. As these are supposed to be the best students of their classes, I want them to automatically upgrade to Channelling II when they have the right amount of experience.
How to you link events to levels gained? Can this be done just through XML? Is the neater solution to simply have the adepts upgradable to "Mage of the Age" who has Channelling II when the right tech is researched?
thanks,
Lplate