OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: kingneb on 23 Apr 2003, 06:12:07
-
How come the pilot does a sloppy job of landing. The pilot prepares to set the chopper down on the ground but jerks up a few feet in altitude, cuts his engines, and gravity takes over, therefore damaging the chopper a little. How do you get around this?
-
I never really noticed that before....I did notice just now in a small test that the helo cuts his engine just before it hits the ground.
maybe the helo jerks around when the ground underneath him isnt flat enough...dunno.
anyway I placed an invisible H on the spot and the helo landed somewhat better then without it..... I dont know if you are using the invisible H but if you are not then this is my suggestion.
-
You could also try;
unitname Land "Get In";
that makes him keep his engines on and just hover a foot or so above the ground. Don't know if that's appropriate for your needs, but it's another option.
-
in the Units menu, under Empty / Objects there are two things called H and H (invisible). These are copter landing pads, place one centered EXACTLY where your landing waypoint is. If you want it to be a proper marked landing pad, choose a H, otherwise choose H (invisible) wich marks the place as a landing spot for the AI, but doesn't show up at all in the game. this works for me.
Also if you want it to land in somewhat rough terrain, make the speed in the last waypoint options "limited" this way the copter will fly in at a lower speed, and that makes it easier for the not so bright AI to land. ;)
(just clarifying MadFred ;D )
-
In the last waypoint before landing you could also put
chopper1 flyInHeight 5
which might help too. Experiment to get the right height.
-
I had the same problem, but i tried to use an action command called "land", but this didnt work..
Instead I made an ADDACTION
referring to an *sqs, in which I had the command line
chopper land "land"
exit
Combined with at couple of Flyinheight lines you can create a nice landing...
If you have any knowledge on the use of the action command, please contact me...... I am lost...