Ridder, sorry one last question
I remember something i tried once, converting a spell book into a CaH special power. I tried out with Stampede and everything was working smooth, i managed to create the power then i made a hero, choosed the spell and went into a skirmish and what happen was that i couldn't cast it anywhere, i got a print, check this out:
http://s21.postimg.o.../Sem_T_tulo.png
I assume it's something related with createaheropower.inc:
//--------------------------------------------------------------------------
// CaH STAMPEDE
//--------------------------------------------------------------------------
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_StampedeUnpause
SpecialPowerTemplate = Stampede
TriggeredBy = Upgrade_Stampede
End
Behavior = OCLSpecialPower ModuleTag_OCLStampede
SpecialPowerTemplate = Stampede
OCL = OCL_RohanStampedeSummoning
CreateLocation = CREATE_AT_LOCATION
StartsPaused = Yes
End
If not...createaherospecialpower.ini:
//------------------------------------------------------------------------------
SpecialPower Stampede
Enum = SPECIAL_SPELL_BOOK_FLOOD
RadiusCursorRadius = 175
ReloadTime = 180000 ; in milliseconds
ViewObjectDuration = 10000
ViewObjectRange = 200
; InitiateAtLocationSound = SpellFloodMS
End
and commandbutton.ini (made it level 1 for test purposes):
;-------------------------------------------------------------------------
CommandButton Command_CreateAHero_HotW_Stampede
Command = SPELL_BOOK
SpecialPower = Stampede
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:CreateAHeroStampede
ButtonImage = ASRohanStampedeButton
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:CreateAHeroTooltipStampede
RadiusCursorType = FloodRadiusCursor
CursorName = AttackObj
InvalidCursorName = GenericInvalid
InPalantir = Yes
CreateAHeroUIAllowableUpgrades = Upgrade_CreateAHero_ClassHeroOfTheWest
CreateAHeroUIMinimumLevel = 1
CreateAHeroUIPrerequisiteButtonName = None
CreateAHeroUICostIfSelected = 1000
End
What you think?