firewill0 / FIR_AWS_SystemDevelopment

FIR_AWS Development
5 stars 0 forks source link

F/A 18 - AI not using tailhook #8

Closed ERazgriz closed 4 years ago

ERazgriz commented 4 years ago

Describe the bug AI is able to land on carriers, but it doesn't use tailhooks. I don't know if it isn't programmed to or it's a bug.

To Reproduce Spawn Freedom Carrier Spawn F/A 18 in the air with a pilot in about 3 kms distant from the carrier Put a "LAND" waypoint in the Carrier's Yellow square box in the editor (map view) The plane will pass the carrier, make a return and land. It only won't use the tailhook.

Expected behavior The AI uses the tailhook and catch the cable

Screenshots image

image

Desktop (please complete the following information):

Additional context The problem might be solved if the plane lowers the tailhook together with the landing gear like the Black Wasp from the vanilla game The problem also applies for the F-14, but a bit worse since the F-14 can't stop fast enough F/A 18 Don't clear runway also.

firewill0 commented 4 years ago

I guess my aircraft didn't have some event handler for AI using tailhook when landing on aircraft. however, that event handler is designed for F/A-181 Black Wasp II, so need some tune for can be applied to other aircraft, and probably take some time.

here is using some commands in Land waypoint is an alternative way, and can use it right now. need to input animate tailhook and function command in move waypoint. the important thing is these commands should be input in the waypoint just before the land waypoint. input in land waypoint is won't work. F-14 and all F/A-18(Legacy hornet to Growler) tested. 20200426214944_1 20200426214940_1 20200426214902_1

ERazgriz commented 4 years ago

I was testing it to use in a Warlords missions (doesn't accept scripts in vehicles), but thank you! That will me useful too. If I can help with that in any way, just say a word o7