Jump to content


Photo

how to make a new summon spell?


  • Please log in to reply
5 replies to this topic

#1 Jack

Jack
  • Members
  • 24 posts

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?

Edited by Jack, 25 January 2010 - 03:42 AM.


#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 25 January 2010 - 06:40 AM

Its possible... Read Ridder Blauw's Tutorial on summon powers and such... It may help :thumbsupsmiley:
http://www.the3rdage...tem-405?addview
Ridder Geel

#3 Jack

Jack
  • Members
  • 24 posts

Posted 25 January 2010 - 09:20 PM

Its possible... Read Ridder Blauw's Tutorial on summon powers and such... It may help :p
http://www.the3rdage...tem-405?addview

I did. I read that before i made this thread. I understood his steps and everything, but I'm not sure what to change.

#4 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 25 January 2010 - 10:09 PM

Change the OCL :p
Example:
;--------------------------------------------------------------------------------------- 
ObjectCreationList OCL_SpawnSomething
	CreateObject
		ObjectNames = "NoldorWarriorObjectHorde"
	Count = 3
	Disposition = SPAWN_AROUND
	DispositionIntensity = 500
	DispositionAngle = 90
	IgnoreCommandPointLimit = Yes
	End
End

Ridder Geel

#5 JUS_SAURON

JUS_SAURON

    El Shaddai

  • Members
  • 1,581 posts
  • Location:Trinidad
  • Projects: BFME2 MOD - Power Of The Ring
  •   INI Coder

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 lukewilliams

lukewilliams
  • Banned
  • 35 posts

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


Back to BFME2 & RotWK Modding


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users