You must be logged in to post messages.
Please login or register

Grey Havens (World Builder & Game Mods)
Moderated by Sir Hugh, Blatant

Hop to:    
Welcome! You are not logged in. Please Login or Register.5 replies
Battle for Middle Earth II Heaven » Forums » Grey Havens (World Builder & Game Mods) » How Add Leadership Power to Unit?!?
Bottom
Topic Subject:How Add Leadership Power to Unit?!?
Sindarin
Dúnadan
posted 01-09-07 10:42 AM EDT (US)         
Need help with this...Anyone can give me a link or help me with this problem?
I need to add that power to Noldor Warrior...
AuthorReplies:
MR ANCALAGON
Dúnadan
(id: Ancalagon_4554)
posted 01-09-07 04:41 PM EDT (US)     1 / 5       
Well, do you know basic .ini?
Sindarin
Dúnadan
posted 01-10-07 04:09 AM EDT (US)     2 / 5       
yes..but when i try to add it like Dain Leadership i don't see anything...
(adding string to NoldorWarrior.ini, elvenhordes.ini, commandset.ini i can't see nothing...also in palantir - But the game don't crash)
Anyone knows something about?!?!
MR ANCALAGON
Dúnadan
(id: Ancalagon_4554)
posted 01-10-07 08:57 PM EDT (US)     3 / 5       
Show me the code you are using.
Sindarin
Dúnadan
posted 01-11-07 06:44 AM EDT (US)     4 / 5       
here the code

this in Noldorwarrior
; ========================== Leadership ==================================
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_DainLeadership
SpecialPowerTemplate = SpecialAbilityFakeLeadership
TriggeredBy = Upgrade_DainLeadership
End

Behavior = SpecialPowerModule ModuleTag_DainLeadershipUpdate
SpecialPowerTemplate = SpecialAbilityFakeLeadership
UpdateModuleStartsAttack = No
StartsPaused = Yes
End

Behavior = AttributeModifierAuraUpdate ModuleTag_Leadership
StartsActive = No ;If no, requires upgrade to turn on.
BonusName = GenericHeroLeadership
TriggeredBy = Upgrade_DainLeadership
RefreshDelay = 2000
Range = 200
; ;AntiCategory = BUFF
ObjectFilter = GENERIC_BUFF_RECIPIENT_OBJECT_FILTER
End

this in Experiencelevel.ini in good miniordes

ExperienceLevel GoodMiniHordeLevel1
TargetNames = MINI_HORDE ;// defined at top of file
RequiredExperience = EXPERIENCE_REQUIRED_MINI_HORDE_1
ExperienceAward = EXPERIENCE_AWARD_MINI_HORDE_1
InformUpdateModule = Yes
Rank = 1
Upgrades = Upgrade_DainLeadership
LevelUpTintColor = R:255 G:255 B:255
LevelUpTintPreColorTime = 500
LevelUpTintPostColorTime = 3000
LevelUpTintSustainColorTime = 500

SelectionDecal
Texture = decal_G_level4
Texture2 = decal_good_CO
Style = SHADOW_MERGE_DECAL
OpacityMin = 80%
OpacityMax = 100%
MinRadius = HORDE_DECAL_MIN_RADIUS
MaxRadius = 200
MaxSelectedUnits = 40
End
END


this in commandset.ini


CommandSet NoldorWarriorCommandSet
1 = Command_ToggleStance
2 = Command_ToggleElvenWarriorWeapon
3 = Command_ArcherBombard
4 = Command_SpecialAbilityNoldorWeaponSong
; 5 = Command_PurchaseUpgradeElvenSilverthornArrows
5 = Command_DainLeadership
12 = Command_CaptureBuilding
13 = Command_AttackMove
14 = Command_Stop
16 = Command_SetStanceBattle
17 = Command_SetStanceAggressive
18 = Command_SetStanceHoldGround
End
CommandSet NoldorWarriorHordeCommandSet
1 = Command_ToggleStance
2 = Command_ToggleElvenWarriorWeapon
3 = Command_ArcherBombard
4 = Command_SpecialAbilityNoldorWeaponSong
; 5 = Command_PurchaseUpgradeElvenSilverthornArrows
5 = Command_DainLeadership
12 = Command_CaptureBuilding
13 = Command_AttackMove
14 = Command_Stop
16 = Command_SetStanceBattle
17 = Command_SetStanceAggressive
18 = Command_SetStanceHoldGround
End

I used Dain leadership...But (if u can tell me how) i can use also Cah leadership...
In this link..(http://lordoftherings.filefront.com/...Mini_Mod;65943 i've tried to emulate these Script for passive leadership but nothing changes...

So now i can start with a new INI again ( the original one ) and i w8ing for some help...

MR ANCALAGON
Dúnadan
(id: Ancalagon_4554)
posted 01-11-07 05:45 PM EDT (US)     5 / 5       
Try making a new commandbutton, and don't use the same modules as King Dain. I'd try the latter first, then the former, then both.
You must be logged in to post messages.
Please login or register

Hop to:    

Battle for Middle Earth II Heaven | HeavenGames