Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

AI Jetway Objects

From FlightGear wiki
Jump to: navigation, search
This article is a stub. You can help the wiki by expanding it.

Background

When a pilot reaches e.g. EDDF then jetways.nas reads EDDF.jetways.xml and creates one individual "animated model" xml file for each jetway entry in that EDDF.jetways.xml file.

Objective

So, if we want to avoid the writing to disk then we have to find a way to create scenery models with animations and individual properties like

/models/model[120]/jetway-position/hood-deg

with Nasal in RAM[1].

This is possible using the AI system. It needs to make jetway a new AI object type which is no problem - actually they can be managed by the airport dynamics, which already tracks parking position occupancy. There’sero need for anything to hit the disk in this process, or duplicate any XML files - but it needs some C++ coding, it can’t be done entirely from Nasal.

So, we need a volunteer to port the jetways logic to some C++ to create the instances (the per-jetway logic can stay in Nasal as needed). James is happy to coach / assist.[2]


References

References