• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Jump ability

Status
Not open for further replies.
Level 15
Joined
Aug 6, 2014
Messages
1,126
I have search for all jump systems in the section. However, I couldn't find a system that enable the unit to jump forward with just simply clicking a hotkey button. All of the ones that are in the spell section requires the player to select the area.

It is like you press -J- then the unit jumps forward with a limited distance and height.
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
Using my system, it would work like this

Unit starts the effect of an ability
Ability being cast == your ability

Set u = Triggering unit
Set real = Facing angle of u / 180 * Pi
Custom script: call Jump.start(udg_u, GetUnitX(udg_u) + 500*Cos(udg_real), GetUnitY(udg_u) + 500*Sin(udg_real), 150, 0.6, 80)

500 is the distance, 150 is the maximum height of the jump, 0.6 is the duration and 80 is gravity value. You can change those freely. You need JNGP editor to use the jump system.
 
Level 15
Joined
Aug 6, 2014
Messages
1,126
You can just edit them by yourself. I mean use one of those that you've found in spell section then move the caster to certain distance (caster's location by offset bla bla bla) instead of moving the caster to target point and change the custom ability to instant target one.

How do I edit the offset of the caster location? Mind, explaining?
 

Rheiko

Spell Reviewer
Level 25
Joined
Aug 27, 2013
Messages
4,172
In Paladon's or hell gate's jump system, i forgot which one. The basic is pretty much like this:
Point1 = Position of Caster
Point2 = Target point of ability
Point3 = Point1 by offset ... facing angles between point1 to point3

for my trick, you have to change the point2 to a fixed range. let's say you want your unit to jump for 500 range. change it to "Point2 = Point1 by offset 500 facing (facing angle of caster). so the caster will move to Point2. Change the custom ability to instant cast as well so the caster will move as soon as you click the hotkey button. Thing that isn't solved yet is I don't really know how to configure the height.

Maker's system is much easier and simple, to be honest. Just use his instead.
 
Status
Not open for further replies.
Top