Modding Union
[en] - Modding Corner => Coding => Thema gestartet von: lord_ellessar am 4. Feb 2016, 16:48
-
how can i make to make the powers of elendil available? :)
-
Why are his abilities not available?
-
the butons don't do anything :/
-
Elessar, I deleted your latest comment.
There is no need of writing double posts to get one's attention.
Your posts remain exactly where they are, and the people involved receive notifications of your replies anyway.
I unfortunately can't help you about this issue.
But, I'm sure someone will come to your aid as soon as possible :)
-
Okay :/
-
I understand your problem. Elendil has a CommandSet with CommandButtons, but there is no abilty code.
You have to add those abilities in his ini. For example: His second ability is Athelas. So we copy an Athelas ability from another Hero like Aragorn.
;--------------------------------------------------------------------
; Königskraut
;--------------------------------------------------------------------
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_AragornAthelas2
SpecialPowerTemplate = SpecialAbilityAragornAthelas
TriggeredBy = Upgrade_Level_3
End
Behavior = SpecialPowerModule ModuleTag_AragornAthelas
SpecialPowerTemplate = SpecialAbilityAragornAthelas
UpdateModuleStartsAttack = Yes
TriggerFX = FX_AragornAthelas
SetModelCondition = ModelConditionState:USER_2
SetModelConditionTime = 2.1
StartsPaused = Yes
End
Behavior = SpecialAbilityUpdate ModuleTag_AragornAthelasUpdate
SpecialPowerTemplate = SpecialAbilityAragornAthelas
StartAbilityRange = 1.6
UnpackTime = 1 ; Nothing to touching it
PreparationTime = 3 ; touching it to grabbing it
PackTime = 2096 ; whacking it to holding it nice
AwardXPForTriggering = 0
End
We have to set the SpecialPower to our CommandButton's SpecialPower and the Upgrade_Level to the Required Level from Description.
This code has allready the correct Values.
-
okay thanks, do you have an idea for the others ? :)
-
i don't understand i put that and it don't do anything :/
(http://i.imgur.com/N01xXyC.jpg)
(from araphant)
-
The SpecialPower of Elendil's CommandButton (Command_SpecialAbilitySc hätzedesKönigreichs) is SpecialAbilitySchätzeMor ias, but you have used a different SpecialPower, SpecialAbilitySchätzedes Königsreichs.
-
okay i'll try :)
EDIT: Thanks it works :D