LVFR Static Aircraft problem

Yeah, that’s not how this work. The Static aircraft is about placing an object. And this object is static. Think of it like a building. They always exist, and they don’t move. So we can’t have these “buildings” dynamically spawn or despawn when you overlap them. The MSFS engine just doesn’t do that.

A better solution is to actually improve the spawning engine for ground aircrafts. Instead of randomly pulling out from the livery collection. Get the aircraft parking codes ready, and only spawn aircraft liveries on gates that has a matching Parking code between the parking/gate properties and the livery. We already have the field available in the livery structure and the airport parking structure. We just need the engine to use it.

That way, if we have specific gates with only a parking code for “AFR” then only liveries with the same parking code of “AFR” would be able to spawn on it. And ATC will also direct you to those gates with the same “AFR” parking if you’re flying with “AFR” liveries.

That way, we always have correct liveries spawning in correct gates and terminal. And it’s dynamic using the same dynamic mechanism as the ground aircraft slider. If you spawn on a gate, the ground aircraft will never spawn at the same spot as you, and you can adjust how few or many ground aircrafts that you want. Rather than fixed amount that the static aircraft does.

Now the challenge here is how to determine the parking for Domestic/International flights. For some airports, you can have a dedicated domestic terminal where every single gate parameter in that terminal can use the same parking code for one airline. But that same airport could also have a dedicated International terminal for that same airline. That’s when the parking code matching could be an issue because there’s a risk that you can get assigned to a domestic terminal while you’ve just completed an international flight, even though it goes to a matching airline gate/parking.

One way to do it is to add an additional metadata to the airport gate parameter, a flag to determine whether this is an international “I” gate or domestic “D” gate. But the IFR flight plan also needs a flag in there as well to determine whether this is an International/Domestic flight plan. Then the engine simply have to match the flight plan with the gate, plus matching the airline parking code. And that should give us the correct gate assignment.

1 Like