Warcraft III resources & community, 2003–2006 · archived

Spider`s Web

not rated
Submitted by memsJASS Enhanced901 downloads58 KB
Screenshot
Screenshot
Contains 2 JESP spells

- Spider`s Web: Spider creates a big web around itself then tracks enemy units around its web by throwing a spider silk and pulling them into its web.

- Ghost Spider: A fast scout unit outomatically scouts the map and finds enemies
File Name
SpidersWeb.w3x
Author
mems
Download

Comments

15
nice 5/5 :D
Mems... I suggest you use this JASS Editor: http://www.wc3sear.ch/index.php?p=Tools&ID=76 . Copy-paste your code in it, and all non-native functions will be highlighted as italic texts.
wow thanks i have never thought that my last work will be in directors choice!

I really apriciate it wery much thanks. Oh god may be with this motivation i may start making spells again :)
that's one of the very few times where we are forced.
--
but they are preety annoying since we have to remove them manually,while reals dont leak/lag.
As nice as leaving locations sounds, it isn't more than an utopy, cause there are natives that force you to use locations for example GetSpellTargetLoc
the locations take some time to be removed,and why not use reals ? which are lets say 'removed automatically'
in the end a location is a set of 2 reals , an array of 2 reals,but it is much worse than the reals.indeed.
First of all i am not a good spell maker and i dont have any egos or effort to be a good spell maker may be this is my last work get released.

Oh im not sure if i checked the BJ functions well i thought they have BJ near teir names so i really did not know this functions were BJ:
- SetUnitTimeScalePercent
- GetUnitsInRangeOfLocAll

And i really did not checked what are this functions do in blizzard.j
- UnitAddAbilityBJ
- SetUnitFlyHeightBJ
- PolarProjectionBJ

and for PauseUnitBJ OMG i really am forgatten it there lol sorry

Normally i start from strach when im making a jass tingie in WE. But i dont know all the functions in Jass and mostly i convert the GUI into custom text and modify the codes then put them in my work.

I also take a look at BJ functions and open API browser to find their natives. But i was lazy about unchecking blizzard.j you were right at that comment.

And i have a big problem with mathematics. I really hated from mathematics and it has been 5 years till i finished my school and forget about most formulas. So this is another reason for my lazyness.

Wery much thanks for your comment i will try to fix the BJ's and the channel but im not promise about (x,y) i will use locations untill i find a way.

and i reall am can't understand how you guys know such tingies:
locations . . . i still dont belive ppl use those badass variable types. Blah
they are our worst enemy.leaks,even after their removal,coordinates ( reals x/y ) are soooo much better.


TY again

and Shadowy Crafter
i like playing with insects but i have not got an original idea for archandit model instead of its morph animation. As scorpions nature this creature has nothing than its poison. But i will search about them may be i may mix a spider ability with archandit models morph(burrow) animation.

Thanks all for your comments
Yeah! Cool spider web! 8)

How bout some scorpion spells, mems?
For me, Spider`s Web is a 5/5 :D
Well,spider web is too good but it pauses the hero and thats a preety big minus ( - )
a good spellmaker should know how to channel a spell,and you better make this a channel one and quit
the lame pause.

Coding [ 7/10 ]

SetUnitTimeScalePercent is soooo goddamn bad,it just miltiplies your parameter with 0.01 , or in another way divides it with 100
so if you say

call SetUnitTimeScalePercent( u , 200 )

would be the same as

call SetUnitTimeScale(whichUnit, 2 ) ... but this is so much better,that bj function lacks speed.


and PauseUnitBJ ???? whats the point of all this? such dumb actions make actually your spell suck.


....

locations . . . i still dont belive ppl use those badass variable types. Blah
they are our worst enemy.leaks,even after their removal,coordinates ( reals x/y ) are soooo much better.

UnitAddAbilityBJ again the same,get rid of these bj , it makes me mad when i see them. and those make your spell worse.

and again SetUnitFlyHeightBJ is another dumb bj... which actually does nothing.


************************************

DistanceBetweenPoints

************************************

be very careful with this func,since calls a native which is slow.

so you'd better add some more locals



    local real dx = GetLocationX(locB) - GetLocationX(locA)
    local real dy = GetLocationY(locB) - GetLocationY(locA)
    
    local distance = SquareRoot(dx * dx + dy * dy) 
    


will make things better.

again i see bj func. . .

***********************************

GetUnitsInRangeOfLocAll

***********************************

is a LAME! function.
why ? it calls GetUnitsInRangeOfLocMatching which calls the native GroupEnumUnitsInRangeOfLoc which means
3 useless function calls,where you could have called the native.not that since takes location type agrument.

but

***************************************

call GroupEnumUnitsInRange ( group whichGroup, real x, real y, real radius, boolexpr Filter ) 

***************************************

Filter can be null if you want to pick up everything.



*****************************************

PolarProjectionBJ

*****************************************


from the most badass functions

better use these locals , to skip the use of location

PolarProjection ******

    local real x = sourcex + dist * Cos(angle * bj_DEGTORAD)
    local real y = sourcey + dist * Sin(angle * bj_DEGTORAD)

that bj_DEGTORAD can be skipped in case angle is in radians,bj_DEGTORAD is needed for the conversion since Cos and Sin take radians




so since i wrote a 100 line post i am not gonna say more, but, things you need fixed

***********************************************

- No more badass bj
- Leave locations and use coordinates.

***********************************************
Nice, give ya a nice 5/5 :D
wow thanks :D
JESP is good.

And spider web is probably the most original thing I saw in a long time. Congrats mems
thanks but just looks cool? Couse i hate spells just looks cool only...
looks cool!