Hi everyone,
First I will present myself (just for the sake of being polite and kind ). I love RTS game and I really liked BftME, in fact it was the first PC game I owned (I started playing PC video game quite late). And I also quite like modding (I pioneered modding on Wargame Red Dragon if you know it).
So I shall know begin to explain my problem.
I created a Hero Balrog, which is different from the summoned Balrog. It has tis own armor set (and that's all for now).
The thing is I would like to have him level up like any other hero. So I added some code line in the
data\ini\experiencelevels.ini
This where the line I added
ExperienceLevel WildBalrogLevel1 TargetNames = WildBalrog RequiredExperience = 1 ExperienceAward = WITCHKING_LVL1_EXP_AWARD Rank = 1 SelectionDecal Texture = decal_hero_evil Style = SHADOW_ALPHA_DECAL OpacityMin = 50% OpacityMax = 100% MinRadius = 60 MaxRadius = 200 MaxSelectedUnits = 10 End End ExperienceLevel WildBalrogLevel2 TargetNames = WildBalrog RequiredExperience = WITCHKING_LVL2_EXP_NEEDED ExperienceAward = WITCHKING_LVL2_EXP_AWARD AttributeModifiers = HeroLevelUpDamage1 Rank = 2 LevelUpFx = FX:EvilLevelUpFX ;,; FX:GandalfLevelUp1FX Upgrades = Upgrade_DreadVisage SelectionDecal Texture = decal_hero_evil Style = SHADOW_ALPHA_DECAL OpacityMin = 50% OpacityMax = 100% MinRadius = 60 MaxRadius = 200 MaxSelectedUnits = 10 End End ExperienceLevel WildBalrogLevel3 TargetNames = WildBalrog RequiredExperience = WITCHKING_LVL3_EXP_NEEDED ExperienceAward = WITCHKING_LVL3_EXP_AWARD AttributeModifiers = HeroLevelUpDamage2 Rank = 3 LevelUpFx = FX:EvilLevelUpFX ;,; FX:GandalfLevelUp1FX SelectionDecal Texture = decal_hero_evil Style = SHADOW_ALPHA_DECAL OpacityMin = 50% OpacityMax = 100% MinRadius = 60 MaxRadius = 200 MaxSelectedUnits = 40 End End ExperienceLevel WildBalrogLevel4 TargetNames = WildBalrog RequiredExperience = WITCHKING_LVL4_EXP_NEEDED ExperienceAward = WITCHKING_LVL4_EXP_AWARD AttributeModifiers = HeroLevelUpDamage3 Rank = 4 LevelUpFx = FX:EvilLevelUpFX ;,; FX:GandalfLevelUp1FX Upgrades = Upgrade_WitchkingMorgulBlade ;,; Added in v5.1 SelectionDecal Texture = decal_hero_evil Style = SHADOW_ALPHA_DECAL OpacityMin = 50% OpacityMax = 100% MinRadius = 60 MaxRadius = 200 MaxSelectedUnits = 40 End End ExperienceLevel WildBalrogLevel5 TargetNames = WildBalrog RequiredExperience = WITCHKING_LVL5_EXP_NEEDED ExperienceAward = WITCHKING_LVL5_EXP_AWARD AttributeModifiers = HeroLevelUpDamage4 Rank = 5 LevelUpFx = FX:EvilLevelUpFX ;,; FX:GandalfLevelUp1FX SelectionDecal Texture = decal_hero_evil Style = SHADOW_ALPHA_DECAL OpacityMin = 50% OpacityMax = 100% MinRadius = 60 MaxRadius = 200 MaxSelectedUnits = 40 End End ExperienceLevel WildBalrogLevel6 TargetNames = WildBalrog RequiredExperience = WITCHKING_LVL6_EXP_NEEDED ExperienceAward = WITCHKING_LVL6_EXP_AWARD AttributeModifiers = HeroLevelUpDamage5 Rank = 6 LevelUpFx = FX:EvilLevelUpFX ;,; FX:GandalfLevelUp1FX Upgrades = Upgrade_Screech SelectionDecal Texture = decal_hero_evil Style = SHADOW_ALPHA_DECAL OpacityMin = 50% OpacityMax = 100% MinRadius = 60 MaxRadius = 200 MaxSelectedUnits = 40 End End ExperienceLevel WildBalrogLevel7 TargetNames = WildBalrog RequiredExperience = WITCHKING_LVL7_EXP_NEEDED ExperienceAward = WITCHKING_LVL7_EXP_AWARD AttributeModifiers = HeroLevelUpDamage6 Rank = 7 LevelUpFx = FX:EvilLevelUpFX ;,; FX:GandalfLevelUp1FX SelectionDecal Texture = decal_hero_evil Style = SHADOW_ALPHA_DECAL OpacityMin = 50% OpacityMax = 100% MinRadius = 60 MaxRadius = 200 MaxSelectedUnits = 40 End End ExperienceLevel WildBalrogLevel8 TargetNames = WildBalrog RequiredExperience = WITCHKING_LVL8_EXP_NEEDED ExperienceAward = WITCHKING_LVL8_EXP_AWARD AttributeModifiers = HeroLevelUpDamage7 Rank = 8 LevelUpFx = FX:EvilLevelUpFX ;,; FX:GandalfLevelUp1FX Upgrades = Upgrade_HourOfTheWitchKing ;;,;; Added for 3.0.1 SelectionDecal Texture = decal_hero_evil Style = SHADOW_ALPHA_DECAL OpacityMin = 50% OpacityMax = 100% MinRadius = 60 MaxRadius = 200 MaxSelectedUnits = 40 End End ExperienceLevel WildBalrogLevel9 TargetNames = WildBalrog RequiredExperience = WITCHKING_LVL9_EXP_NEEDED ExperienceAward = WITCHKING_LVL9_EXP_AWARD AttributeModifiers = HeroLevelUpDamage8 Rank = 9 LevelUpFx = FX:EvilLevelUpFX ;,; FX:GandalfLevelUp1FX SelectionDecal Texture = decal_hero_evil Style = SHADOW_ALPHA_DECAL OpacityMin = 50% OpacityMax = 100% MinRadius = 60 MaxRadius = 200 MaxSelectedUnits = 40 End End ExperienceLevel WildBalrogLevel10 TargetNames = WildBalrog RequiredExperience = WITCHKING_LVL10_EXP_NEEDED ExperienceAward = WITCHKING_LVL10_EXP_AWARD AttributeModifiers = HeroLevelUpDamage9 Rank = 10 LevelUpFx = FX:EvilLevelUpFX ;,; FX:GandalfLevelUp1FX ; Upgrades = Upgrade_HourOfTheWitchKing ;;,;; Removed for 3.0.1 SelectionDecal Texture = decal_hero_evil Style = SHADOW_ALPHA_DECAL OpacityMin = 50% OpacityMax = 100% MinRadius = 60 MaxRadius = 200 MaxSelectedUnits = 40 End End
This is obviously based on the code line of the Witch-King from Mordor.
The problem I have is the following I can call the Balrog but it doesn't gain exp and won't level up. The most peculiar thing to me is that the bar which should be filling while the unit gains exp doesn't even exists.
Would you like me to share the code I have made for the Balrog ?
Thank you in advance for your answer !
Darkmil