

So, the next line in our XML file will specify the property to use For the purposes of this tutorial though, we'll just use the exhaust temperature instead the process is what's important.

Now, we have a slight problem at this stage the fokker50 was created before JSBSim could model turboprops, and so the ITT property is not available right now.

Click on "engines" and you will see a list of engines click on the first one (engine) and you will see a long list of properties and their current values. You will see the top level of the property tree. Once FG has started, open the property browser (file/browse internal properties). To find the name of this property, we need to start FlightGear in the usual manner with the correct aircraft (fokker50 in this case). Now, we need to specify a property which will determine the amount of rotation required in other words, the property that provides the ITT value at any one time. We will want to use a "rotate" animation (for more details on available animation types, see "model-howto.html" which is provided with FG in the Docs directory.) See Howto:_Animate_models for the main article about this subject.Īs you can see, the main item to animate is the temperature needle, and its name is "needle" (you can animate either AC3D "objects" or complete "groups"). This is obviously the name of the 3d model file we wish to load. First of all, we want to tell FG to load the 3d model of our instrument. Now, our file does nothing useful at this point. It should start like this (and please remember that case is ALWAYS important) Įverything you will add to this file must go between the tags. So, using your favourite text editor, create a file called itt.xml in the Aircraft/fokker50/Models directory (folder). There are no hard and fast rules about where these files should live or what they must be called, but we'll follow the fairly standard procedure of calling it itt.xml and placing it in the Models directory. The first step is to create an XML file which will load the 3D model and animate it.
