[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > WarCraft III Tutorials > "Graveyard"


"Graveyard" Tutorials which were not approved are moved to this section.
Read The Graveyard for more information.

 
 
Thread Tools
Old 05-20-2005, 12:21 AM   #1 (permalink)
Registered User orcfan32
User
 
Join Date: Jul 2004
Posts: 340
orcfan32 has little to show at this moment (4)
Adding Fly Height to Any Unit

Quote:
DEPRECATED
» "How to Give a unit the ability to fly" by Magtheridon96 is the latest standard
THE FLYING TRICK

Difficulty
Easy - 3/10
Requirements
World Editor
Some knowledge of the Object and Trigger Editors

Procedure:
  1. Open the World Editor.
  2. Go to the object editor and create two spells: one based off of Metamorphosis and the other based off of Shockwave.
  3. Name the Metamorphosis spell "Fly Trick" and the Shockwave spell "Jump".
  4. Change the tooltips to whatever you want, then disable ALL DAMAGE PROPERTIES in the Shockwave spell, change everything that has to do with range AoE and other stuff to 0. In other words: the spell "Jump" is referred to as a dummy spell.
  5. Make the Alternate Unit Form for the Fly Trick spell a Gryphon Rider.
  6. Open the trigger editor.
  7. Delete the Map Initialization trigger and make a trigger named "Jump".
  8. Trigger Code:
    Jump
    Events
    Unit - A unit Starts the effect of an ability
    Conditions
    (Ability being cast) Equal to Jump
    Actions
    Unit - Add Fly Trick to (Casting unit)
    Unit - Remove Fly Trick from (Casting unit)
    Unit - Turn collision for (Casting unit) Off
    Unit - Order (Casting unit) to Move To (Target point of ability being cast)
    Animation - Change (Triggering unit) flying height to 500.00 at 500.00
    Wait 0.90 seconds
    Animation - Change (Triggering unit) flying height to 0.00 at 1500.00
    Wait 0.90 seconds
    Unit - Turn collision for (Casting unit) On
  9. Give the ability "Jump" to a unit.

NOTE: DO NOT GIVE "Fly Trick" TO ANY UNIT: METAMORPHOSIS CAN CAUSE ERRORS IN MAPS WHEN SET TO A DIFFERENT UNIT! YOU COULD GET A FATAL ERROR RESULTING IN LOSS OF DATA!


Conclusion:
  • Once you set the ability to the unit and remove it instantly, you can control it's flying height within that trigger.

Last edited by Rui; 11-10-2011 at 07:44 PM.
orcfan32 is offline  
Old 05-26-2005, 07:53 AM   #2 (permalink)
Registered User Virtual Cyberspace
User
 
Join Date: Mar 2005
Posts: 20
Virtual Cyberspace has little to show at this moment (1)
Awesome, this could be really useful.
Virtual Cyberspace is offline  
Old 05-28-2005, 01:08 AM   #3 (permalink)
Registered User eXciTe
User
 
Join Date: Aug 2004
Posts: 491
eXciTe has little to show at this moment (2)
I really dont understand ... but i will try to see with my own eyes what u mean ;)
__________________
eXciTe is offline  
Old 06-02-2005, 09:30 PM   #4 (permalink)
Registered User orcfan32
User
 
Join Date: Jul 2004
Posts: 340
orcfan32 has little to show at this moment (4)
Re: The Flying Trick

Sorry for this being a more up-to-date tutorial post right here, I hit reply instead of edit.... :roll:
__________________
Zero Forever!
orcfan32 is offline  
Old 06-03-2005, 01:40 AM   #5 (permalink)
Registered User Shamanruler
User
 
Join Date: Mar 2004
Posts: 258
Shamanruler is an unknown quantity at this point (0)
you could add crow form couldnt you?
__________________
Hai2u
Shamanruler is offline  
Old 07-25-2005, 07:41 PM   #6 (permalink)
Registered User Fubb_The_Man
User
 
Join Date: Aug 2004
Posts: 67
Fubb_The_Man has little to show at this moment (1)
thanks

thanks this will be very helpfull for me in my maps in the future! thanks!!
__________________

Current Project:Motherload
Project Done So Far:78%
Fubb_The_Man is offline  
Old 08-10-2005, 10:09 PM   #7 (permalink)
Registered User jakob
User
 
Join Date: Nov 2004
Posts: 9
jakob is an unknown quantity at this point (0)
i tested that trigger and thing.. the unit is walking to the point of the "ability thing" and then he jumps.. i thought he was gonig to fly to that point or something :D
jakob is offline  
Old 08-14-2005, 11:33 PM   #8 (permalink)
Registered User Vexorian
User
 
Join Date: Mar 2004
Posts: 818
Vexorian is on a distinguished road (85)Vexorian is on a distinguished road (85)
Bah, medivh's crow form is better for this, everybody knows that
Vexorian is offline  
Old 08-15-2005, 11:44 AM   #9 (permalink)
Registered User Sprite_Boi
User
 
Sprite_Boi's Avatar
 
Join Date: Mar 2004
Posts: 71
Sprite_Boi has little to show at this moment (1)
Re: The Flying Trick

[quote="orcfan32"]THE FLYING TRICK



1. Requirements:
World Edit
Some knowledge of the object editor and OBJECT editor/[quote]
Dude you wrote object editor twice :P Also, what's the point with that thing?
Sprite_Boi is offline  
Old 08-28-2005, 02:47 AM   #10 (permalink)
Registered User orcfan32
User
 
Join Date: Jul 2004
Posts: 340
orcfan32 has little to show at this moment (4)
Yeah, I meant trigger editor, thanks!
__________________
Zero Forever!
orcfan32 is offline  
Old 10-23-2005, 02:53 AM   #11 (permalink)
Registered User DurotarLord
User
 
Join Date: Oct 2005
Posts: 304
DurotarLord has little to show at this moment (13)DurotarLord has little to show at this moment (13)
yo its easier to just do the following actions:

Actions:
*Add Crow Form to triggering unit
*Remove Crow Form from triggering unit

Use those actions instead of the meta ones. If u do that (without any waits commands between those two) u can alter a units flying height easier than useing meta.
__________________
Dreams shatter, the truth is eternal - DurotarLord
DurotarLord is offline  
Old 11-10-2005, 02:11 AM   #12 (permalink)
Registered User Orcbane73
User
 
Join Date: Nov 2005
Posts: 27
Orcbane73 is an unknown quantity at this point (0)
Nice

I like it :P

Can be really usefull for me :)

Thanks for explaining it nicely! :)
Orcbane73 is offline  
Old 11-27-2005, 09:55 PM   #13 (permalink)
Registered User Why_Me
User
 
Join Date: Nov 2005
Posts: 8
Why_Me is an unknown quantity at this point (0)
What I want to know is, why not just change the flying height using triggers, why add all that other junk? You could just make the unit's flying height=1. The player wouldn't notice it, and you could have the same effect.
__________________
If you try to fail, and then succeed at it, which have you done?
Why_Me is offline  
Old 12-14-2005, 10:56 PM   #14 (permalink)
Registered User orcfan32
User
 
Join Date: Jul 2004
Posts: 340
orcfan32 has little to show at this moment (4)
You have a lot more control over the unit by triggers. If you did it like you said, then you couldn't add special effects and stuff at the right time. You can not change the flying height of a unit in-game without triggers, either.
__________________
Zero Forever!
orcfan32 is offline  
Old 12-25-2005, 05:02 PM   #15 (permalink)
Registered User Why_Me
User
 
Join Date: Nov 2005
Posts: 8
Why_Me is an unknown quantity at this point (0)
Exactly, I said to use a trigger to change the flying height.
__________________
If you try to fail, and then succeed at it, which have you done?
Why_Me is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Unit Fly Using Trigger neogaidenx World Editor Help Zone 1 03-01-2008 02:54 AM
Real condition - Unit fly height (current) ?BUG? Blade.dk Triggers & Scripts 3 03-31-2005 05:48 PM
Fly height not being applied? Furkentine Map Development 0 01-20-2005 05:03 AM
Multiple unit fly height trick? Modeler Map Development 2 10-26-2004 03:10 PM
Fly Height Trick Dr.Nitro Triggers & Scripts 3 10-10-2004 01:48 AM

All times are GMT. The time now is 09:10 AM.





Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle