• 🏆 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!

Making aircraft act more aircraft in Warcraft 3

Status
Not open for further replies.
Level 9
Joined
Mar 10, 2005
Messages
326
Hi,

I was just wondering if there's any way to make aircraft act more like aircraft in the world editor. For my map, it looks really weird to have the airplanes stand still in middle air while firing or standing still. I want the aircraft to be flying in circles when "standing still" and when it attacks, it moves and drops one bomb, flies a distance, circles back and drops another bomb.

Thanks!
A link to my map is on the bottom, and yes, the aircraft (other than the chopper) look really crappy when its standing still in mid air.
 
Level 9
Joined
Mar 10, 2005
Messages
326
Whoever made the aircraft models just needs to edit the stand animation so it has the aircraft flying in circles or something. The locust has a similar animation that could be used for that purpose, and then give the aircraft phoenix fire with edited missile art so that it can fire while in motion.

Units with locusts can't be selected right?

I saw f22s act like real aircraft in this illidan(x)'s modern warfare map without the stand animation circling. The unit itself was actually going in circles and could be selected.
 
Level 4
Joined
Dec 21, 2007
Messages
14
Simple Solution

What I did for all my ranged units reacting more realistic was to use this trigger function:

Ranged Unit Mobility
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) is A flying unit) Equal to True
Actions
Wait 0.20 seconds
Unit - Order (Attacking unit) to Move To ((Position of (Attacking unit)) offset by (Random real number between 0.00 and 200.00) towards (Random real number between 0.00 and 359.00) degrees)
Wait 1.00 seconds
Unit - Order (Attacking unit) to Attack-Move To ((Position of (Attacked unit)) offset by (Random real number between 0.00 and 200.00) towards (Random real number between 0.00 and 359.00) degrees)

Of course you can numbers to your leisure...

As a solution for aircraft stationary-movement. Only thing I can think of right now is to set up a variable with 12 array and all ~8,000 values and make use of the custom unit value on the units to control them independently. Then set a trigger to command the aircraft to attack move in its relative location, you can set a minimum distance as well as maximum. Make use of the unit's facing rotation if you want a even more realistic effect.

If you want a better example... download and load up Civilization:RT and you can see all the "leak-less" triggers it uses.
 
Status
Not open for further replies.
Top