Home   Help Search Login Register  

Author Topic: Seamless Movement..........?  (Read 556 times)

0 Members and 1 Guest are viewing this topic.

00_buckshot

  • Guest
Seamless Movement..........?
« on: 16 Jun 2004, 22:43:18 »
First off I would like to say hello to everyone.  I'm about as new as one can be to mission editing.  I'm trying to understand basic things such as waypoint movement and have run into a problem.  

When ever I set waypoints for say a helicopter it will move to each waypoint as told to but as it approaces each 'move' waypoint it begans slowing down and when it finally arrives at the waypoint it will then speed off to the next one but slow down before it reaches that one as well.  What I want is a seamless transition from one waypoint to the next if possible.  

Can anyone give me some pointers on this?  Do I need to create a script to do this?  Any help would be great.  Thank you.

Dubieman

  • Guest
Re:Seamless Movement..........?
« Reply #1 on: 17 Jun 2004, 01:04:31 »
Welcome!

I'll try and explain the reasoning behind this first. What would happen if you had a single very important waypoint? The chopper would fly past it or go past it at its current speed and stop some ways away. Sure it works in waypoint transition but what about your last waypoint?
Plus unlike ground units, choppers seem to operate in a "frictionless enviroment" (I know that air causes friction ::)) So it can't just fluidly go there without slowing some. In infantry the CO usually gives orders when going from wp to wp, group goto 111 45. In choppers the pilot usually commanders the gunner in the smae way for no reason....

Anyways on how to fix this.... :P
i'm not completely sure, but if possible you could use just a straight line inbetween with as few wps as possible. That's as far as my mind takes me, unless some more enlightened come along with an answer. :P ;)

Good luck editing!

PS: One more thing, maybe you can experiment with diff wps, like try something other then move.... :-\
« Last Edit: 17 Jun 2004, 01:06:03 by GuiltyRoachKilla »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Seamless Movement..........?
« Reply #2 on: 17 Jun 2004, 01:11:58 »
First of all

Welcome!

Second of all, choppers are a complete fucking nightmare.    You haven't done anything wrong, this is just one of the "features" of choppers.    If it doesn't matter a lot, then don't worry about it - its just what they do.    If it really does matter, then there is a standard fix.   A little bit of scripting is required but its easy.

Here's how you do it.   Don't use waypoints.   Instead, place markers (make them invisible) or gamelogics at the places where you would put move waypoints.    Name each one.  Now place a trigger over each one, with a fairly large area - say 300m, but experiment.      Group each trigger to the chopper:  you will now get new options in the On activation box.   Select one of the "present" ones, whichever is most appropriate.    

Lets say you have two gamelogics, named GL1 and GL2.   Somewhere, you need to write

chopper1 doMove getPos GL1

In the trigger over GL1 write this

On Activation:  chopper1 doMove getPos GL2

Thus the chopper can be slung from one location to another:   when it gets close to a GL and fires the trigger covering it, it gets sent to the next location.  And so on.

I hope that makes some sense.   Ask if it does not.   (Try and be specific about the bits that don't make sense.)  I hope you have found lots of useful tutes, make sure you read everything by snYpir and Johan Gustafsson.

One of the secrets to OFP mission editing is to bend:  if something doesn't quite work the way you want, don't try to force it - give up on that exact idea and try and find a way round it, something else that's just as good.   There is rarely a way straight through, but there is almost always a way round.

Happy editing!

PS - always use as few waypoints as possible to get from A to B.
« Last Edit: 17 Jun 2004, 01:13:12 by macguba »
Plenty of reviewed ArmA missions for you to play