Howto:Write simple scripts in Nasal: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
Line 1: Line 1:
'''Introduction:'''
'''Introduction:'''
Nasal is a scripting language available in FlightGear which opens up a world of possibilities for aircraft modellers - much more detailed information can be found elsewhere [[Nasal_scripting_language]].  Here, though, as a simple example to get you started, we will create a very basic script to convert engine temperatures from degF to degC, as required by the Fokker50 instruments.
Nasal is a scripting language available in FlightGear which opens up a world of possibilities for aircraft modellers - much more detailed information can be found elsewhere [[Nasal_scripting_language]].   
 
If you have any Nasal specific questions, you will want to check out [[Nasal FAQ]], feel free to ask new questions or help answer or refine existing ones.
 
Here, though, as a simple example to get you started, we will create a very basic script to convert engine temperatures from degF to degC, as required by the Fokker50 instruments.


Such a script should ideally be very generic so that it can be reused easily; but the script here is deliberately kept as simple as possible.
Such a script should ideally be very generic so that it can be reused easily; but the script here is deliberately kept as simple as possible.
2,561

edits

Navigation menu