Edited by Jack, 25 January 2010 - 03:42 AM.
how to make a new summon spell?
Started by Jack, Jan 25 2010 03:22 AM
5 replies to this topic
#1
Posted 25 January 2010 - 03:22 AM
Hello, I was wondering if it was possible to make a new summon spell, like am I able to make an entire new spell summoning 3 groups of Noldor warriors for Haldir? If it's possible, can you tell me how to do it?
#2
Posted 25 January 2010 - 06:40 AM
Its possible... Read Ridder Blauw's Tutorial on summon powers and such... It may help
http://www.the3rdage...tem-405?addview
http://www.the3rdage...tem-405?addview
Ridder Geel
#3
Posted 25 January 2010 - 09:20 PM
I did. I read that before i made this thread. I understood his steps and everything, but I'm not sure what to change.Its possible... Read Ridder Blauw's Tutorial on summon powers and such... It may help
http://www.the3rdage...tem-405?addview
#4
Posted 25 January 2010 - 10:09 PM
Change the OCL
Example:
Example:
;--------------------------------------------------------------------------------------- ObjectCreationList OCL_SpawnSomething CreateObject ObjectNames = "NoldorWarriorObjectHorde" Count = 3 Disposition = SPAWN_AROUND DispositionIntensity = 500 DispositionAngle = 90 IgnoreCommandPointLimit = Yes End End
Ridder Geel
#5
Posted 25 January 2010 - 10:14 PM
CODE
Behavior = OCLSpecialPower ModuleTag_OCLSpecialPowerHotWSummonAllies_Level4
SpecialPowerTemplate = SpecialAbilityCreateAHeroHotWSummonAllies_Level4
OCL = OCL_ELVES
TriggerFX = FX_DunedainSummon
CreateLocation = CREATE_AT_LOCATION
StartsPaused = No
End
This in any heroes file
CODE
CommandButton Command_SUMMON_HORDE
Command = SPECIAL_POWER
SpecialPower = SpecialAbilityCreateAHeroHotWSummonAllies_Level4
TextLabel = CONTROLBAR:HotWSummonAllies_Level4
ButtonImage = CAHSummonAllies
Options = NEED_TARGET_POS CONTEXTMODE_COMMAND
RadiusCursorType = SummonOathBreakersRadiusCursor
CursorName = Bombard
InvalidCursorName = GenericInvalid
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipHotWSummonAllies_Level4
InPalantir = Yes
// UnitSpecificSound = AragornVoiceSummonOathbreakers
// AutoAbility = Yes //
// TriggerWhenReady = Yes //
End
The commandbutton... Add to the HERO commandset
6 = Command_SUMMON_HORDE
the OCL in the ObjectCreationList file is what is the MAIN code
i.e any unit can have the above but the OCL determines what is spawned
CODE
ObjectCreationList OCL_ELVES
CreateObject
ObjectNames = ElvenLorienArcherHorde_Summoned
Count = 1
FadeIn = Yes
FadeTime = 8000
IgnoreCommandPointLimit = Yes
Disposition = ABSOLUTE_ANGLE
DispositionAngle = 315
UseJustBuiltFlag = Yes
StartingBusyTime = 5000
Offset = X:-40 Y:-10 Z:0
End
CreateObject
ObjectNames = ElvenLorienWarriorHorde_Summoned
Count = 1
FadeIn = Yes
FadeTime = 8000
IgnoreCommandPointLimit = Yes
Disposition = ABSOLUTE_ANGLE
DispositionAngle = 315
UseJustBuiltFlag = Yes
StartingBusyTime = 5000
Offset = X:-40 Y:40 Z:0
End
CreateObject
ObjectNames = ElvenLorienWarriorHorde_Summoned
Count = 1
FadeIn = Yes
FadeTime = 8000
IgnoreCommandPointLimit = Yes
Disposition = ABSOLUTE_ANGLE
DispositionAngle = 315
UseJustBuiltFlag = Yes
StartingBusyTime = 5000
Offset = X:10 Y:-40 Z:0
End
CreateObject
ObjectNames = ElvenLorienArcherHorde_Summoned
Count = 1
FadeIn = Yes
FadeTime = 8000
IgnoreCommandPointLimit = Yes
Disposition = ABSOLUTE_ANGLE
DispositionAngle = 315
UseJustBuiltFlag = Yes
StartingBusyTime = 5000
Offset = X:40 Y:-10 Z:0
End
End
I did this for HALDIR ... my first summon code way back
and yes use Ridder's OCL as Noldor warriors are what you want
Edited by JUS_SAURON, 25 January 2010 - 10:16 PM.
#6
Posted 20 July 2010 - 03:03 PM
you should not make them noldor warriors but galadrhim warriros intsead because then it would be more realistic and matching