Jump to content


Photo

Custom Mordor Spell book / Summon Sauron

barad dûr map.ini mordor spellbook sauron custom map wave defender

Best Answer Jokuc, 10 December 2017 - 09:20 PM

There are many threads about this, you can find it if you look around a bit.
 
To spawn Sauron you could probably just copy paste the Summon Balrog power, and switch the balrog egg for MordorSauron in the OCL

ObjectCreationList OCL_BalrogSummoning
	; The egg is going to die (hatch) immediately, and play the FXLists, then wait, then do the Finish below
	CreateObject
		ObjectNames = MordorBalrogEgg // MordorSauron
		Count = 1
		Disposition = LIKE_EXISTING
	End
	CreateObject
		ObjectNames = MordorBalrogEggPlaceHolder
		Count = 1
		Disposition = LIKE_EXISTING
	End
End

Make a new ocl instead if you want the summon balrog power to work as well. There's more stuff to do if you want a fancy summon egg animation and so on, but you get the idea.
 
To change the spell book points needed, you just change the "PurchasePointCostMP" in the power's science found in science.ini

Science SCIENCE_BalrogAlly
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_ArrowVolleyEvil OR SCIENCE_EVIL SCIENCE_FueltheFires OR SCIENCE_WILD SCIENCE_Darkness OR SCIENCE_WILD SCIENCE_WatcherAlly OR SCIENCE_MORDOR SCIENCE_EvilBombard OR SCIENCE_MORDOR SCIENCE_Darkness ; ; OR SCIENCE_MORDOR SCIENCE_Darkness OR SCIENCE_MORDOR SCIENCE_AwakenWyrm
  SciencePurchasePointCost = EVIL_RANK_4_COST
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End
Go to the full post


  • Please log in to reply
2 replies to this topic

#1 Expendables

Expendables
  • New Members
  • 4 posts

Posted 30 November 2017 - 01:08 PM

Hey there,

I hope somebody can help me :(
I am trying to create a custom Mordor Spellbook for a specific map, which sorts act like a wave defender,where the player tries to defend Barad dur against 8 Brutals. In addition to that the Spellbook should include the ability to spawn Sauron if one has reached a specific ammount of (i don't know how they are called) "Spellbook Points".

I looked at a Tutorial, which was quite accurate but it just explained how to change Spellbook abilities with existing ones.

Maybe someone knows how to create something like this in map.ini :)

Thanks in advance!

#2 Jokuc

Jokuc

    Hardcore Procrastinator

  • Members
  • 187 posts
  • Location:Sweden
  •  Mapper

Posted 10 December 2017 - 09:20 PM   Best Answer

There are many threads about this, you can find it if you look around a bit.
 
To spawn Sauron you could probably just copy paste the Summon Balrog power, and switch the balrog egg for MordorSauron in the OCL

ObjectCreationList OCL_BalrogSummoning
	; The egg is going to die (hatch) immediately, and play the FXLists, then wait, then do the Finish below
	CreateObject
		ObjectNames = MordorBalrogEgg // MordorSauron
		Count = 1
		Disposition = LIKE_EXISTING
	End
	CreateObject
		ObjectNames = MordorBalrogEggPlaceHolder
		Count = 1
		Disposition = LIKE_EXISTING
	End
End

Make a new ocl instead if you want the summon balrog power to work as well. There's more stuff to do if you want a fancy summon egg animation and so on, but you get the idea.
 
To change the spell book points needed, you just change the "PurchasePointCostMP" in the power's science found in science.ini

Science SCIENCE_BalrogAlly
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_ArrowVolleyEvil OR SCIENCE_EVIL SCIENCE_FueltheFires OR SCIENCE_WILD SCIENCE_Darkness OR SCIENCE_WILD SCIENCE_WatcherAlly OR SCIENCE_MORDOR SCIENCE_EvilBombard OR SCIENCE_MORDOR SCIENCE_Darkness ; ; OR SCIENCE_MORDOR SCIENCE_Darkness OR SCIENCE_MORDOR SCIENCE_AwakenWyrm
  SciencePurchasePointCost = EVIL_RANK_4_COST
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End

Edited by Jokuc, 10 December 2017 - 09:23 PM.


#3 Expendables

Expendables
  • New Members
  • 4 posts

Posted 08 February 2018 - 03:44 PM

Thanks that helped!

And afterwards it seems very easy!

 

still a big Thanks :-)






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users