• 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.

Telekinesis 2.2 [Paladon]


This map includes both a vJass and a GUI version of the spell.

Telekinesis
The hero uses his telekinetic powers to lift enemied units in the targeted area into the air. After reaching a considerable height, the hero smashes them back down to the earth.
Level 1 - 100-200 reachable height, 8% of the reached height is dealt in damage + 20 direct impact damage.
Level 2 - 200-400 reachable height, 10% of the reached height is dealt in damage + 40 direct impact damage.
Level 3 - 300-600 reachable height, 12% of the reached height is dealt in damage + 60 direct impact damage.

*Release
*Fixed a forgotten nulling.
*Inlined two additional functions.
*Improved one efficiency issue.
*Swaped a nulling with a removal.
*Works with the newest patch now


Enjoy.

Keywords:
Force, Arcane, Gravity, Magic, Holy, Spell, Area, Distance,
Contents

Telekinesis (Map)

Reviews
21:11, 2nd Apr 2009 Eccho: This spell is really great. No flaws as far as I can see, easy and understable code and a good tooltip and good documentations. I can not do anything less than to highly recommend this spell if this is what you are...

Moderator

M

Moderator

21:11, 2nd Apr 2009
Eccho:

This spell is really great. No flaws as far as I can see, easy and understable code and a good tooltip and good documentations.

I can not do anything less than to highly recommend this spell if this is what you are looking for. The GUI one is really as efficient a Gui spell can be.

Possible improvements: Optimising the Jass code (to be more efficient)
 
Level 25
Joined
Jun 5, 2008
Messages
2,573
Great spell, good luck on making more vJass spells...
I thought the first version to be great and i think this one is too...
5/5 from me...

[offtopic]
Nice you made it for the contestants^^

@aaron79
-Add storm crow ability to the desired unit
-Remove storm crow ability from the desired unit
-Animation Change unit fly height aply to the desired unit
 
Level 23
Joined
Nov 29, 2006
Messages
2,482
I don't see anything to complain at at all here. Good job converting it. Easily read code and so on. It can be alittle more effecient, but very minor so (like I said) no complaints:p

I saw a minor flaw:p
you forgot to null the loc storing GetSpellTargetLoc. Other than that. Awesome!
 
Level 3
Joined
Jan 10, 2009
Messages
52
this woud be good in a pokémon map like mewtwo and mew spell =D 5/5 REALY COOL SPELL!!
 
Level 6
Joined
Feb 26, 2008
Messages
171
Nuuuuuuuuu!!! Paladon is vJassing!!! *confued*
Hey, I like it but I dont understand anything except the ''GUI part''... 4/5 cause I don't understand but because it's a ''report'', I'll judge it with my ''best efforts'' and my ''great knowledge''. one word: 5/5
 
Level 14
Joined
Nov 23, 2008
Messages
187
Ok, this spell looks impressive, indeed. I checked the code and found some bugs (or pieces, that would be better to improve):

1.
JASS:
        set loc    = null
        set caster = null
        call RemoveLocation(loc)

Removing null? Oh noes! ^_^ Should be:

JASS:
        call RemoveLocation(loc)
        set loc    = null
        set caster = null

2.
JASS:
        if Spell.counter == 0 then
            call PauseTimer(Spell.time)
        endif

This part of code runs on EVERY timer period. But we affect Spell.counter variable only in else-endif block.
So why not to move this condition here:

JASS:
    // . . .
        call d.destroy()
        set Spell.counter = Spell.counter - 1
        set Spell.indx[i] = d.indx[Spell.counter]
        set i = i - 1
        // >> here <<
    endif

3. I would recommend to use 0.025 period instead of 0.01. This is not so important, but... Well, it's a matter of taste.
 
Level 6
Joined
Mar 2, 2009
Messages
236
The vJass version doesnt work, as with the game trigger. I downloaded and tested recently. apart from that, the GUI version is perfect.
 
Level 6
Joined
Mar 2, 2009
Messages
236
I simply tested the map ingame. The World Editor automatically disabled the trigger.
Maybe its because i dont have JassNewGen? If so my greatest apologies coz i'm a noob at Jass (I've NEVER used it in my entire life). I don't know, but i'm open to criticism.
 
Level 6
Joined
Mar 2, 2009
Messages
236
I think that's what i did, but i'll try it again. Thanks

EDIT(a few hours later): Yep I tested. The vJass trigger still gets disabled ingame. The World Editor registered 139 compile errors.

Line 131: Expected end of line.
Line 134: Expected a reserved type or handle type
Line 170: Expected a name
Line 171: Expected 'endloop'
Line 195: Expected a variable name
Line 220: Expected a function name

And so on. The above are just individual examples of the errors the World Editor listed. I've also tried re-downloading your map to test, but still doesn't work.
(Note: I dont know how to copy the text from the WE so i had to slowly type it down. Please excuse this)
Another thing i noticed. If you give this ability to a unit with enabled attack without making this a channeling spell, the flying units can still be attacked as though they were on the ground.
Otherwise a great spell. I am amazed at the amount of things you can do simply using GUI.

EDIT: Okay, i've figured out the problem. It'll work if i directly put the map in my maps folder and start the game directly without even opening the map in world editor, however this makes it impossible for importing. The problem lies with my World Editor cause it'll automatically disable custom scripting in the trigger.
 
Last edited:
Level 1
Joined
Jun 29, 2008
Messages
7
When I press the test map button, it just opens WC3, and goes to the normal menu (with single player, battle.net, etc.), and when I try to go to single player, custom game, and select it, the menu goes up, and comes back down, I fixed that by using newgenjasspack to open it, but now it randomly freezes, mostly when I put the mouse over a certain spot, which is about where the "learn telekinesis" button is, very annoying, but when it works, it works really well.
 
Level 2
Joined
Jul 23, 2009
Messages
12
I really can't understand if I can use these spells... :con:
I want to use your spell, Paladon, but when I open a new map for example, obviously, even if I import everything... nothing.
I want to know if I can use them in other maps. Or.. can you give me models or something similar?
what program do you use to create spells? I'd like to learn! :D
thank you
bye
 
Level 3
Joined
Apr 24, 2010
Messages
50
This would be more extremley better if it it a 'real telekenesis', like on movies or tvs,
they can control the object freely..

but still good 4/5
 
Top