• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Jump Tutorial

Level 2
Joined
May 29, 2007
Messages
1
Jump Tutorial

This is a tutorial on how to create a Jump ability (gui)

Step 1:
First of all create an ability based on "Channel", call it Jump.
These are the options i changed:
attachment.php



Step 2:
Now go to the trigger editor. Create a trigger and name it "Jump Move". Now create a variable called jumper (unit)
Set it to initially off

  • Jump Move
    • Events
      • Time - Every 0.17 seconds of game time
    • Conditions
    • Actions
      • Unit - Move jumper instantly to ((Position of jumper) offset by 8.00 towards (Facing of jumper) degrees)

Step 3:
Create a new trigger called jump.
It should look like this:
  • Jump
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Jump
    • Actions
      • Set jumper = (Triggering unit)
      • Unit - Pause jumper
      • Unit - Add Crow Form to jumper
      • Unit - Turn collision for jumper Off
      • Unit - Remove Crow Form from jumper
      • Animation - Change jumper flying height to 400.00 at 1000.00
      • Trigger - Turn on Jump Move <gen>
      • Wait 1.00 seconds
      • Trigger - Run Jump Turn Off <gen> (ignoring conditions)
Step 4: As you can see here, there are a trigger called Jump Turn Off. So lets create it. And dont forget to set it to Initially Off.
It should look like this:
  • Jump Turn Off
    • Events
    • Conditions
    • Actions
      • Animation - Change jumper flying height to 0.00 at 1000.00
      • Unit - Turn collision for jumper On
      • Unit - Unpause jumper
      • Wait 0.50 seconds
      • Trigger - Turn off Jump Move <gen>

After you learned this it should be pretty easy to create more advanced jump systems.
 

Attachments

  • TUT1.jpg
    TUT1.jpg
    14.2 KB · Views: 776
Last edited:
Level 10
Joined
Nov 10, 2004
Messages
351
does not seem like much of a tutorial, more like a simple trigger showoff.
It doesn't explain how the trigger works, and leaks alot.

0.17 period? this will make a really bad looking jump, rather set it to 0.03.

Also you should mention that this is not MUI.
Needs alot of work, or instead post it as a spell in the spell section.
 
Top