set custom cursor with $ fgfs --aircraft=ufo --prop:cursor=Models/Airport/...
This commit is contained in:
parent
48245e20d5
commit
40e530c300
2 changed files with 3 additions and 2 deletions
|
@ -64,10 +64,12 @@
|
|||
</keyboard>
|
||||
</input>
|
||||
|
||||
<cursor>Aircraft/ufo/Models/cursor.ac</cursor>
|
||||
|
||||
<models>
|
||||
<model>
|
||||
<name>cursor</name>
|
||||
<path>Aircraft/ufo/Models/cursor.ac</path>
|
||||
<path alias="/cursor"/>
|
||||
<longitude-deg-prop>/cursor/longitude-deg</longitude-deg-prop>
|
||||
<latitude-deg-prop>/cursor/latitude-deg</latitude-deg-prop>
|
||||
<elevation-ft-prop>/cursor/elevation-ft</elevation-ft-prop>
|
||||
|
|
|
@ -293,7 +293,6 @@ dumpCoords = func {
|
|||
print(sprintf("Longitude: %.6f deg", var clon = cursor.values["lon"].get()));
|
||||
print(sprintf("Latitude: %.6f deg", var clat = cursor.values["lat"].get()));
|
||||
print(sprintf("Altitude: %.4f m (%.4f ft)", var celev = ft2m(alt), alt));
|
||||
print("");
|
||||
print(sprintf("Heading: %.1f deg", var chdg = normdeg(cursor.values["hdg"].get())));
|
||||
print(sprintf("Pitch: %.1f deg", normdeg(cursor.values["pitch"].get())));
|
||||
print(sprintf("Roll: %.1f deg", normdeg(cursor.values["roll"].get())));
|
||||
|
|
Loading…
Add table
Reference in a new issue