|
|
#1 |
|
Missing You All at Wc3c
Site Owner
|
NOTE: You have been redirected in order for our attachments to be made available to you. This will only last two minutes; these measures where taken to avoid hotlinking and bandwidth theft. To avoid these restrictions Log in or Register Description: The Desert Lord returns to his true form, the sand itself. He then manipulates the sand and minerals to his advantage, damaging and stunning all units in his path. For the finale a giant stone hand forms, then crushes all units in the nearby area. Any time the Desert Lord hits a unit, the unit is knocked into the air, damaged and then stunned. Both damage amounts and stun duration increase with level. Screenshots: Download: Spell Contest 4 - Tim 3.2.w3x (50.7 kb) Notes: This was my entry for Spell Session 4, and it came in third place. The spell is meant to go with a model such as this one, in order to match the sandy theme of the spell. The Reveneant model used here is only an example. Also, the spell meets the JESP Standard, is much easier to configure than my former spell, and is completely customizable. Even includes a Variable Stun system! (Thanks to blu_da_noob for the original system.) |
|
|
|
| Sponsored Links - Login to hide this ad! |
|
|
|
|
#2 |
|
.
Respected User
|
A very nice spell, approved.
__________________There are, however, some things that can be improved in your future spells: You could make your configuration functions constant, that should make them run a bit faster. Using the same function for all returns of the same type seems silly. The if statements slows it down, and if they were not there, the functions would be replaced with the actual values in an optimized map. JASS:function TremorTim_Cache takes nothing returns gamecache return TremorTim_Gamecache() endfunction This seems really pointless, a configuration function directly returning the return value of another configuration function in the same spell? Using TriggerSleepActions with animations is really bad idea. You do not need to use a timer and another function there, but polling a timer (look at the function PolledWait's code) would give you a more beautiful result. I don't really like that you use the same timer expiration function with a ton of if statements. Each if statement and declared variable that you do not use, is making the spell slower (even though it is not much). I suggest you to seperate it, you can always just restart the timer and make it run another function, without having to reattach things. Example: JASS:function ThirdTimerFunction takes nothing returns nothing local timer t = GetExpiredTimer() //actions actions actions actions if <condition if this part of the spell is over> then call DestroyTimer(t) endif set t = null endfunction function SecondTimerFunction takes nothing returns nothing local timer t = GetExpiredTimer() //actions actions actions actions if <condition if this part of the spell is over> then call TimerStart(t, 0.04, true, function ThirdTimerFunction) endif set t = null endfunction function FirstTimerFunction takes nothing returns nothing local timer t = GetExpiredTimer() //actions actions actions actions if <condition if this part of the spell is over> then call TimerStart(t, 0.04, true, function SecondTimerFunction) endif set t = null endfunction |
|
|
|
|
|
#3 | |||||
|
Missing You All at Wc3c
Site Owner
|
Quote:
Ouch, can't believe I forgot to add that in the end. Will fix. Quote:
Oh alright, I figured it was better like that :P I won't do it in the future. Quote:
That's left over from a test I was running, forgot to remove it I guess. I'll fix that. Quote:
Will do in the future, thanks. Quote:
Like before, I assumed it was the best way. Won't do so again. |
|||||
|
|
|
|
|
#4 |
|
.
Respected User
|
Well, depending on what is important for you, your method can be better than mine.
__________________If you want to save a few bytes in the spell's size, then your method is best, but if you want it to be more efficient, then dropping the extra if statements and using seperate functions is best. |
|
|
|
|
|
#5 |
|
*****istrator
Art Director
|
GIANT HAND, LOL
__________________pwns. |
|
|
|
|
|
#6 |
|
Free Software Terrorist
Technical Director
|
you know, it is not a JESP spell if the JESP manifest is not included in the map. The spell itself is awesome, or is it the model what is awesome, I don't know
__________________ |
|
|
|
|
|
#7 |
|
Doesn't come here often
|
How'd you make the unit's animation go backwards?
And don't yell at me about bumping. This is a resource. It's okay. |
|
|
|
|
|
#8 |
|
SPOON!
Respected User
Join Date: Sep 1983
Posts: 4,899
![]() ![]() ![]() ![]()
|
It's an open source map, how about you open it and look for yourself?
__________________ |
|
|
|
|
|
#9 |
|
Free Software Terrorist
Technical Director
|
Open source != readable source
__________________ |
|
|
|
|
|
#10 |
|
SPOON!
Respected User
Join Date: Sep 1983
Posts: 4,899
![]() ![]() ![]() ![]()
|
Vexorian == pedantic
__________________ |
|
|
|
|
|
#11 | |
|
Obscurity, the Art
|
Quote:
You need to capture the animation in the last frames though, otherwise it won't work. (That means don't let the animation finish) |
|
|
|
|
|
|
#12 | |
|
MaD Da ViNci
Respected User
Join Date: Apr 2003
Posts: 1,699
![]() ![]() ![]()
|
Quote:
1. Play animation "death" 2. Set animation speed = 0 3. Abdakadabra....whatever 4. Set animation speed = -1 Enjoy the show |
|
|
|
|
|
|
#13 |
|
Doesn't come here often
|
Okay, thanks.
|
|
|
|
|
|
#14 |
|
User
Join Date: Apr 2008
Posts: 189
|
Rely amazing, one of best spells I ever sow 5/5
|
|
|
|
|
|
#15 |
|
User
Join Date: Jul 2008
Posts: 34
|
An amazing spell for sure. However, I can't find the Map Script that I'm suppose to copy the Return Bug functions from. Could someone tell me where the Map Script is? All I've gotten so far is that I can export it.
Also when I save, 50 compiled errors arise dealing with udg and cannot convert null to integer. Last edited by Titanhex : 07-29-2008 at 11:24 AM. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
|
Donate |