Thread: X-Plane refs? ?
View Single Post
Old 10th March 2011, 08:35 AM   #6
captainpeter
Senior Member
Professional user
 
captainpeter's Avatar
 
Join Date: May 2004
Location: Vienna / Austria
Posts: 207
Default Re: X-Plane refs? ?

The key is to use a dataref that outputs a floating point value and to specify the appropriate range in AC3D as well. In the example, 'incidence_ratio' outputs a FLOAT between 0.0000 and 1.0000. You would use BOOLEAN datarefs for items which just require a on/off state like a simple switch. BOOL outputs either 0(off) or 1(on). Some datarefs will not output a ratio but actual values like for example 'tire_prop_rot' which you would use for rotating an aircraft wheel properly.

You can find all these in the file 'DataRefs.txt' within your X-Plane/Resources/plugins folder. Don't forget to always copy that file to AC3D's plugins folder after updating X-Plane btw.

peter
captainpeter is offline   Reply With Quote