Home   Help Search Login Register  

Author Topic: Waypoint won't work?!?  (Read 967 times)

0 Members and 1 Guest are viewing this topic.

Kip

  • Guest
Waypoint won't work?!?
« on: 01 Nov 2002, 21:22:15 »
Hi,

Since yesterday i started again with making a map for OPF i have worked with the editor before but i have forgot everything i learned :D.

Now i want to make a AI Chopper to wait for the team untill taking off(i'm trying a way to use a fuel trick but can't figur out the right commands). Then i want them to go to some waypoints and there the problem kicks in. The chopper just won't go to a waypoint, it starts it goes in hover mode but it doesn't move to a waypoint. And when i try it with a landunit it works fine. What am i doing wrong here?

-Is there a command for going to a waypoint?

-How can i use a trigger so i can use a fuel trick for not letting the chopper take off?

THX in advance

Crook

  • Guest
Re:Waypoint won't work?!?
« Reply #1 on: 01 Nov 2002, 21:39:58 »
i think OFPEC made a tutorial on how to make a chopper wait for everyone to get in.

CareyBear

  • Guest
Re:Waypoint won't work?!?
« Reply #2 on: 01 Nov 2002, 21:56:06 »
There are several tutorials in the Ed Depot on how to use helicopters in a variety of different ways, but please note: They are the single most annoying unit to try to control precisely in the game.

But, to make a heli wait for a group, there are several ways.

Using WPs: Make a 'Transport Load' WP for the heli. Locate it on a 'H' object. Put: heliname land "LAND" [/b] in the OnActivation field of the Load waypoint.
Make a 'Get In' waypoint for the squad. Place it on the 'H' object. Put: "_x assignAsCargo heliname" forEach (units groupname)[/b] in the OnActivation field of the Get In waypoint.
Synchronise the two waypoints. That should work as a simple solution.
The heli *should* fly in, land on the H, wait until all 'assigned' cargo units are onboard, then take off again. Don't forget to replace heliname with the name of your helicopter and groupname with the name of the group to board the heli.

The 'fuel trick' you're referring to is:

heliname setFuel 0[/b] to remove all fuel
heliname setFuel 1[/b] to fill 'er up again

Naturally, a heli with no fuel will not take off. There are much better ways to accomplish this though.

If you want more information on this, I suggest you go to the Ed Depot, click one of the 'browse' selections in the left bar, then use the 'search options' feature. You can search everything we have for the specific things you need.

I have no idea why your heli won't move. Perhaps you didn't fill it up with fuel again?

Cheers,

CareyBear

Kip

  • Guest
Re:Waypoint won't work?!?
« Reply #3 on: 01 Nov 2002, 23:00:17 »
All those tutorials are made for a mission where there is a AI in command but this time there is no AI in command.

And even when i do it the way in the tutorial those damn choppers won't move to there waypoints. At least most of the time i have accomplised it onces where he moved to a helipad landed then he shuts down is engine(k made a trigger to put is engine back on). But then it's the same old song it just won't move further. I tried the heliname LockWP false or true command but doesn't work al the time.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Waypoint won't work?!?
« Reply #4 on: 01 Nov 2002, 23:10:27 »
Birds are sensitive creatures, m8  :)

 If ya wanna get INSIDE of her  :o you prolly need to tell ALL yer d00ds
to get in there, then patiently wait untill they're all loaded, and THEN you can enter her belly yerself.

Put a bird on the ground, slide a LOAD wp upon her!

then a simple GET IN wp for you, synchronized (F5) with the LOAD wp for her
 will do the trick. But if ya wanna make her WAIT ( perhaps with the engines on),
and not fly, just be sure to put

 this flyinheight 0.5

in the LOAD wp and in her INIT field as well.

Then just remember to CHANGE the height to 50 or whatever in her first
real waypoint  ;) should work allright, I believe.



Azraell

  • Guest
Re:Waypoint won't work?!?
« Reply #5 on: 02 Nov 2002, 11:58:09 »
try this, think this is what you want...i put in air based example and ground based...unzip the folder to ur users missions, then open in editor...this has you as an underling...if u play as a leader ull have to do the order in and out, and as tomb stated, ull want to order them in 1st, then get in.

Kip

  • Guest
Re:Waypoint won't work?!?
« Reply #6 on: 02 Nov 2002, 12:31:20 »
thx m8, i have tried to make your map so i would know how you done it. After a couple of stupid mistakes i done it. Thx man.

Azraell

  • Guest
Re:Waypoint won't work?!?
« Reply #7 on: 02 Nov 2002, 13:33:24 »
np, the camcreate explosions and ending were just for laughs

Kip

  • Guest
Re:Waypoint won't work?!?
« Reply #8 on: 02 Nov 2002, 16:03:19 »
yeah when i started the game i was like what the f*ck i'm under fire "2 the chopper"