Page 2 of 3

Re: Creating Spells

Posted: March 23rd, 2010, 11:20 pm
by Hirato
polymorphs are added through r_addpolymorph <model> <duration>
I think I added it after the release, so it's not available to you right now

Re: Creating Spells

Posted: March 24th, 2010, 8:05 am
by arcones
ah, thanks Hirato! Will that be added to the next release?

Re: Creating Spells

Posted: March 24th, 2010, 11:44 am
by Leo_V117
So, whats gonna be included in the next release?

Re: Creating Spells

Posted: March 28th, 2010, 9:47 pm
by Venima
arcones wrote:No problem! Glad to help :D

(I can now upgrade to this :geek: (YES! :D ))

Arc :geek:

challenge for you, create a spell that casts fairy dust. (hint: use the flame particle)

Re: Creating Spells

Posted: March 29th, 2010, 8:13 am
by arcones
k will do!

Oh. You wouldn't want to hurt anybody with it would you? It's just a spell that showers pixie dust everywhere. :D

Re: Creating Spells

Posted: March 29th, 2010, 9:04 am
by Venima
It harms evil and slows them down.

Re: Creating Spells

Posted: March 29th, 2010, 9:08 am
by arcones
OOHH!

In that case, you'd have to be careful where you fire your fairy dust!!

It'll hurt friend and foe alike. :)

Re: Creating Spells

Posted: March 29th, 2010, 9:22 am
by Venima
This used to be fairy dust but I converted it into something a little different

Code: Select all

spawn_dust = [
   r_type $ENT_SPELL
   r_icon losehealth
   r_description "sprays flames"
   r_name "Flame Spray"
   r_spell_type $STYPE_CONE
   r_spell_gravity 60
   r_spell_cost 5
   r_spell_range 8
   r_spell_effect 5
   r_addeffect $STATUS_HEALTH -10 1

   r_interact [
      r_select $rpginteract
      r_pickup $rpgself
   ]
]


try it out

Re: Creating Spells

Posted: March 29th, 2010, 9:25 am
by arcones
Cool.

Don't forget to add the spell name at the bottom:

Code: Select all

    spawn_player = [
       r_additem item
       r_additem item2
       r_additem spell
       r_additem spell2
       r_additem frost
       r_additem magicarrow
       r_additem light
       r_additem eth_vis1
       r_additem minehelm
       r_additem dust
    ]

Re: Creating Spells

Posted: March 29th, 2010, 9:28 am
by Venima
you don't think I'd be able to create a spell with such great effects as that without even seeing it in action!?!