mrwangyou Posted July 11, 2022 Posted July 11, 2022 (edited) Hi everyone I'm new to DCS World. I'm working on researchs about dogfight between planes. I tried DCS World "Mission editor" but found that it could only control plane realtime with LUA. It's not suitble for model training. I wonder if I can control aircraft models in DCS World with API such as controlling the flight dynamics model with Python language? Does anyone have experience about this? Thank you! Edited July 11, 2022 by mrwangyou supplement
Pikey Posted July 12, 2022 Posted July 12, 2022 The scripting engine does not directly control the model in DCS. The level is much higher. Task oriented. The routines are closed in C derived language as this is a commercial simulation. The plugin environment is open to create a realtime movment - this is exactly what a module is, a plane you can control. But the input requires control via a directx input not a script, you cannot create some interface to steer your plane via Python natively. But you can try with a module and input, but I dont think that is what you want. At least from my understanding. 1 ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
danielqu Posted July 22, 2022 Posted July 22, 2022 Hi, @Pikey. I'm also doing simliar things like model training. Is that possible by using Device:* and LoSetCommand to do the input?
Pikey Posted July 23, 2022 Posted July 23, 2022 On 7/22/2022 at 10:57 AM, danielqu said: Hi, @Pikey. I'm also doing simliar things like model training. Is that possible by using Device:* and LoSetCommand to do the input? I have no idea about the export environment, I only tinker with the mission environment. ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
danielqu Posted July 28, 2022 Posted July 28, 2022 2022/7/24 AM5点13分,Pikey说: I have no idea about the export environment, I only tinker with the mission environment. OK, Thanks anyway!
Recommended Posts