Nasal Initialization: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
Line 3: Line 3:


= Initialization of Nasal core-/default-modules =
= Initialization of Nasal core-/default-modules =
When Flightgear starts, it will start the Nasal parser and load modules from FGDATA/Nasal.  
When Flightgear starts, it will start the Nasal parser and load Nasal (.nas) files from FGDATA/Nasal.  


== Core modules ==
== Core modules ==
Line 37: Line 37:
If the namespace already exists, the module will be added to it so you can extend existing modules. But be very careful when overloading existing modules, you can easily break things.}}
If the namespace already exists, the module will be added to it so you can extend existing modules. But be very careful when overloading existing modules, you can easily break things.}}


= Open questions =
= Re-loadable modules =
Review the sources to confirm / update this doc.
See [[Modules.nas]] for re-loadable module support. This type of module can be loaded and unloaded at runtime without exiting or restarting FlightGear.
252

edits

Navigation menu