I created some heroes on my mod. I want the heroes recruited from top tier troops using this script so I copied top tier troops into new troops, renamed them, cleared their flags and flagged them as tf_hero.
It works so I get new companion that has level,attribs, skill points, items and face just like the troop, it s used to be before upgraded.
The problem is the stats are too low for a hero with his level. Companion that upgraded from swadian knight (level 25) only have total 26 skill points used. Comparing with borcha (level 3) that has 17 skill points, 26 is too low. I wonder how to adjust troops skill respect to their level, just like attrib. I see the total attribs for troops are 20+troop's level.
Is it hardcoded? Or I miss something?
It works so I get new companion that has level,attribs, skill points, items and face just like the troop, it s used to be before upgraded.
The problem is the stats are too low for a hero with his level. Companion that upgraded from swadian knight (level 25) only have total 26 skill points used. Comparing with borcha (level 3) that has 17 skill points, 26 is too low. I wonder how to adjust troops skill respect to their level, just like attrib. I see the total attribs for troops are 20+troop's level.
Is it hardcoded? Or I miss something?