You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 28, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: MicroEngineerProject/MicroEngineer/Entries/FlightEntries.cs
+42-22Lines changed: 42 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,12 @@ public Speed()
12
12
Description="Shows the vessel's total velocity.";
13
13
Category=MicroEntryCategory.Flight;
14
14
IsDefault=true;
15
-
Unit="m/s";
16
-
NumberOfDecimalDigits=1;
15
+
MiliUnit="mm/s";
16
+
BaseUnit="m/s";
17
+
KiloUnit="km/s";
18
+
MegaUnit="Mm/s";
19
+
GigaUnit="Gm/s";
20
+
NumberOfDecimalDigits=2;
17
21
Formatting="N";
18
22
}
19
23
@@ -33,7 +37,7 @@ public MachNumber()
33
37
Description="Shows the ratio of vessel's speed and local speed of sound.";
34
38
Category=MicroEntryCategory.Flight;
35
39
IsDefault=true;
36
-
Unit=null;
40
+
BaseUnit=null;
37
41
NumberOfDecimalDigits=2;
38
42
Formatting="N";
39
43
}
@@ -54,7 +58,7 @@ public GeeForce()
54
58
Description="Measurement of the type of force per unit mass – typically acceleration – that causes a perception of weight, with a g-force of 1 g equal to the conventional value of gravitational acceleration on Earth/Kerbin.";
55
59
Category=MicroEntryCategory.Flight;
56
60
IsDefault=true;
57
-
Unit="g";
61
+
BaseUnit="g";
58
62
NumberOfDecimalDigits=3;
59
63
Formatting="N";
60
64
}
@@ -75,7 +79,7 @@ public AngleOfAttack()
75
79
Description="Angle of Attack specifies the angle between the chord line of the wing and the vector representing the relative motion between the aircraft and the atmosphere.";
76
80
Category=MicroEntryCategory.Flight;
77
81
IsDefault=true;
78
-
Unit="°";
82
+
BaseUnit="°";
79
83
NumberOfDecimalDigits=3;
80
84
Formatting="N";
81
85
}
@@ -96,7 +100,7 @@ public SideSlip()
96
100
Description="A slip is an aerodynamic state where an aircraft is moving somewhat sideways as well as forward relative to the oncoming airflow or relative wind.";
97
101
Category=MicroEntryCategory.Flight;
98
102
IsDefault=false;
99
-
Unit="°";
103
+
BaseUnit="°";
100
104
NumberOfDecimalDigits=3;
101
105
Formatting="N";
102
106
}
@@ -117,7 +121,7 @@ public Heading()
117
121
Description="Heading of a vessel is the compass direction in which the craft's nose is pointed.";
118
122
Category=MicroEntryCategory.Flight;
119
123
IsDefault=true;
120
-
Unit="°";
124
+
BaseUnit="°";
121
125
NumberOfDecimalDigits=2;
122
126
Formatting="N";
123
127
}
@@ -138,7 +142,7 @@ public Pitch_HorizonRelative()
138
142
Description="Lateral axis passes through an aircraft from wingtip to wingtip. Rotation about this axis is called pitch (moving up-down).";
139
143
Category=MicroEntryCategory.Flight;
140
144
IsDefault=true;
141
-
Unit="°";
145
+
BaseUnit="°";
142
146
NumberOfDecimalDigits=2;
143
147
Formatting="N";
144
148
}
@@ -159,7 +163,7 @@ public Roll_HorizonRelative()
159
163
Description="Longitudinal axis passes through the aircraft from nose to tail. Rotation about this axis is called roll (rotating left-right).";
160
164
Category=MicroEntryCategory.Flight;
161
165
IsDefault=true;
162
-
Unit="°";
166
+
BaseUnit="°";
163
167
NumberOfDecimalDigits=2;
164
168
Formatting="N";
165
169
}
@@ -180,7 +184,7 @@ public Yaw_HorizonRelative()
180
184
Description="Vertical axis passes through an aircraft from top to bottom. Rotation about this axis is called yaw (moving left-right).";
181
185
Category=MicroEntryCategory.Flight;
182
186
IsDefault=true;
183
-
Unit="°";
187
+
BaseUnit="°";
184
188
NumberOfDecimalDigits=2;
185
189
Formatting="N";
186
190
}
@@ -201,7 +205,7 @@ public Zenith()
201
205
Description="The zenith is an imaginary point directly above a particular location, on the celestial sphere. \"Above\" means in the vertical direction opposite to the gravity direction.";
202
206
Category=MicroEntryCategory.Flight;
203
207
IsDefault=false;
204
-
Unit="°";
208
+
BaseUnit="°";
205
209
NumberOfDecimalDigits=2;
206
210
Formatting="N";
207
211
}
@@ -222,8 +226,12 @@ public TotalLift()
222
226
Description="Shows the total lift force produced by the vessel.";
223
227
Category=MicroEntryCategory.Flight;
224
228
IsDefault=true;
225
-
Unit="N";
226
-
NumberOfDecimalDigits=0;
229
+
MiliUnit="mN";
230
+
BaseUnit="N";
231
+
KiloUnit="kN";
232
+
MegaUnit="MN";
233
+
GigaUnit="GN";
234
+
NumberOfDecimalDigits=2;
227
235
Formatting="N";
228
236
}
229
237
@@ -253,8 +261,12 @@ public TotalDrag()
253
261
Description="Shows the total drag force exerted on the vessel.";
254
262
Category=MicroEntryCategory.Flight;
255
263
IsDefault=true;
256
-
Unit="N";
257
-
NumberOfDecimalDigits=0;
264
+
MiliUnit="mN";
265
+
BaseUnit="N";
266
+
KiloUnit="kN";
267
+
MegaUnit="MN";
268
+
GigaUnit="GN";
269
+
NumberOfDecimalDigits=2;
258
270
Formatting="N";
259
271
}
260
272
@@ -284,7 +296,7 @@ public LiftDivDrag()
284
296
Description="Shows the ratio of total lift and drag forces.";
285
297
Category=MicroEntryCategory.Flight;
286
298
IsDefault=true;
287
-
Unit=null;
299
+
BaseUnit=null;
288
300
NumberOfDecimalDigits=2;
289
301
Formatting="N";
290
302
}
@@ -315,7 +327,7 @@ public DragCoefficient()
315
327
Description="Dimensionless quantity that is used to quantify the drag or resistance of an object in a fluid environment, such as air or water.";
316
328
Category=MicroEntryCategory.Flight;
317
329
IsDefault=false;
318
-
Unit=null;
330
+
BaseUnit=null;
319
331
NumberOfDecimalDigits=2;
320
332
Formatting="N";
321
333
}
@@ -336,7 +348,7 @@ public ExposedArea()
336
348
Description="The surface area that interacts with the working fluid or gas.";
337
349
Category=MicroEntryCategory.Flight;
338
350
IsDefault=false;
339
-
Unit=null;// TODO
351
+
BaseUnit=null;// TODO
340
352
NumberOfDecimalDigits=2;
341
353
Formatting="N";
342
354
}
@@ -357,8 +369,12 @@ public AtmosphericDensity()
357
369
Description="Shows the atmospheric density.";
358
370
Category=MicroEntryCategory.Flight;
359
371
IsDefault=true;
360
-
Unit="g/L";
361
-
NumberOfDecimalDigits=3;
372
+
MiliUnit="mg/L";
373
+
BaseUnit="g/L";
374
+
KiloUnit="kg/L";
375
+
MegaUnit="Mg/L";
376
+
GigaUnit="Gg/L";
377
+
NumberOfDecimalDigits=2;
362
378
Formatting="N";
363
379
}
364
380
@@ -378,8 +394,12 @@ public SoundSpeed()
378
394
Description="Distance travelled per unit of time by a sound wave as it propagates through the air.";
0 commit comments