| 06-05-2008, 07:55 AM | #1 |
can someone teach me how to make a wave spell, I know that there are templates for that somewhere in the forums but i decided that learning how to make them myself would be better in case that the templates suddenly becom obsolete or something like that |
| 06-05-2008, 01:16 PM | #2 |
Define wave spell. |
| 06-05-2008, 07:37 PM | #3 |
He probably meant something like Crushing Wave or Carrion Swarm. First step, make a dummy unit according to this or this tutorial, but instead of making a dummy caster, just make it as a missile (don't make it invisible, add wave model to it). Then just move it towards a point and damage all units around. When the wave reaches its destination, simply destroy it. That is a simple wave spell, there are more complicated ones, like cone waves (which are a little harder to do). |
| 06-06-2008, 01:09 AM | #4 |
I meant the one Silvenon mentioned, the cone wave spells and i already know how to make dummy units and i've read Daelin's Tutorial |
| 06-06-2008, 08:54 AM | #5 |
If you want a cone spell you are going to have to either just use a ready made one, or your going to have to use some interesting maths stuff. Its not hard, just think before you code ^^ You want it to select units who are within a certain angle range from the facing of the caster, start with that. |
| 06-07-2008, 01:00 AM | #6 |
well there's definitely one problem i forgot to mention, i know so little of jass my knowledge of it is probably next to nothing. although i have started reading the tutorials |
| 06-07-2008, 02:34 AM | #7 |
Try using GUI then, its not too hard. Just use unit groups to select your targets, and then hurt them |
| 06-08-2008, 01:56 AM | #8 |
okay i'll try that but i'm not that adept at using GUI either |
| 06-08-2008, 10:12 AM | #9 |
Then start with something simpler and you'll eventually learn how to code more complicated stuff. |
| 06-08-2008, 04:33 PM | #10 |
simple wave spell are just playing with math (sin, cos, tangen), progressive wave spell (such as carrion swarm) are much harder... if you are not even adept at gui... I suggest you start with something simple before doing those things... |
| 06-09-2008, 10:55 AM | #11 |
You could still make something "ugly" take the coldwave ability. Then after the unit cast the spell check every unit if it got the buff. If it got the buff just do what you want to do. Ofcourse the buff duration should be really short or u just remove it manually when the actions are done. |
