HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Jazradel's Jump Map

03-17-2006, 06:03 AM#1
Jazradel
A jass script that allows you to jump a unit in a parabola. Allows you to set the time, height and distance traveled unlike similar maps which only allow you to do one or two of those things.

Version 1.2
Reworked implementation and added some safety features.
Version 1.1
Changed Cache System and fixed Vile's bug
Version 1
Initial Release

For those who use vJass (comes with JassNewGen), Malf has updated the script to take advantage of the new features. To implement, copy + paste into your custom script section. To use, call JumpUnit(unit, location target, real height, real duration).
Expand JASS:
Attached Images
File type: jpgWC3ScrnShot_031706_180540_02.jpg (92.2 KB)
Attached Files
File type: w3xJump Map.w3x (20.0 KB)
03-17-2006, 07:10 AM#2
BBDino
Yay redundancy! It's like being a Nazi bureaucrat!

Honestly though you don't really make the sell, i would be surprised if this gets approved since you are pretty general in how it's 'flexable' but 'inefficant' [sic]. Perhaps a more detailed feature list?
03-17-2006, 10:21 AM#3
Jazradel
Well, for a start the screen shot is a bit big.

The main thing it features is the ability to choose the location and height you jump to. Most maps with a parabola only feature one of the two. Most of the other stuff is standard.

By inefficant, I mean I over use the handle variables system, I start two timers when I should only use one and I use a couple of ineffeciant bj's.
03-18-2006, 06:09 PM#4
emjlr3
i was actually planning on chaninging that in mine, so you could chose between the height being relative to where you jump to or a set height, would not be to tough, but I ahve not gotten around to it yet
03-18-2006, 06:14 PM#5
Chuckle_Brother
Set heights tend to look lame, if I were you I wouldn't waste my time on it.
03-19-2006, 07:24 PM#6
Blade.dk
I can not approve this at all in it's current form. It needs to be in the form of a real spell == effects when a spell is cast. If it is a spell, then it must be in form of a spell, please.
03-20-2006, 05:04 AM#7
Jazradel
It's not actually a spell. I'll make it use a spell and optimize it a bit tonight.

Edit: Okay I've updated the map, and I'm switching it to the Table system now.
03-20-2006, 05:33 AM#8
emjlr3
Quote:
Originally Posted by Chuckle_Brother
Set heights tend to look lame, if I were you I wouldn't waste my time on it.

how do u suggest doing a jump spell then?
03-20-2006, 05:41 AM#9
Blade.dk
Well, if it is not a spell, then you don't have to make it as a spell.

But you need to make it easier to test, so you don't have to restart the map everytime, please.
03-20-2006, 06:05 AM#10
Jazradel
Okay done, also improved the coding a bit.
03-20-2006, 04:58 PM#11
Blade.dk
You are using functions from Vex's Caster System, I do not see any credits. Fix that.
03-21-2006, 06:21 AM#12
Jazradel
Opps, sorry people I ripped off. Updated.
03-21-2006, 06:30 AM#13
emjlr3
slight improvement, if you care, saves a few lines of code

Collapse JASS:
function Trig_Jump_Conditions takes nothing returns boolean
    return GetSpellAbilityId() == 'A000' 
endfunction

also, a GUI trigger that would copy the needed globals over may be better too
03-21-2006, 01:57 PM#14
Blade.dk
emjlr3, maybe it is just me, but I do not see it at all in the code.

Anyways, I am approving this, but you could maybe optimize it a bit more, by just using * bj_DEGTORAD once, when you save the value.

Since it is a function and a map that demonstrates how to use it, I think it will belong best in samples.
03-23-2006, 02:30 PM#15
emjlr3
er what?