1
0
Fork 0
Commit graph

1572 commits

Author SHA1 Message Date
Julian Smith
5a4bc3fc53 Aircraft/Generic/MPCarriers.nas: added support for always tying AI and MP carriers together.
We tie MP and AI carrier together if /sim/mp-carriers/latch-always is true.

This is done by setting /ai/models/carrier[]/ai-latch to the
/ai/models/multiplayer path containing the corresponding Multiplayer
information. C++ code will detect this and copy across the position and
orientation each frame.
2021-07-31 10:29:45 +01:00
Stuart Buchanan
0a9a0527aa FG1000 - Architecture diagram 2021-07-25 20:43:02 +01:00
Stuart Buchanan
1732f1339f FG1000: EIS Battery current display 2021-07-05 17:12:34 +01:00
Stuart Buchanan
3239f8664e FG1000: Add CHT to C182T EIS display 2021-07-05 16:24:59 +01:00
Richard Harrison
d9ffc50011 MP Carrier fixes for loading
Generally this change proves that we probably don't need the MPCarrier model on the target system - because by using the fallback model to load the Nasal this will happen without needing the high detail models at all.

To support this :

- Added fallback models for all carriers (defined as AI scenarios)
- Added logic to fallback models so that MP carriers load correctly
- The model will still be the AI model.
- MPCarriers.nas from MPCarrier/systems now in Aircraft/Generic
2021-06-22 23:40:20 +02:00
Delta Echo
55b0cf802c S3 Vario: Fix bug where the needle became offsetted when the instruments was switched off while non-zero 2021-05-14 12:26:24 +02:00
Delta Echo
b0430822b4 Glider Instruments: Fix duplicate for-loop (AR-6201), Formatting 2021-05-03 15:36:23 +02:00
James Turner
313dc7a3cb KI206: fix heading-card rotation
Thanks to Sascha Reißner and Alan W (forum) for spotting.
2021-05-02 17:13:20 +01:00
Delta Echo
665d95cb69 autochecklist.nas: support <group>ing checklists 2021-03-17 13:20:15 +00:00
Scott Giese
59fd5830ad iCCP Color Profile: c172p fixes 2021-02-27 15:13:56 -06:00
Henning Stahlke
0b62b8b03e Add lights to UFO. 2021-02-07 22:14:56 +01:00
Delta Echo
39a224edbc Add wool-thread to Aircraft/Instruments-3d:
* this was previously included in many glider aircraft in FGAddon, thus now saving space and maintenance work
* it also adds the noshadow animation to make the woolthread compatible with Compositor
* Please note: I was not able to figure out the original author (not me) of the model, texture and xml, but as far as I can see, it should be fine license-wise, since it was included in GPL FGAddon aircraft for ages
2021-02-06 19:26:21 +01:00
James Turner
1474121085 UFO: set marker beacon to standard blink mode 2021-02-03 09:39:46 +00:00
Stuart Buchanan
38ec3d2be8 Ground shaking effect
Addition to the existing headshake/redout to provide some
cockpit shaking effect when traversing rough ground.

Path from Benedikt HALLINGER.
2020-12-30 20:39:08 +00:00
James Turner
eaa31bb422 Missed changes from KAP-140 fixes 2020-12-30 16:39:53 +00:00
James Turner
b42759704f KAP-140:
The ALT-ARM knob should only be arming the altitude interception when 
the AP is activated. When rotating the AP alt-selector knob with 
disabled AP, just the altitude alarm beep is configured.

From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2489/
2020-12-27 13:59:30 +00:00
James Turner
60b144cf71 Add switching between NAV/APR/REV modes in the default KAP140.
From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2488/
2020-12-27 13:57:35 +00:00
James Turner
080e1ed403 KAP-140 annunciation fixes
From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2476/
2020-12-27 13:56:20 +00:00
James Turner
ad6ab066ad Additional fix for KAP-140 LOC/GS ARM
From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2476/
2020-12-27 13:51:36 +00:00
Stuart Buchanan
466b4e2915 FG1000: Stop attempted duplicate Emesary EIS reg 2020-12-17 22:45:56 +00:00
Stuart Buchanan
b46f5a90da FG1000: Improve Interface loading
Previously it was difficult to create custom EIS as paths
needed to be defined in multiple places.

This change creates a hash of id and paths to make this easier
in the future.
2020-12-17 22:44:08 +00:00
James Turner
0d546f5384 KAP140: improve locking to GS/LOC signals
Patch from Benedkit Hallinger:

This patch introduces a check for valid VOR/LOC as well as GS signals, 
and only if they are valid they will be catched.

See: https://sourceforge.net/p/flightgear/codetickets/2476/
2020-12-17 10:26:00 +00:00
Eatdirt
f8fd14b257 Install a GalacticJet(TM) supercharger kit on the UFO to have a better look to the moon 2020-11-30 10:53:15 +00:00
Stuart Buchanan
d315d69530 Make ufo invisible over MP again
Before fallback models were introduced, the ufo
was invisible to other MP pilots that were not in a
ufo themselves.

When fallback models were introduced, at long range
the ufo was replaced by the glider model, and so became
visible.

This change makes it invisible again by using the ufo as its
own fallback model.  This is safe because the ufo model is
very lightweight and also shipped with fgdata.
2020-11-19 19:34:45 +00:00
Stuart Buchanan
a56d13640d Hide pilot model when walker enabled.
Previously pilot models would stay visible when the
walker was active.  Which is a bit unrealistic given
the walker is supposed to be "you" in some way.

So now the internal pilot is hidden when the walker
is active outside the aircraft.

Fix provided by Benedikt Hallinger
2020-11-19 19:03:07 +00:00
Stuart Buchanan
8cb0faef60 FG1000: Enable mipmapping to
Reduces aliasing artifacts.
2020-11-15 19:33:15 +00:00
Erik Hofman
69c9f31ab5 Show the name of the region where the clicked material is stored. 2020-11-15 09:32:14 +01:00
Stuart Buchanan
8bafe4087e FG1000: GMC710 AFCS Mode controller.
Model by Mark JOSEPH.
2020-10-16 21:52:43 +01:00
Stuart Buchanan
ccedd4252f FG1000: CHECKLIST MFD Softkey 2020-10-13 19:30:29 +01:00
Stuart Buchanan
5080ae8c99 FG1000: Fuel Publisher and PanDown bug-fix
Previously the GenericFuelPublisher would barf if tank contents
weren't defined properly with numbers.

Also the XML and .ac files were inconsistent in their use of PANDown
vs PanDown.

Both spotted by Mark JOSEPH (ePilot). Now fixed.
2020-10-06 21:58:18 +01:00
Erik Hofman
3ea42c9181 Add support for running AISim form the command line using: --aircraft=aisim --aero=<aircraft> 2020-09-25 13:20:52 +02:00
Stuart Buchanan
0c521de80b FG1000: Better handling of VFR transponder code
Support in-sim updates to
/instrumentation/transponder/factory-vfr-code
2020-08-21 15:55:26 +01:00
Stuart Buchanan
f374bfabcb FG1000: Make VFR transponder code configurable
Reads from /instrumentation/transponder/factory-vfr-code
on startup.
2020-08-21 15:06:30 +01:00
Stuart Buchanan
8a7bc16829 FG1000: Fix setting 7xxx transponder codes
Previously select XPDR->CODE->7 and then another number caused very odd
transponder codes.  Turns out this was due to extra whitespace in the
label causing various string concatenations and evaluations to fail.
2020-08-21 12:38:31 +01:00
Stuart Buchanan
c23666a99f FG1000: Volume controls from Julio SANTA CRUZ 2020-07-12 18:43:59 +01:00
Stuart Buchanan
78e9eff433 FG1000: Keyboard input for GCU 47X
From Julio Santa Cruz
2020-07-07 13:28:32 +01:00
Stuart Buchanan
747cb73ca8 FG1000: Support custom SVG Path 2020-07-02 15:28:19 +01:00
James Turner
b2b6e00a1b UFO: adjust to new I18N format for name/desc
Push the translations one level down, to avoid possible ambiguity
2020-06-19 10:47:27 +01:00
Delta Echo
93b287cb21 BXP6401: bugfix 2020-06-06 18:26:01 +02:00
Delta Echo
9f52c0a8da Instruments 3d/ Vario S3: Correct typo in README 2020-06-06 13:55:51 +02:00
Stuart Buchanan
07c21660d8 FG1000 - make Debug menu items more efficient
Previously a completely new PFD or MFD was created when the Debug
menu items were used.  This cause significant slowdown if used
multiple times.  Now we just create one instance of each and re-use it.

Also clean up redundant code in the GUI.
2020-05-26 22:20:38 +01:00
Stuart Buchanan
0ce0e436ec Generalize pilot model support
Adds standard view option to enable pilot models.
Set /sim/rendering/pilot-model/available=true in aircraft
using pilot models.

/sim/rendering/pilot-model/enabled is used by users to
enable/disable the pilot models from the View Options dialog.

Note that pilot models are only visible for non-internal views.
2020-05-24 19:05:14 +01:00
Delta Echo
71b66dce64 Aircraft - Instruments 3D - addition of new (mostly) glider instruments: AR-6201 (comm), BXP-6401 (xpdr), FLARM and LX vario S3 2020-05-24 19:37:48 +02:00
Stuart Buchanan
3c7ea51fca FG1000: New fascia and support resize of windows
FG1000 now allows you to resize the GUI windows (thanks to Henning
for the pointer)

Now including updated fascia.  Thanks to Michat.
2020-05-12 21:41:07 +01:00
Julian Smith
e70a4c228c Aircraft/Generic/aar.nas: open popup warning if no probe/boom specified.
Might help debugging when adding air-to-air refueling to an aircraft.
2020-05-01 20:13:35 +01:00
Stuart Buchanan
8c3fb681da FG1000 - Add missing XML headers. 2020-04-12 13:27:07 +01:00
Stuart Buchanan
67b8af5ea2 c172p for 2020.1
From the c172p-team

https://github.com/c172p-team/c172p/releases/tag/version%2F2020.1

Commit 5c870e4559434393c6985ae8ae4c11132a3d2030
2020-04-01 18:43:35 +01:00
James Turner
de2c42d908 CDU: add page accessor for testing 2020-03-23 12:55:56 +00:00
Stuart Buchanan
3caa899068 FG1000 - NRST PFD Function
Implement the Nearest Airports PFD softkey, displaying a scrollable
list of the closest 25 airports within 200nm.

Also fix a couple of minor bugs and add self-checking to the
GroupElement
2020-03-12 21:39:23 +00:00
Stuart Buchanan
76cfa2c077 FG1000 and MFD handle non-MFD Emesary notifications
Previously the FG1000 and MFD assumed that all notifications received
via Emesary had a Device_Id field.  This is true for
notifications.PFDEventNotification.DefaultType but not for other
messages - e.g. those generated by the AN SPN 46  system on the
carrier.

The effect of this was that when Nimitz was loaded, the FG1000 stopped
working with various errors.

This fix checks the notification type before the Device_Id.
2020-03-12 17:25:34 +00:00