• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Teach me

Status
Not open for further replies.
Level 5
Joined
Aug 21, 2012
Messages
107
Ok here is my question: (I'am asking you this because my brother didn't)

Ok let's start.

First it is a spell. I wanna to create a spell in which the caster will be invulnerable and doing a animation repeated after it is done. I can do the Invulnerable part but the animation is Nonono to my head.

Second the spell I choose is Death and Decay because here the concept:
The caster will start his casting and a green ball(Model from Dark Conversation) will appear and raise from selected area. (.P.S. The damage will not start until the ball reaches its position). I can create the green ball model by a footman and locust his only spell, no shadow, no attacks, no speed, no footsteps and no collusion.
The other are NOnono.

Third when the ball reaches its position the ball will release a beam of green or anything, laser or something from a area and has no specific target but the ground only. There is where the damage begin.

EVEN THOUGH YOU POST ALL THE TRIGGERS IN THE COMMENT BOX I WILL JUST GUESS AND SAY THIS ONE WORD: "HOW THE HELL DID HE DO THAT?" SO PLEASE TEACH ME.
 
Level 12
Joined
Oct 16, 2010
Messages
680
Ok...

First, wipe out your pointless commentary and give us a step by step description about what the spell you would like to do.

something like:
creates a green orb in front of the hero while channeling
sends it to the target position
when reaching the point the orb explodes making xxx damage in a yyy radius around it.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Teaching you how to create a specific spell is pretty useless.
You should know how to create your own systems and spells without relying on others for help all the time.
To do that, you mustn't just learn how to create that spell you want, but you must learn the tools that can be used to create it.

Since you most likely use GUI, you've got pretty much 2 options to create a trigger that does something over time: hashtables and indexing.
Hashtables are variables with a double array that can store pretty much any type you like while indexing uses multiple variables with a single array where every instance of the spell has a unique ID.

This may sound like gibberish to you now, but you have to teach yourself how to use them.
Open the trigger editor and create a hashtable. Then start experimenting with it, do crazy stuff. Look at this tutorial to see how you can make things MUI with hashtables.
Download the Indexing template and try to use it to do some easy stuff.
See which system fits your style, go with that one.


You need to fully understand how and why the system you're going to use works.
If you don't, you'll never be able to actually understand what we're doing when you go and ask for something more complex.

Now go ahead, open the trigger editor. Start experimenting.
Let me just give you a challenge right away:
Challenge
Description:
You must create a single-target spell that deals 50 (+25 / level) damage every second and lasts for 10 ( +2 / level) seconds.
Requirements:
The spell must be completely MUI.
SUMI (where a single unit can cast it multiple times without overwriting) is not necessary, but acceptable.
Bonus:
Create this spell with both indexing as well as with hashtables.
This is the very basics of a MUI-spell. All info on how to do this is given in the 2 links in this post. Of course, it's doesn't exactly say it, but you should be able to derive it from those posts :).
When you're done, show the result.
If you've got a specific question, I (or anyone else) will answer that for you. "I don't know how to do it" is way too vague.

Good luck.
 
Last edited:
Level 5
Joined
Aug 21, 2012
Messages
107
Teaching you how to create a specific spell is pretty useless.
You should know how to create your own systems and spells without relying on others for help all the time.
To do that, you mustn't just learn how to create that spell you want, but you must learn the tools that can be used to create it.

Since you most likely use GUI, you've got pretty much 2 options to create a trigger that does something over time: hashtables and indexing.
Hashtables are variables with a double array that can store pretty much any type you like while indexing uses multiple variables with a single array where every instance of the spell has a unique ID.

This may sound like gibberish to you now, but you have to teach yourself how to use them.
Open the trigger editor and create a hashtable. Then start experimenting with it, do crazy stuff. Look at this tutorial to see how you can make things MUI with hashtables.
Download the Indexing template and try to use it to do some easy stuff.
See which system fits your style, go with that one.


You need to fully understand how and why the system you're going to use works.
If you don't, you'll never be able to actually understand what we're doing when you go and ask for something more complex.

Now go ahead, open the trigger editor. Start experimenting.
Let me just give you a challenge right away:
Callenge
Description:
You must create a single-target spell that deals 50 (+25 / level) damage every second and lasts for 10 ( +2 / level) seconds.
Requirements:
The spell must be completely MUI.
SUMI (where a single unit can cast it multiple times without overwriting) is not necessary, but acceptable.
Bonus:
Create this spell with both indexing as well as with hashtables.
This is the very basics of a MUI-spell. All info on how to do this is given in the 2 links in this post. Of course, it's doesn't exactly say it, but you should be able to derive it from those posts :).
When you're done, show the result.
If you've got a specific question, I (or anyone else) will answer that for you. "I don't know how to do it" is way too vague.

Good luck.

So you ask me to do a basic spell that will boost my knowledge in triggers? Well I can create my own style of Omnislash and that is the only spell i know to create. Well even though thanks. With this you got my reputation. Hope you remember the challenge you gave me. :D Thanks though.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
So you ask me to do a basic spell that will boost my knowledge in triggers?
Though the spell may be basic, the idea behind it isn't.
Once you know how to successfully create that basic MUI-spell (with hashtables, indexing or both), you should be able to advance to more complex spells (step by step of course).
Well I can create my own style of Omnislash and that is the only spell i know to create.
That's exactly the problem! All spells have the same basics behind them, and if you only know how to create a single spell, that means you do not know your basics well enough.
With that challenge I've given you, you might be able to understand it. I'm looking forward to it :)
(gonna write this down somewhere so I don't forget >_>).

@apo
Can I say the challenge is a bit, rough for a new coder ? @@"
Hmh, is it? You might be right, it's been too long ago for me since I began indexing (and hashtables since patch 1.26 I guess).
I also don't know how advanced he is in coding. Obviously he's in a stage before MUI-spells, but maybe he's ready to tackle that right now.

Anyway, the links I've given should provide enough information for such an MUI-spell (I think).
I actually couldn't think of anything that is easier than that while still challenging to make it MUI (that means no instant-casts and no local var trick).
 
Status
Not open for further replies.
Top