Instead of using the Veterancy to set the individual levels. You just create the veterancy behavior with no levels on it, set the flags to hidden, and then apply it to your unit. Now your unit can gain experience but you can't see where your total is, this is where triggers come into play.
Global Variable
-> Real Variable (for your total xp)
Event
-> Unit gains experience
Variables
-> Real Variable (Trigger XP) - Triggering Experience
Action
-> Modify (Real) - Total XP + Trigger XP
This will add your experience up in a variable, and just imagine what you can accomplish just using the triggers and leveling. I found this way much easier to make levels for your hero instead of messing with the glitchy veterancy behavior.
To see your total experience, just create a dialog box and items that display your current level and your total xp, or xp needed, or whatever you wish.
Instead of using the Veterancy to set the individual levels. You just create the veterancy behavior with no levels on it, set the flags to hidden, and then apply it to your unit. Now your unit can gain experience but you can't see where your total is, this is where triggers come into play.
Global Variable
-> Real Variable (for your total xp)
Event
-> Unit gains experience
Variables
-> Real Variable (Trigger XP) - Triggering Experience
Action
-> Modify (Real) - Total XP + Trigger XP
This will add your experience up in a variable, and just imagine what you can accomplish just using the triggers and leveling. I found this way much easier to make levels for your hero instead of messing with the glitchy veterancy behavior.
To see your total experience, just create a dialog box and items that display your current level and your total xp, or xp needed, or whatever you wish.