Yesterday on the irc channel Hati, Alevice, JademusSreg and nicoli_s have been talking about how to make heroes that have xp and levels. Hati found out a working solution that I present here.
<!-- BehaviorData.xml --><CBehaviorVeterancyid="ArchonLevelStatus"><VeterancyLevelArrayMinVeterancyXP="100"/><!-- Level 1 --><VeterancyLevelArrayMinVeterancyXP="300"/><!-- Level 2 --><VeterancyLevelArrayMinVeterancyXP="600"/><!-- Level 3 --><VeterancyLevelArrayMinVeterancyXP="1000"/><!-- Level 4 --><XPFractionindex="Kills"value="1.5"/><!-- Kill gives *1.5 XP --></CBehaviorVeterancy><!-- UnitData.xml --><!-- Hero --><!-- Gives an icon in the top right of the screen --><FlagArrayindex="Hero"value="1"/><!-- Set the different levels --><BehaviorArrayLink="ArchonLevelStatus"/><!-- Units giving XP --><KillXPvalue="50"/><!-- Number of XP given when killing the unit --><!-- The following are unknown --><DamageDealtXPvalue="1"/><DamageTakenXPvalue="1"/>
Example
Use the attached files with the Tutorial to reproduce the demo. Look for <!- - Change - -> for modified values.
Leads
We don't know yet how to do anything with the levels. If you can find how to add/edit spells when leveling that would be really nice.
Yesterday on the irc channel Hati, Alevice, JademusSreg and nicoli_s have been talking about how to make heroes that have xp and levels. Hati found out a working solution that I present here.
Example
Use the attached files with the Tutorial to reproduce the demo. Look for
<!- - Change - ->
for modified values.Leads
We don't know yet how to do anything with the levels. If you can find how to add/edit spells when leveling that would be really nice.