i have this in commandbutton.in
[codebox]CommandButton Command_WitchKingLeadership
Command = SPECIAL_POWER
SpecialPower = SpecialAbilityFakeLeadership
Options = NONPRESSABLE
TextLabel = CONTROLBAR:Leadership
ButtonImage = HSWitchKingLeadership
RadiusCursorType = TRAINING
;Upgrade = Upgrade_WitchKingLeadership
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:ToolTipWitchKingLeadership
InPalantir = Yes
End[/codebox]
this is in commandset.ini
[codebox]CommandSet MordorWitchKingRidingFellBeastCommandSet
1 = Command_ToggleStance
2 = Command_WitchKingDismount
3 = Command_WitchKingLeadership
4 = Command_SpecialAbilityScreechWitchKing
5 = Command_HourOfTheWitchKing
13 = Command_AttackMove
14 = Command_Stop
16 = Command_SetStanceBattle
17 = Command_SetStanceAggressive
18 = Command_SetStanceHoldGround
End
CommandSet MordorWitchKingCommandSet
1 = Command_ToggleStance
2 = Command_WitchKingToggleMounted
3 = Command_WitchKingLeadership
4 = Command_SpecialAbilityScreechWitchKing
5 = Command_HourOfTheWitchKing
12 = Command_CaptureBuilding
13 = Command_AttackMove
14 = Command_Stop
16 = Command_SetStanceBattle
17 = Command_SetStanceAggressive
18 = Command_SetStanceHoldGround
End[/codebox]
this is experience level
[codebox];----------- WITCHKING ------------------
ExperienceLevel WitchKingLevel1
TargetNames = WITCHKING
RequiredExperience = 1
ExperienceAward = WITCHKING_LVL1_EXP_AWARD
Rank = 1
Upgrades = Upgrade_WitchKingLeadership
SelectionDecal
Texture = decal_hero_evil
Style = SHADOW_ALPHA_DECAL
OpacityMin = 50%
OpacityMax = 100%
MinRadius = 60
MaxRadius = 200
MaxSelectedUnits = 10
End
End
[/codebox]
this in witchking.ini
[codebox] ;---------LEADERSHIP------------------------------------------------------------------------
Behavior = AttributeModifierAuraUpdate ModuleTag_Leadership
StartsActive = Yes ;If no, requires upgrade to turn on.
BonusName = GenericHeroLeadership
TriggeredBy = Upgrade_WitchKingLeadership
RefreshDelay = 2000
Range = 250
AntiCategory = BUFF
ObjectFilter = GENERIC_BUFF_RECIPIENT_OBJECT_FILTER
End
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_TheodenLeadership
SpecialPowerTemplate = SpecialAbilityFakeLeadership
TriggeredBy = Upgrade_WitchKingLeadership
End
Behavior = SpecialPowerModule ModuleTag_TheodenLeadershipUpdate
SpecialPowerTemplate = SpecialAbilityFakeLeadership
UpdateModuleStartsAttack = Yes
StartsPaused = No
End
[/codebox]
and this in attributemodifier.ini
[codebox]ModifierList WitchKingPassiveLeadership
Category = LEADERSHIP
Modifier = EXPERIENCE 300%
Modifier = ARMOR 50%
Modifier = DAMAGE_MULT 200% ; Multiplicitive. Damage multiplied by this, will compound in multiple bonuses
Duration = 2500 ; Matches RefreshRate of giving module
FX = FX_GenericLeadership
MultiLevelFX = Yes
End[/codebox]
so i want his leadership to be available at level 1just like in bfme1 just like the mount/dismount
anyone knows how??
Thanks in advance
Edited by sporting1986, 24 November 2008 - 10:46 PM.