From 056dff7dee63b1b26948eae7fa07ea870fdc3600 Mon Sep 17 00:00:00 2001 From: j4strngs Date: Sun, 10 Nov 2002 20:44:17 +0000 Subject: [PATCH] Fixes from Julian Foad: - makes instrument knobs turn at a realistic rate - removes redundant and specifications* - corrects the indentation to reflect nesting depth - corrects some descriptive names * E.g. if the gyro compass heading is 365, there's no point clamping the value to 360 before drawing it. Just using the given value is more likely to be right - or, if it's wrong, at least we won't hide the bug. --- Aircraft/Instruments/gyro.xml | 19 +- Aircraft/Instruments/kr-87adf.xml | 4 +- Aircraft/Instruments/nav1-hi.xml | 312 +++++++++++++++--------------- Aircraft/Instruments/nav1.xml | 244 +++++++++++------------ 4 files changed, 290 insertions(+), 289 deletions(-) diff --git a/Aircraft/Instruments/gyro.xml b/Aircraft/Instruments/gyro.xml index 938a2be1b..ba637a55c 100644 --- a/Aircraft/Instruments/gyro.xml +++ b/Aircraft/Instruments/gyro.xml @@ -50,8 +50,6 @@ properties' values. rotation /instrumentation/heading-indicator/indicated-heading-deg - -720.0 - 720.0 -1.0 @@ -166,7 +164,7 @@ properties' values. - + Heading Knob Aircraft/Instruments/Textures/blister.rgb @@ -188,10 +186,12 @@ properties' values. rotation - 180 + /autopilot/settings/heading-bug-deg + 5.0 + Heading label @@ -215,11 +215,12 @@ properties' values. rotation /autopilot/settings/heading-bug-deg + 5.0 - + OBS Knob Aircraft/Instruments/Textures/blister.rgb @@ -241,7 +242,8 @@ properties' values. rotation - 180 + /instrumentation/heading-indicator/indicated-heading-deg + 5.0 @@ -269,12 +271,11 @@ properties' values. rotation /instrumentation/heading-indicator/indicated-heading-deg - 0 - 360 + 5.0 - + diff --git a/Aircraft/Instruments/kr-87adf.xml b/Aircraft/Instruments/kr-87adf.xml index 0694898a7..b0e079dbb 100644 --- a/Aircraft/Instruments/kr-87adf.xml +++ b/Aircraft/Instruments/kr-87adf.xml @@ -737,7 +737,7 @@ properties' values. - timer set hours down + timer set minutes down 89 -12 @@ -760,7 +760,7 @@ properties' values. - timer set hours up + timer set minutes up 100 -12 diff --git a/Aircraft/Instruments/nav1-hi.xml b/Aircraft/Instruments/nav1-hi.xml index aaa9a98fb..cd04db949 100644 --- a/Aircraft/Instruments/nav1-hi.xml +++ b/Aircraft/Instruments/nav1-hi.xml @@ -117,14 +117,14 @@ properties' values. - + pivoting vertical needle - - - - 1 - - + + + + 1 + + Aircraft/Instruments/Textures/misc-1.rgb 0.439 @@ -153,14 +153,14 @@ properties' values. - + arcing vertical needle - - - - 0 - - + + + + 0 + + Aircraft/Instruments/Textures/misc-1.rgb 0.439 @@ -181,84 +181,84 @@ properties' values. - - pivoting glidescope needle - - - - 1 - - - - 1 - - - - Aircraft/Instruments/Textures/misc-1.rgb - 0.439 - 0.5 - 0.4575 - 1.0 - - 6 - 64 - - - x-shift - -32 - - - rotation - - -3.5 - 3.5 - -7 - - - x-shift - 32 - - - rotation - 90 - - + + pivoting glidescope needle + + + + 1 + + + + 1 + + + + Aircraft/Instruments/Textures/misc-1.rgb + 0.439 + 0.5 + 0.4575 + 1.0 + + 6 + 64 + + + x-shift + -32 + + + rotation + + -3.5 + 3.5 + -7 + + + x-shift + 32 + + + rotation + 90 + + - - sliding glidescope needle - - - - 1 - - - - 0 - - - - Aircraft/Instruments/Textures/misc-1.rgb - 0.439 - 0.5 - 0.4575 - 1.0 - - 6 - 64 - - - y-shift - - -1 - 1 - 25.6 - - - rotation - 90 - - + + sliding glidescope needle + + + + 1 + + + + 0 + + + + Aircraft/Instruments/Textures/misc-1.rgb + 0.439 + 0.5 + 0.4575 + 1.0 + + 6 + 64 + + + y-shift + + -1 + 1 + 25.6 + + + rotation + 90 + + @@ -276,76 +276,77 @@ properties' values. - bezel - - - /sim/aero - c310u3a - - - - Aircraft/Instruments/Textures/bezel.rgb - 0.0 - 0.0 - 1.0 - 1.0 - - - - x-shift - -1 - - - - - - glare shield - - Aircraft/Instruments/Textures/bezel1.rgb - 0.5 + bezel + + + /sim/aero + c310u3a + + + + Aircraft/Instruments/Textures/bezel.rgb + 0.0 0.0 1.0 - 0.5 - - 124 - 124 - - + 1.0 + + + x-shift - 2 - - - y-shift - -2 - - + -1 + + - OBS Knob - - Aircraft/Instruments/Textures/blister.rgb - 0.25 - 0.75 - 0.5 - 1.0 - - 24 - 24 - - - x-shift - -45 - - - y-shift - -45 - - - rotation - 180 - - + glare shield + + Aircraft/Instruments/Textures/bezel1.rgb + 0.5 + 0.0 + 1.0 + 0.5 + + 124 + 124 + + + x-shift + 2 + + + y-shift + -2 + + + + + + OBS Knob + + Aircraft/Instruments/Textures/blister.rgb + 0.25 + 0.75 + 0.5 + 1.0 + + 24 + 24 + + + x-shift + -45 + + + y-shift + -45 + + + rotation + + 5 + + @@ -371,8 +372,7 @@ properties' values. rotation - 0 - 360 + 5 diff --git a/Aircraft/Instruments/nav1.xml b/Aircraft/Instruments/nav1.xml index 62bf68c35..71742b30a 100644 --- a/Aircraft/Instruments/nav1.xml +++ b/Aircraft/Instruments/nav1.xml @@ -117,14 +117,14 @@ properties' values. - + pivoting vertical needle - - - - 1 - - + + + + 1 + + Aircraft/Instruments/Textures/misc-1.rgb 0.439 @@ -153,14 +153,14 @@ properties' values. - + arcing vertical needle - - - - 0 - - + + + + 0 + + Aircraft/Instruments/Textures/misc-1.rgb 0.439 @@ -181,48 +181,48 @@ properties' values. - - pivoting glidescope needle - - - - 1 - - - - 1 - - - - Aircraft/Instruments/Textures/misc-1.rgb - 0.439 - 0.5 - 0.4575 - 1.0 - - 6 - 64 - - - x-shift - -32 - - - rotation - - -3.5 - 3.5 - -7 - - - x-shift - 32 - - - rotation - 90 - - + + pivoting glidescope needle + + + + 1 + + + + 1 + + + + Aircraft/Instruments/Textures/misc-1.rgb + 0.439 + 0.5 + 0.4575 + 1.0 + + 6 + 64 + + + x-shift + -32 + + + rotation + + -3.5 + 3.5 + -7 + + + x-shift + 32 + + + rotation + 90 + + @@ -276,76 +276,77 @@ properties' values. - bezel - - - /sim/aero - c310u3a - - - - Aircraft/Instruments/Textures/bezel.rgb - 0.0 - 0.0 - 1.0 - 1.0 - - - - x-shift - -1 - - - - - - glare shield - - Aircraft/Instruments/Textures/bezel1.rgb - 0.5 + bezel + + + /sim/aero + c310u3a + + + + Aircraft/Instruments/Textures/bezel.rgb + 0.0 0.0 1.0 - 0.5 - - 124 - 124 - - + 1.0 + + + x-shift - 2 - - - y-shift - -2 - - + -1 + + - OBS Knob - - Aircraft/Instruments/Textures/blister.rgb - 0.25 - 0.75 - 0.5 - 1.0 - - 24 - 24 - - - x-shift - -45 - - - y-shift - -45 - - - rotation - 180 - - + glare shield + + Aircraft/Instruments/Textures/bezel1.rgb + 0.5 + 0.0 + 1.0 + 0.5 + + 124 + 124 + + + x-shift + 2 + + + y-shift + -2 + + + + + + OBS Knob + + Aircraft/Instruments/Textures/blister.rgb + 0.25 + 0.75 + 0.5 + 1.0 + + 24 + 24 + + + x-shift + -45 + + + y-shift + -45 + + + rotation + + 5 + + @@ -371,8 +372,7 @@ properties' values. rotation - 0 - 360 + 5