OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: shawm3 on 17 Jan 2004, 19:40:15

Title: How to make a c-130 land at Tonal
Post by: shawm3 on 17 Jan 2004, 19:40:15
I can't get a c-130 to land at Tonal airport I have tried putting THIS LAND "LAND" OR THIS LAND "GETOUT" and unloadtransport but the plane just circles the airport.
What do I do to make him land?
Title: Re:How to make a c-130 land at Tonal
Post by: Planck on 17 Jan 2004, 20:28:07
I don't have the c130 installed, so I can't try it myself.

But I can tell you that the unit land "LAND" command is only for choppers.

Same goes for the "GET IN" and "GET OUT" variants.

Try giving it a Transport Unload Waypoint.


Planck
Title: Re:How to make a c-130 land at Tonal
Post by: macguba on 18 Jan 2004, 00:14:23
I have a feeling that originally the land command was only for choppers, but in some upgrade it was changed to cover planes as well.

Circling the airfield is sometimes because the plane just can't figure out the right angle of approach.  Try placing it well to the south of the airfield, just to get it working.

Using "this" in the init field may be a problem here.   Try naming the Hercules and putting the command in a trigger which has condition true.

All of this assumes that it is a working runway.   Do we know that it is?  I haven't tried it myself.

Alternatively, depending on exactly what kind of landing you want, you could just put a shilka at the end of the runway.   ;D
Title: Re:How to make a c-130 land at Tonal
Post by: MachoMan on 18 Jan 2004, 00:31:26
Landingscript ala macguba:  ;D

Code: [Select]
;=====================
; Landing.sqs :D
;=====================

_pos = getPos _this
"shell120" _camcreate  _pos
exit

 ;D  ;D
Title: Re:How to make a c-130 land at Tonal
Post by: dmakatra on 18 Jan 2004, 00:35:44
no, no, no, that's too noisy. Use:

Code: [Select]
_plane = _this select 0

Armsty setpos getpos _plane
Armsty addweapon Katana
Armsty dofire _planed
_planed globalchat "AAAAAAAAAAAAAAAAAAAAAAAAAH!"
Armsty globalchat "AAAAAAAAAAAAHAHAHAHAHA! TAKE THAT!!!"
Armsty switchmove "NiceMatrixMoveWhichWillTossOutThePilotAndPositionArmstyAsPilot"
Armsty land "OneHeckUvaNiceLandinOnlyDoableByArmsty"

Nice, quiet, stylish.

:beat: *Gets Shot* :beat: