Voila tout ce qui concernent le pouvoir:
Dans CommmandButon:
CommandButton Command_PurchaseSpellRoyalGuardAlly
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
ButtonImage = HPSauron ; DJR 6/29/4 using same image as spellbook for now
Science = SCIENCE_RoyalGuardAlly
TextLabel = CONTROLBAR:SummonBalrog
DescriptLabel = CONTROLBAR:TooltipSummonBalrog
End
CommandButton Command_SpellBookRoyalGuardAlly
Command = SPELL_BOOK
SpecialPower = SpellBookRoyalGuardAlly
Options = NEED_TARGET_POS ; Huh, you can´t have this flag and a radius cursor: CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:SummonBalrog
ButtonImage = HPSauron
ButtonBorderType = ACTION ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipSummonBalrog
RadiusCursorType = SUMMON_BALROG
CursorName = AttackObj
InvalidCursorName = GenericInvalid
End
Dans system:
Science SCIENCE_RoyalGuardAlly
PrerequisiteSciences = SCIENCE_EVIL SCIENCE_Taint OR SCIENCE_ISENGARD SCIENCE_Industry OR SCIENCE_ISENGARD SCIENCE_Taint_Isengard SCIENCE_CalltheHorde
SciencePurchasePointCost = 10
SciencePurchasePointCostMP = 6
IsGrantable = Yes
; DisplayName =
; Description =
End
Dans specialpower:
SpecialPower SpellBookRoyalGuardAlly
Enum = SPECIAL_SPELL_BOOK_BALROG_ALLY
ReloadTime = 360000 ; in milliseconds
PublicTimer = No
RadiusCursorRadius = 75.0 ; Match the radius in FXList SummonBalrogStart
RequiredScience = SCIENCE_RoyalGuardAlly
ViewObjectDuration = 5000
ViewObjectRange = 100
End
Dans créationlist.ini
; Create RoyalGuard and troops out of thin air.
ObjectCreationList OCL_RoyalGuardSummoning
CreateObject
ObjectNames = RohanTheoden
Count = 1
FadeIn = Yes
FadeTime = 3000
IgnoreCommandPointLimit = Yes
Disposition = LIKE_EXISTING
Offset = X:0 Y:0 Z:0 ; Up in the air part comes from the Spellbook saying AboveLocation. This is just to spread them a bit.
End
CreateObject
ObjectNames = RohanRoyalGuardHorde
Count = 5
FadeIn = Yes
FadeTime = 3000
IgnoreCommandPointLimit = Yes
Disposition = LIKE_EXISTING
Offset = X:-15 Y:15 Z:0
End
Et dans science:
Science SCIENCE_RoyalGuard
PrerequisiteSciences = SCIENCE_EVIL SCIENCE_Taint OR SCIENCE_ISENGARD SCIENCE_Industry OR SCIENCE_ISENGARD SCIENCE_Taint_Isengard SCIENCE_CalltheHorde
SciencePurchasePointCost = 10
SciencePurchasePointCostMP = 6
IsGrantable = Yes
; DisplayName =
; Description =
End