Creating Easy Spells

Learn more on how to use Sandbox, or submit your own tutorials or resources.
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Creating Easy Spells

Postby arcones » April 30th, 2010, 2:29 pm

Last edited by arcones on January 1st, 2011, 11:32 am, edited 4 times in total.
Image
Want a user bar like this one? PM Leo!

User avatar
GR1M
Support Team
Support Team
Posts: 1305
Joined: August 22nd, 2009, 4:35 pm
Name: Luke
IRC Username: Gr1m
Location: Texas
Contact:

Re: Creating Easy Spells

Postby GR1M » April 30th, 2010, 3:53 pm

Nice guide but you might want to add solutions to some of the problems people might come across like when you make a spell and its random every time and how to fix that.

arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Creating Easy Spells

Postby arcones » April 30th, 2010, 6:36 pm

As said in several other places... I'm working on your spells GR1m! ;)
Image
Want a user bar like this one? PM Leo!

Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Creating Easy Spells

Postby Hirato » April 30th, 2010, 10:48 pm

don't use 2 in place of $ENT_SPELL, bad practice, the reason for all those constants is due to their susceptibility for change.
if you use $ENT_SPELL you're secure if I change its value in the future, otherwise you're screwed

EDIT
btw: I think a duration of -1 is infinite; I forgot
This is not a url, clicking it is pointless

arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Creating Easy Spells

Postby arcones » May 1st, 2010, 9:14 am

Okay, I changed those!
Image
Want a user bar like this one? PM Leo!

User avatar
GR1M
Support Team
Support Team
Posts: 1305
Joined: August 22nd, 2009, 4:35 pm
Name: Luke
IRC Username: Gr1m
Location: Texas
Contact:

Re: Creating Easy Spells

Postby GR1M » May 1st, 2010, 11:21 am

"/dumpprojeffect myeffects.cfg" there we go! the cure.

arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Creating Easy Spells

Postby arcones » May 2nd, 2010, 5:17 pm

Yep! Time for dinner!
:D
Image
Want a user bar like this one? PM Leo!

User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: Creating Easy Spells

Postby Leo_V117 » May 5th, 2010, 11:03 am

Whats for lunch? :lol: Heres one for you Arc.

Like a smoke Grenade.
A spell that will launch a projectile anywhere you aim. When it hits the ground. A cloud of fog appears for around 10 seconds.




arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Creating Easy Spells

Postby arcones » May 5th, 2010, 6:12 pm

Gotcha!

Will do :)
Image
Want a user bar like this one? PM Leo!

chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Creating Easy Spells

Postby chocolatepie33 » May 5th, 2010, 8:18 pm

Well, should Arc succeed (which, of course, he will, considering he's filled to the brim with uber awesomeness :D ), we can use the crosshair Grenada that Leo found ;) . Now, if we had a grenade mapmodel, we could make a spell effect similar to Hirato's arrow spell...


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Tutorials and Resources”

Who is online

Users browsing this forum: No registered users and 2 guests