As some of you may be aware, I've created a version of my Airfield Lights Toolbox (AFLT) that uses simobjects with attached effects controlled by Simconnect. I've emulated the Separation Plane functionality, which supports split omnis, PAPI/VASIs and approach lights and can control the on/off status of each light, supporting strobes, wigwags, etc. Everything I was doing previously with animated scenery objects I can now do with simobjects under Simconnect
The whole thing works well with FSX - but that's only useful as a stable test-bed. The overhead is substantially higher than for animated scenery objects. It also works well in P3Dv2 but, due to limitations in the way v2 handle effects, the visuals are rather poor - so I've never released it.
I had high hopes for P3Dv3. My problem is that I can't get the simobjects to spawn in P3Dv3. Simconnect is running the code OK, but every attempt to create a new light (using
AICreateSimulatedObject) results in Simconnect Exception 22 -= Create Object Failed with no further explanation. I've tried using both the v2 and V3 Simconnect dlls with the same result.
I've scoured the web looking for clues to no avail. Any suggestions would be appreciated.
Don
The whole thing works well with FSX - but that's only useful as a stable test-bed. The overhead is substantially higher than for animated scenery objects. It also works well in P3Dv2 but, due to limitations in the way v2 handle effects, the visuals are rather poor - so I've never released it.
I had high hopes for P3Dv3. My problem is that I can't get the simobjects to spawn in P3Dv3. Simconnect is running the code OK, but every attempt to create a new light (using
AICreateSimulatedObject) results in Simconnect Exception 22 -= Create Object Failed with no further explanation. I've tried using both the v2 and V3 Simconnect dlls with the same result.
I've scoured the web looking for clues to no avail. Any suggestions would be appreciated.
Don




