Skip to content

Commit 419408d

Browse files
committed
feat: flight deck improvements (#8334)
a339x a333x
1 parent 7ad1adf commit 419408d

File tree

36 files changed

+1875
-417
lines changed

36 files changed

+1875
-417
lines changed

flybywire

hdw-a333x/src/base/headwindsim-aircraft-a330-300/ModelBehaviorDefs/A333X/Airbus.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
<ANIMTIP_0_ON_PERCENT>0</ANIMTIP_0_ON_PERCENT>
104104
<ANIMTIP_1_ON_PERCENT>.5</ANIMTIP_1_ON_PERCENT>
105105
<ANIMTIP_2_ON_PERCENT>1</ANIMTIP_2_ON_PERCENT>
106+
<ANIM_DURATION>0.5</ANIM_DURATION>
106107
</DefaultTemplateParameters>
107108

108109
<UseTemplate Name="FBW_AIRBUS_NAV_AID_SWITCH_SubTemplate">

hdw-a333x/src/base/headwindsim-aircraft-a330-300/SimObjects/Airplanes/Headwind_A330_300/flight_model.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ lift_coef_delta_elevator = -1.652 ; The change in lift per change in elevator de
250250
lift_coef_horizontal_incidence = 0 ; The change in lift per change in horizontal incidence angle
251251
lift_coef_flaps = 1.2 ; Change in lift due to flaps
252252
lift_coef_spoilers = -0.25 ; Change in lift due to spoilers- Full extension at MMO/VMO -0.34, at M0.90 0, Ground spoilers -0.60, Partial ground spoilers -0.425
253-
drag_coef_zero_lift = 0.0200 ; The zero lift drag polar
253+
drag_coef_zero_lift = 0.0260 ; The zero lift drag polar
254254
drag_coef_flaps = 0.0602
255255
drag_coef_gear = 0.030
256256
drag_coef_spoilers = 0.05775; Change in drag due to spoilers

hdw-a333x/src/base/headwindsim-aircraft-a330-300/SimObjects/Airplanes/Headwind_A330_300/model/A330_300_INTERIOR.xml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3515,17 +3515,21 @@
35153515
<Component ID="Overhead_CabinPress">
35163516
<!-- CABIN PRESS LDG EVEL AUTO -->
35173517
<Component ID="KNOB_OVHD_CABINPRESS_LDGELEV" Node="KNOB_OVHD_CABINPRESS_LDGELEV">
3518-
<UseTemplate Name="FBW_Continuous_Knob_Limited_From_Simvar">
3518+
<UseTemplate Name="FBW_Continuous_Knob_Finite_From_Simvar">
35193519
<NODE_ID>KNOB_OVHD_CABINPRESS_LDGELEV</NODE_ID>
3520-
<ANIM_SIMVAR_MAX>88</ANIM_SIMVAR_MAX>
3521-
<LOCAL_SIMVAR>L:A32NX_OVHD_PRESS_LDG_ELEV_KNOB</LOCAL_SIMVAR>
3522-
<LOCAL_SIMVAR_UNITS>feet</LOCAL_SIMVAR_UNITS>
3523-
<INCREMENT>0.5</INCREMENT>
3524-
<CONVERSION_FORMULA>193.182 * 2000 -</CONVERSION_FORMULA>
3525-
<SET_CODE>(&gt;L:XMLVAR_KNOB_OVHD_CABINPRESS_LDGELEV)</SET_CODE>
3520+
<ANIM_SIMVAR>L:XMLVAR_KNOB_OVHD_CABINPRESS_LDGELEV</ANIM_SIMVAR>
3521+
<ANIM_SIMVAR_UNITS>number</ANIM_SIMVAR_UNITS>
3522+
<ANIM_SIMVAR_MIN>0</ANIM_SIMVAR_MIN>
3523+
<ANIM_SIMVAR_MAX>18</ANIM_SIMVAR_MAX>
3524+
<INCREMENT>s0 2 0.1 l0 0 == ?</INCREMENT>
3525+
<DECREMENT>s0 2 0.1 l0 2 == ?</DECREMENT>
3526+
<WHEEL_INCREMENT>s0 2 0.5 l0 0 == ?</WHEEL_INCREMENT>
3527+
<WHEEL_DECREMENT>s0 2 0.5 l0 2 == ?</WHEEL_DECREMENT>
3528+
<SET_CODE>d (&gt;L:XMLVAR_KNOB_OVHD_CABINPRESS_LDGELEV) 4 - 1000 * (&gt;L:A32NX_OVHD_PRESS_LDG_ELEV_KNOB)</SET_CODE>
35263529
</UseTemplate>
35273530
</Component>
35283531

3532+
35293533
<!-- CABIN PRESS MAN C/S CTL -->
35303534
<UseTemplate Name="FBW_Anim_Interactions">
35313535
<ANIM_TYPE>SWITCH</ANIM_TYPE>

hdw-a333x/src/base/headwindsim-aircraft-a330-300/SimObjects/Airplanes/Headwind_A330_300/panel/panel.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Headwind Simulations A333X Panel Configuration File
1+
; Headwind Simulations A339X Panel Configuration File
22

33
[Default View]
44
X = 0
@@ -34,8 +34,8 @@ texture = $EICAS1
3434
htmlgauge00 = A333X/EWD/ewd.html?Index=1, 0,0,768,768
3535

3636
[VCockpit04]
37-
size_mm = 768,768 #TODO FIXME - Should be 768,768
38-
pixel_size = 768,768 #TODO FIXME - Should be 768,768
37+
size_mm = 768,768
38+
pixel_size = 768,768
3939
texture = $EICAS2
4040

4141
htmlgauge00 = A333X/SD/sd.html, 0,0,768,768

hdw-a333x/src/base/headwindsim-aircraft-a330-300/SimObjects/Airplanes/Headwind_A330_300/systems.cfg

Lines changed: 286 additions & 51 deletions
Large diffs are not rendered by default.

hdw-a333x/src/base/headwindsim-aircraft-a330-300/html_ui/Pages/VCockpit/Instruments/Airliners/Headwind_A333X/FCU/A320_Neo_FCU.css

Lines changed: 57 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -32,45 +32,27 @@
3232
display: none;
3333
}
3434

35-
@font-face {
36-
font-family: "Roboto";
37-
src: url("/Fonts/RobotoMono-Medium.ttf") format("truetype");
38-
font-weight: normal;
39-
font-style: normal;
40-
}
41-
42-
@font-face {
43-
font-family: "Roboto-Light";
44-
src: url("/Fonts/RobotoMono-Light.ttf") format("truetype");
45-
font-weight: normal;
46-
font-style: normal;
47-
}
48-
49-
@font-face {
50-
font-family: "Roboto-Bold";
51-
src: url("/Fonts/RobotoMono-Bold.ttf") format("truetype");
52-
font-weight: normal;
53-
font-style: normal;
54-
}
55-
5635
@font-face {
5736
font-family: "Poppins-SemiBold";
58-
src: url("/Fonts/A333X/Poppins-SemiBold.ttf") format("truetype");
37+
src: url("/Fonts/A339X/Poppins-SemiBold.ttf") format("truetype");
5938
font-weight: normal;
6039
font-style: normal;
6140
}
6241

6342
@font-face {
6443
font-family: "Digital";
65-
src: url("/Fonts/A333X/AirbusFCU.ttf") format("truetype");
44+
src: url("/Fonts/A339X/AirbusFCU.ttf") format("truetype");
6645
font-weight: 900;
6746
font-style: normal;
6847
}
6948

7049
:root {
71-
--main-display-colour-background: #030200;
72-
--main-display-colour: hsl(0, 0%, 100%);
50+
--main-display-colour: hsl(36, 100%, 45%);
7351
--main-display-colour-inactive: hsl(53, 82%, 0%);
52+
--main-background-opacity: 0;
53+
--main-text-shadow-colour: rgba(207, 110, 0, 0);
54+
55+
text-shadow: var(--main-text-shadow-colour) 0 0 12px;
7456
}
7557

7658
:root text.Common {
@@ -111,7 +93,6 @@
11193
a320-neo-fcu-element {
11294
width: 100%;
11395
height: 100%;
114-
background: var(--main-display-colour-background);
11596
font-family: "Poppins-SemiBold";
11697
position: relative;
11798
overflow: hidden;
@@ -124,68 +105,96 @@ a320-neo-fcu-element #Mainframe {
124105
position: relative;
125106
}
126107

127-
a320-neo-fcu-element #Mainframe #LargeScreen {
128-
width: 100%;
129-
height: 8%;
130-
display: block;
108+
.fcu-screen {
131109
position: absolute;
132-
background-color: var(--main-display-colour-background);
110+
width: 50%;
111+
height: 8%;
112+
left: 0;
133113
}
134114

135-
a320-neo-fcu-element #Mainframe #LargeScreen #Speed {
136-
width: 20%;
115+
#LeftFcu {
116+
top: 0;
117+
}
118+
119+
#RightFcu {
120+
left: 50%;
121+
top: 0;
122+
}
123+
124+
.fcu-screen #Speed {
125+
width: 40%;
137126
height: 100%;
138127
left: 0%;
139128
position: absolute;
140129
}
141130

142-
a320-neo-fcu-element #Mainframe #LargeScreen #Heading {
131+
.fcu-screen #Heading {
132+
width: 40%;
133+
height: 100%;
134+
left: 40%;
135+
position: absolute;
136+
}
137+
138+
.fcu-screen #LateralMode {
143139
width: 20%;
144140
height: 100%;
145-
left: 20%;
141+
left: 80%;
146142
position: absolute;
147143
}
148144

149-
a320-neo-fcu-element #Mainframe #LargeScreen #Mode {
145+
.fcu-screen #VerticalMode {
150146
width: 20%;
151147
height: 100%;
152-
left: 40%;
148+
left: 0;
153149
position: absolute;
154150
}
155151

156-
a320-neo-fcu-element #Mainframe #LargeScreen #AltVS {
157-
width: 40%;
152+
.fcu-screen #AltVS {
153+
width: 80%;
158154
height: 100%;
159-
left: 60%;
155+
left: 20%;
160156
position: absolute;
161157
}
162158

163-
a320-neo-fcu-element #Mainframe #LargeScreen #AltVS #Altitude {
159+
.fcu-screen #AltVS #Altitude {
164160
width: 50%;
165161
height: 100%;
166162
left: 0%;
167163
position: absolute;
168164
}
169165

170-
a320-neo-fcu-element #Mainframe #LargeScreen #AltVS #VerticalSpeed {
166+
.fcu-screen #AltVS #VerticalSpeed {
171167
width: 50%;
172168
height: 100%;
173169
left: 50%;
174170
position: absolute;
175171
}
176172

177-
a320-neo-fcu-element #Mainframe #SmallScreen {
173+
.baro-screen {
174+
position: absolute;
178175
width: 14%;
179176
height: 8%;
180-
display: block;
181-
position: absolute;
182177
top: 8%;
183-
background-color: var(--main-display-colour-background);
184178
}
185179

186-
a320-neo-fcu-element #Mainframe #SmallScreen #Selected,
187-
a320-neo-fcu-element #Mainframe #SmallScreen #Standar {
180+
#LeftBaro {
181+
left: 0;
182+
}
183+
184+
#RightBaro {
185+
right: 0;
186+
}
187+
188+
.baro-screen .selected,
189+
.baro-screen .standard {
188190
width: 100%;
189191
height: 100%;
190192
top: 0%;
191193
}
194+
195+
#fcu-background {
196+
position: absolute;
197+
width: 100%;
198+
height: 100%;
199+
opacity: var(--main-background-opacity);
200+
}

0 commit comments

Comments
 (0)