Register and log in to move these advertisements down
Ultimate beginner's guide. New hero, many topics
malvack
|
Category: |
Code |
Level: |
Beginner
|
Created: |
Saturday March 5, 2016 - 6:37 |
Updated: |
Tuesday October 11, 2016 - 6:19 |
Views: |
17081 |
Summary: |
Guide to make new hero based on CaH and many other topics |
|
Rating
Staff says
-
|
Members say
5.0
|
Average
5.0/5.0
|
2 votes
|
The next thing you should do is create an entrance of your hero in experiencelevels.ini. Right now your hero is level 0 and there's no leveling up for him, so he should have one of those. To achieve it, you can copy any other hero entrance and change it a bit; however make sure to add the new upgrades in the corresponding levels. What I mean is that, every time your hero levels up he recieves upgrades. Since we are doing things somewhat different to the normal use, we will "extra" upgrades, the ones it will be required for your hero to get the propper leveling up. In the end, the entrance of your hero should look like this:
Code |
ExperienceLevel AngmarMalvackLevel1
TargetNames = AngmarMalvack
RequiredExperience = 1
ExperienceAward = BOROMIR_LVL1_EXP_AWARD
Rank = 1
Upgrades = Upgrade_ObjectLevel1
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 40
End
End
ExperienceLevel AngmarMalvackLevel2
TargetNames = AngmarMalvack
RequiredExperience = BOROMIR_LVL2_EXP_NEEDED
ExperienceAward = BOROMIR_LVL2_EXP_AWARD
LevelUpFx = FX:GandalfLevelUp1FX
;LevelUpOCL = OCL_GandalfLevelUp1OCL
Rank = 2
Upgrades = Upgrade_ObjectLevel2
AttributeModifiers = HeroLevelUpDamage1
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 40
End
End
ExperienceLevel AngmarMalvackLevel3
TargetNames = AngmarMalvack
RequiredExperience = BOROMIR_LVL3_EXP_NEEDED
ExperienceAward = BOROMIR_LVL3_EXP_AWARD
LevelUpFx = FX:GandalfLevelUp1FX
;LevelUpOCL = OCL_GandalfLevelUp1OCL
Rank = 3
Upgrades = Upgrade_ObjectLevel3
AttributeModifiers = HeroLevelUpDamage2
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 40
End
End
ExperienceLevel AngmarMalvackLevel4
TargetNames = AngmarMalvack
RequiredExperience = BOROMIR_LVL4_EXP_NEEDED
ExperienceAward = BOROMIR_LVL4_EXP_AWARD
LevelUpFx = FX:GandalfLevelUp1FX
;LevelUpOCL = OCL_GandalfLevelUp1OCL
Rank = 4
AttributeModifiers = HeroLevelUpDamage3
Upgrades = Upgrade_ObjectLevel4
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 40
End
End
ExperienceLevel AngmarMalvackLevel5
TargetNames = AngmarMalvack
RequiredExperience = BOROMIR_LVL5_EXP_NEEDED
ExperienceAward = BOROMIR_LVL5_EXP_AWARD
LevelUpFx = FX:GandalfLevelUp1FX
;LevelUpOCL = OCL_GandalfLevelUp1OCL
Rank = 5
AttributeModifiers = HeroLevelUpDamage4
Upgrades = Upgrade_ObjectLevel5
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 40
End
End
ExperienceLevel AngmarMalvackLevel6
TargetNames = AngmarMalvack
RequiredExperience = BOROMIR_LVL6_EXP_NEEDED
ExperienceAward = BOROMIR_LVL6_EXP_AWARD
LevelUpFx = FX:GandalfLevelUp1FX
;LevelUpOCL = OCL_GandalfLevelUp1OCL
Rank = 6
Upgrades = Upgrade_ObjectLevel6
AttributeModifiers = HeroLevelUpDamage5
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 40
End
End
ExperienceLevel AngmarMalvackLevel7
TargetNames = AngmarMalvack
RequiredExperience = BOROMIR_LVL7_EXP_NEEDED
ExperienceAward = BOROMIR_LVL7_EXP_AWARD
LevelUpFx = FX:GandalfLevelUp1FX
;LevelUpOCL = OCL_GandalfLevelUp1OCL
Rank = 7
AttributeModifiers = HeroLevelUpDamage6
Upgrades = Upgrade_ObjectLevel7
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 40
End
End
ExperienceLevel AngmarMalvackLevel8
TargetNames = AngmarMalvack
RequiredExperience = BOROMIR_LVL8_EXP_NEEDED
ExperienceAward = BOROMIR_LVL8_EXP_AWARD
LevelUpFx = FX:GandalfLevelUp1FX
;LevelUpOCL = OCL_GandalfLevelUp1OCL
Rank = 8
Upgrades = Upgrade_ObjectLevel8
AttributeModifiers = HeroLevelUpDamage7
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 40
End
End
ExperienceLevel AngmarMalvackLevel9
TargetNames = AngmarMalvack
RequiredExperience = BOROMIR_LVL9_EXP_NEEDED
ExperienceAward = BOROMIR_LVL9_EXP_AWARD
LevelUpFx = FX:GandalfLevelUp1FX
;LevelUpOCL = OCL_GandalfLevelUp1OCL
Rank = 9
Upgrades = Upgrade_ObjectLevel9
AttributeModifiers = HeroLevelUpDamage8
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 40
End
End
ExperienceLevel AngmarMalvackLevel10
TargetNames = AngmarMalvack
RequiredExperience = BOROMIR_LVL10_EXP_NEEDED
ExperienceAward = BOROMIR_LVL10_EXP_AWARD
LevelUpFx = FX:GandalfLevelUp1FX
;LevelUpOCL = OCL_GandalfLevelUp1OCL
Rank = 10
AttributeModifiers = HeroLevelUpDamage9
Upgrades = Upgrade_ObjectLevel10
SelectionDecal
Texture = decal_hero_good
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 40
MaxRadius = 200
MaxSelectedUnits = 40
End
End
|
Notice how the hero recieves the upgrades that we added a couple steps before to the upgrade.ini file. If at any point you reference an upgrade which isn't in the upgrade.ini file, the game will crash. Also, you can change the exp_needed and the exp_award to any other hero of the game, just replace BORMIR_LVL with ARAGORN_LVL or whatever other hero you want (make sure not to change the actual Boromir stats) Links / DownloadsCommentsDisplay order: Newest first Amonrath - Monday August 14, 2017 - 2:16 Hello! I'm trying to do the but in the bfme I. Is there any different steps? I created a folder with my own mod... I then just edit the values that I want and I save them... I have also added the -mod in the end of the "Path" as well as done the lotr.srt extraction. Could anyone help? Thanks =D
--------
Hello! I'm trying to do the but in the bfme I. Is there any different steps? I created a folder with my own mod... I then just edit the values that I want and I save them... I have also added the -mod in the end of the "Path" as well as done the lotr.srt extraction. Could anyone help? Thanks =D BouncyKnight - Tuesday April 25, 2017 - 22:08 Amazing step-by-step, very detailed and explanatory tutorial on how to create your custom heroes! Thank you sir, you're great! Gabriel Oak - Tuesday December 13, 2016 - 11:19 I created this account only to thank you, sir. This tutorial is really, really useful.
Go to top
|