HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Linkmaster's Spell Development Thread -Teaches you how to make cool spells-

02-25-2004, 12:01 AM#1
linkmaster23
First, we need to see how many people would like to see what. So vote on the poll, which spell critera you would like to see most. Once I get 3 of one critera I will write up the items.
02-25-2004, 01:50 AM#2
linkmaster23
-----------------------

[glow=color=red, strength 4]Linkmaster's Point Variables[/glow]

What it does

This technique uses point variables. It allows you to choose where your points are to create a SFX(Special Effect). For example, in the map attached, you run around and plant your markers. As you place your markers it switches abilities, so that a new point variable may be saved. Once all four are tallied, it brings up the final ability, the one that sets off the traps. Now...

How to do it

First, create your first trigger. Make it detect when your activation of the move is done. When it is, run the trigger. Then you want it to remove the activation ability, set the Point Variable Array you pre-made, wait .1 second, and add your first point ability. Then repeat for each ability. This is what the first four triggers should look like. The array numbers and spells may vary.

Code:
Fire1
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Fire1 [1]
    Actions
        Set Points[1] = (Target point of ability being cast)
        Special Effect - Create a special effect at Points[1] using Doodads\Cinematic\TownBurningFireEmitter\TownBurningFireEmitter.mdl
        Set SFX[1] = (Last created special effect)
        Unit - Remove Fire1 [1] from Rifleman 0000 <gen>
        Wait 0.10 seconds
        Unit - Add Fire1 [2] to Rifleman 0000 <gen>
        Game - Display to (All players) the text: Select your second ...

Now, for simplenesses sake, I just pre-selected the unit, normally you would set the casting unit to a variable, but I did not do that. I also created a SFX with a Fire Model so I could tell where the points were, because the SFX is permanent, you need to set it to a variable.

**TIP** Just because the SFX does not stay there, does not mean you should not destroy it anyways. This is a big factor in memory leak in maps.

Now for the final casting of the move, I just made a Dummy Unit, and made it cast the move to get the effect I wanted at the points. You could do virtually anything with the points, so I won't bother putting down my trigger.

That's it! It's simple, but very cool. I hope some of you learned from this little segment. Please post comments. Thank you!
02-25-2004, 01:53 AM#3
Shimrra
This is a very nice looking spell. It is interesting be able to choose several points and then detonate... It's kind of like setting a beacon for an aerial bombardment...
02-25-2004, 02:06 AM#4
pappi.chullo
Pretty good ability, actually, its great! The only thing it needs are hot keys :D

I would give it a 8/10 :ggani: :ggani:
02-25-2004, 02:08 AM#5
linkmaster23
It does have hot keys... I just didn't mark them. The Point hotkeys are "w" and the activations are 'F'.. I think it's F... Could you rate my posts? Sadly, I am asking you to do something when I have no idea what it does.
02-25-2004, 02:10 AM#6
pappi.chullo
I need an ability similar to "Inferno" from Diablo 2. If you don't know what it does, it keeps shooting out fire continiously, while draining the casters mana every second. It would be cool if you made this ability for me, of course, I would give the creator credits :gsmile:
02-25-2004, 02:12 AM#7
linkmaster23
Uhm... HAHA. Sigh, maybe later. I am doing a lot, I have Science Fair, History Essay, and Spainish Project. So I am quite short on the time. Tonight will be my first free night in some time.
02-25-2004, 02:13 AM#8
pappi.chullo
oh ok, because I have school to, but all the hard work I had to do was done in January, and it wasn't all that hard, since I'm only in middle school 8))
02-25-2004, 02:17 AM#9
linkmaster23
Well, genuis over here (me) thought High School was easier, until semester 2 came rolling around, much harder... muy dificil...
02-25-2004, 02:20 AM#10
pappi.chullo
Quote:
Originally posted by linkmaster23
Well, genuis over here (me) thought High School was easier, until semester 2 came rolling around, much harder... mucho dificil...


why does it say facil? I know that means easy, but when I hit quote, it showd mucho dificil...

Or maybe its my computer :(

[edit] oops, I think you just edited your post before I noticed. Sorry for the post emote_confused
02-25-2004, 03:46 AM#11
EdwardSwolenToe
personally, i would like to see how you could make it give exp/gold for the player.
02-25-2004, 06:28 AM#12
Drayven
Easy, make an invisible dummy unit on the player's side that strikes the killing blow. I haven't checked the map, but if the damage is trigger based just make a basic firebolt that does the approriate damage (or whichever spell is necessary to do the damage) and have the invisible dummy unit cast the firebolt before being removed. Or have it do a melee attack. Whichever you prefer, but that deals with most of the credit problems.
02-25-2004, 06:56 PM#13
linkmaster23
I used Breath of Fire to make it do the damage...
02-25-2004, 07:17 PM#14
MysticGeneral
The spell is buggy and could use some work. Here's a demonstration of a bug out of 3 I found. Check out my skills - I got activate and set the spells O.o

There is actually like 7 fires right there that is shown. (How did I get 7...?! Who knows, lol)
02-25-2004, 07:20 PM#15
linkmaster23
That is only three, look at the smoke. You must have edited it to get that then. I glitch tested that thing so many times...