.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old September 11th, 2010, 08:25 AM
Nounours's Avatar

Nounours Nounours is offline
Corporal
 
Join Date: Aug 2008
Location: France
Posts: 90
Thanks: 6
Thanked 17 Times in 6 Posts
Nounours is on a distinguished road
Default Re: It's a Kind of Magic : pooling spell modding tips

First, here is a spell I had problem to mod.

It was intended as a spell that kill the caster and summon another unit (a bit like Ashdod's "Banquet for the Dead").

I saw on the forum that i was not the only one trying to use this effect, and when i finally fixed it, I was suggested by another modder (thank for your help, Chris ) to post on the forum the solution I had found.

So, here is my working fixed spell :


Quote:
#newspell
#name "****"
#descr "[Blah, blah, blah]."

#school 6 [or whatever you want]
#researchlevel 0
#path 0 7
#pathlevel 0 2

#effect 10021
#nreff 1
#damage [summoned unit's number]
#fatiguecost 100
#nextspell "Kill caster"
#restricted [nation's number]
#end
> #effect 10021, as everybody knows, will summon a commander. You can use effect #10001 to summon units, it will also work.

> #nextspell "Kill caster" serves to kill the caster of the spell. DON'T FORGET TO ALSO MOD THIS SECOND SPELL !

Quote:
#newspell
#name "Kill Caster"
#descr "Kill caster"

#school -1
#researchlevel 0
#path 0 7
#pathlevel 0 1
#path 1 5
#pathlevel 0 1
#effect 10090
#nreff 1
#fatiguecost 50
#restricted [nation's number]
#end
> #effect 90 kill the caster, BUT you have to add 10000 to this number (=10090) if you want it to work as a ritual (it appears it has been my main problem when trying to mod this spell).
__________________
It's better to be GoRed by a nature mage than gored by a boar...
Reply With Quote
The Following 3 Users Say Thank You to Nounours For This Useful Post:
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:38 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.