• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] bad looking jump

Status
Not open for further replies.
Level 9
Joined
Aug 21, 2008
Messages
533
I made a little basic jump for my new map but it just looks :thumbs_down:

  • Jump
    • Ereignisse
      • Einheit - A unit Beginnt, eine Fähigkeit zu wirken
    • Bedingungen
      • (Ability being cast) Gleich Moon jump [M]
    • Aktionen
      • Einheit - Pause ein (Triggering unit)
      • Einheit - Turn collision for (Triggering unit) Aus
      • Einheit - Add Sturmkrähengestalt to (Triggering unit)
      • For each (Integer debuginteger) from 1 to 100, do (Actions)
        • Schleifen - Aktionen
          • Set point[1] = (Position of (Triggering unit))
          • Set point[2] = (point[1] offset by 6.00 towards (Facing of (Triggering unit)) degrees)
          • Einheit - Move (Triggering unit) instantly to point[2]
          • Einheit - Move (Triggering unit) instantly to point[2]
          • Animation - Change (Triggering unit) flying height to ((Current flying height of (Triggering unit)) + 2.00) at 500.00
          • Wait 0.01 seconds
          • Spiel - Display to (All players) the text: (String(debuginteger))
      • For each (Integer debuginteger) from 1 to 100, do (Actions)
        • Schleifen - Aktionen
          • Set point[1] = (Position of (Triggering unit))
          • Set point[2] = (point[1] offset by 6.00 towards (Facing of (Triggering unit)) degrees)
          • Einheit - Move (Triggering unit) instantly to point[2]
          • Animation - Change (Triggering unit) flying height to ((Current flying height of (Triggering unit)) - 2.00) at 500.00
          • Wait 0.01 seconds
          • Spiel - Display to (All players) the text: (String(debuginteger))
      • Einheit - Remove Sturmkrähengestalt from (Triggering unit)
      • Einheit - Turn collision for (Triggering unit) Ein
      • Einheit - Pause aus (Triggering unit)
instead of evry 0.01 second the unit flys towrds evry 0.2 or something.
Does someone know how i could solve this?
 
Level 9
Joined
Aug 21, 2008
Messages
533
k repalced that trigger with this:

  • Jump
    • Ereignisse
      • Einheit - A unit Beginnt, eine Fähigkeit zu wirken
    • Bedingungen
      • (Ability being cast) Gleich Moon jump [M]
    • Aktionen
      • Einheit - Pause ein (Triggering unit)
      • Einheit - Turn collision for (Triggering unit) Aus
      • Einheit - Add Sturmkrähengestalt to (Triggering unit)
      • For each (Integer debuginteger) from 1 to 25, do (Actions)
        • Schleifen - Aktionen
          • Set point[1] = (Position of (Triggering unit))
          • Set point[2] = (point[1] offset by 24.00 towards (Facing of (Triggering unit)) degrees)
          • Einheit - Move (Triggering unit) instantly to point[2]
          • Animation - Change (Triggering unit) flying height to ((Current flying height of (Triggering unit)) + 8.00) at 500.00
          • Wait 0.03 seconds
          • Spiel - Display to (All players) the text: (String(debuginteger))
      • For each (Integer debuginteger) from 1 to 25, do (Actions)
        • Schleifen - Aktionen
          • Set point[1] = (Position of (Triggering unit))
          • Set point[2] = (point[1] offset by 24.00 towards (Facing of (Triggering unit)) degrees)
          • Einheit - Move (Triggering unit) instantly to point[2]
          • Animation - Change (Triggering unit) flying height to ((Current flying height of (Triggering unit)) - 8.00) at 500.00
          • Wait 0.03 seconds
          • Spiel - Display to (All players) the text: (String(debuginteger))
          • Custom script: call RemoveLocation(udg_point[1])
          • Custom script: call RemoveLocation(udg_point[2])
      • Einheit - Remove Sturmkrähengestalt from (Triggering unit)
      • Einheit - Turn collision for (Triggering unit) Ein
      • Einheit - Pause aus (Triggering unit)
But still it isnt looking like a single jump cause its really easy to see that the unit is moving step by step

maybethis si the problem:

  • Einheit - Move (Triggering unit) instantly to point[2]
There could be a moving which isnt instantly but i never found one:confused:
But there have to be one cause otherwise there dont have to be the instatnly
 
Level 9
Joined
Aug 21, 2008
Messages
533
if i just lower the offset it will be a VERY slow jump-its already to slow and still looking back-but i have the solution i think w8 shortly if you want to see it

edit: finshed it:grin:
here is if someone wanna use it or tell me that there is a mistake:

  • jump activade
    • Ereignisse
      • Einheit - A unit Beginnt, eine Fähigkeit zu wirken
    • Bedingungen
      • (Ability being cast) Gleich Moon jump [M]
    • Aktionen
      • Einheit - Pause ein (Triggering unit)
      • Animation - Play (Triggering unit)'s walk animation
      • Einheit - Turn collision for (Triggering unit) Aus
      • Einheit - Add Sturmkrähengestalt to (Triggering unit)
      • Set real = 3.00
      • Set jumpingunit = (Triggering unit)
      • Auslöser - Turn on jump upwarts <gen>
      • Wait 0.50 game-time seconds
      • Set real = -3.00
      • Wait 0.50 game-time seconds
      • Auslöser - Turn off jump upwarts <gen>
      • Einheit - Remove Sturmkrähengestalt from (Triggering unit)
      • Einheit - Turn collision for (Triggering unit) Ein
      • Animation - Reset (Triggering unit)'s animation
      • Einheit - Pause aus (Triggering unit)
      • Animation - Change jumpingunit flying height to 0.00 at 500.00
  • jump upwarts
    • Ereignisse
      • Zeit - Every 0.01 seconds of game time
    • Bedingungen
    • Aktionen
      • Set point[1] = (Position of jumpingunit)
      • Set point[2] = (point[1] offset by 8.00 towards (Facing of jumpingunit) degrees)
      • Einheit - Move jumpingunit instantly to point[2]
      • Animation - Change jumpingunit flying height to ((Current flying height of jumpingunit) + real) at 500.00
      • Custom script: call RemoveLocation(udg_point[1])
      • Custom script: call RemoveLocation(udg_point[2])
Note: this is not MUI cause i didn't need it MUI

BTW:
someone know how to change the language of the editor? curently my is a mix of german and english which is very confusing sometimes espacialy when there is a lits with german names which are sorted with there english names. That only:ugly:
 
Last edited:
Status
Not open for further replies.
Top