how do you add spells?

Users who are viewing this thread

jamesnoob

Recruit
hey im planning to make a mod that has more spells

but i dont know how to add them in the game!

please help!

im trying to make a spell that fogs in the area!
and a spell that spits fire orbs!
 
Here, take this: '!'. You forgot to put that at the end your first sentence!

Maybe then people will understand you and answer your questions!

 
Raz said:
Here, take this: '!'. You forgot to put that at the end your first sentence!

Maybe then people will understand you and answer your questions!

how do I add spells to the game?
 
Uh i havent done it my self man ,
but im pretty sure its just changing a ranged attack,
and giving it the effects you want.

lot of coding
 
there are different ways of doing it.

you can make a particular key on the keyboard be a spell-casting key, like a special attack
or attach them to a ranged weapon and they will be cast when you fire it or throw it
or make them appear by themselves when you carry some magical item
or make a particular key combination cast them (like hold forward+hold backward+press attack)

their effects would mostly be coded using particle emissions and agent manipulation


P.S. Hey Raz, you're still around :smile:
 
Hey, yeah, although I mostly hang out in off-topic these days. :lol:

Good to see you again too man. :wink:
 
jamesnoob said:
is there a tutorial?
No. Spells are too uncommon.

Best just use a throwing weapon that's very small or invisible, then make the ixmesh_flying a "fireball" and give it a fire particle system. Then PM D'Sparil for his area effect damage codes, and apply them to said item.
 
Back
Top Bottom