mSparks43 / XPlane-11-AutoATC-plugin

C/C++ Source code for Xplane AutoATC plugin
GNU Lesser General Public License v3.0
16 stars 7 forks source link

AI aircraft light handling improvments #85

Closed JT8D-17 closed 3 years ago

JT8D-17 commented 4 years ago

AI aircraft permanently have their lights on, even when parked.

More realistic handling:

mSparks43 commented 4 years ago

This is definitely a week area that is more about how time consuming it is than how complex.

These are all set around line 743 of

https://github.com/mSparks43/XPlane-11-AutoATC-plugin/blob/master/src/AIPlanesv0.6.cpp

the crux of the issue is the different names of datarefs the csls use depending on who made them and when, and mapping them to the relevant value.

ref style 3 is xplane objects from the aircraft folder, which is completely different again.

I'd prefer to shift that entire block into a bundled and upgraded xtlua first (datarefs to use, animation logic and files), it would make maintenance/tweaking much easier and open up the door to various customizations (like attaching particles), but the priority at the moment is getting the atc components feature complete, filling out the language support, plus making/keeping everything stable. xtlua needs quite a few more flight hours before its ready to bring in, but most of the foundations are laid now.

JT8D-17 commented 4 years ago

Makes sense and sounds good.

mSparks43 commented 3 years ago

partially done for the next release. not quite everything I would want but closing this until there is more detail sent plugin side to control them more precisely