Muybonito523 Posted January 4, 2015 Posted January 4, 2015 I'm having a hard time figuring out how to have the computer take control of the players aircraft, such as telling the player to sit back and letting the computer take control of the aircraft and fly a certain path or even takeoff from a runway. I'm trying to read up on triggers and see if there is a way to activate a AI to control a players aircraft, but I can't seem to figure it out. Anyone have an idea how you would accomplish computer taking control of a players aircraft in a mission? i7 7800x @ 4.2Ghz I MSI M7ACK X299 I 32GB G Skill Ripjaws DDR4 2400 I ASUS STRIX GTX 1080Ti I Samsung EVO 960 500GB M.2 PCIe SSD I TM 16000M STICK / HOTAS / TM Pedals I Oculus Rift VR CV1 VF-111 Sun Downers [sIGPIC][/sIGPIC] Virtual Carrier Strike Group 1 | Discord
Muybonito523 Posted January 5, 2015 Author Posted January 5, 2015 Exactly, the problem is that there is no autopilot function! The best thing I think would be allowing the computer to control the aircraft like it does the AI. I would ideally want it to be as easy as setting an AI's way points, speed, and altitudes, and have it follow that. i7 7800x @ 4.2Ghz I MSI M7ACK X299 I 32GB G Skill Ripjaws DDR4 2400 I ASUS STRIX GTX 1080Ti I Samsung EVO 960 500GB M.2 PCIe SSD I TM 16000M STICK / HOTAS / TM Pedals I Oculus Rift VR CV1 VF-111 Sun Downers [sIGPIC][/sIGPIC] Virtual Carrier Strike Group 1 | Discord
Muybonito523 Posted January 5, 2015 Author Posted January 5, 2015 So I had an epiphany, I was wondering, is there any way to make a flight recording into a script for a mission? As instead of trying to control the aircraft, can I record myself doing what I want it to do, and then add that into a mission and let the player take control of the aircraft when it is ended? i7 7800x @ 4.2Ghz I MSI M7ACK X299 I 32GB G Skill Ripjaws DDR4 2400 I ASUS STRIX GTX 1080Ti I Samsung EVO 960 500GB M.2 PCIe SSD I TM 16000M STICK / HOTAS / TM Pedals I Oculus Rift VR CV1 VF-111 Sun Downers [sIGPIC][/sIGPIC] Virtual Carrier Strike Group 1 | Discord
tintifaxl Posted January 7, 2015 Posted January 7, 2015 Can a training mission be opened with the mission editor? There should be some pointers to how ED or Belsimtek did it. Windows 10 64bit, Intel i9-9900@5Ghz, 32 Gig RAM, MSI RTX 3080 TI, 2 TB SSD, 43" 2160p@1440p monitor.
uboats Posted January 7, 2015 Posted January 7, 2015 Can a training mission be opened with the mission editor? There should be some pointers to how ED or Belsimtek did it. definitely yes [sIGPIC][/sIGPIC] My DCS Mods, Skins, Utilities and Scripts | Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD | | TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn |
Muybonito523 Posted January 9, 2015 Author Posted January 9, 2015 Yes I have looked at their training missions, the thing is that for the P51D there is no autopilot function, so none of their training actually commands the aircraft. However for the A-10 and modern aircraft, they use the autopilot to command the aircraft in training missions. The best thing I have been able to do is this: Set up the mission, AI, scene, etc ... Fly the mission, in this case I did a startup, taxi, takeoff, and flew to a specified point. Quit the mission, save the track. Open track in mission editor. Add in triggers any text or media I want to show / play at desired time stamps Save the mission as a track Replay the mission. Near the end of the track, I display text that says to take control of the aircraft by pushing ESC and selecting the 'Take Control' option in the menu. Now I have control of the aircraft, fly to my hearts delight. This is great, because now I can simulate as if I was a student pilot, being taken on a flight to a specified training area, and then given the controls to practice stuff. The only problem is this only works up to that point. What if I wanted the aircraft to now be taken control of by the AI and RTB, taxi, park, and shutdown? I don't know of any way to play a track, or allow a track to take control during gameplay, seems impossible. The only thing that I am seeing that might be able modify controls in game run time is maybe LUA script, which I am not familiar with at all. i7 7800x @ 4.2Ghz I MSI M7ACK X299 I 32GB G Skill Ripjaws DDR4 2400 I ASUS STRIX GTX 1080Ti I Samsung EVO 960 500GB M.2 PCIe SSD I TM 16000M STICK / HOTAS / TM Pedals I Oculus Rift VR CV1 VF-111 Sun Downers [sIGPIC][/sIGPIC] Virtual Carrier Strike Group 1 | Discord
Recommended Posts