1
0
Fork 0
Commit graph

235 commits

Author SHA1 Message Date
Erik Hofman
ff3c6f2509 Fix ALS procedural light intensity_scale and add a Compositor light dim-factor for stobes. Amke pointlights non-directional for ALS 2022-01-30 10:27:21 +01:00
Erik Hofman
d02ce10801 Add generic combined ALS procedural lights and Compositor lights 2022-01-29 15:05:57 +01:00
jimishol
fb6da32cec Fix in code definition of hpa.
In current code hpa is indirectly defined as 10^5 pascals.
The present commit indirectly defines it as 10^2 pascals.
2021-11-09 20:14:25 +00:00
PlayeRom
d16aac9bbc Add "Walker" menu to translations 2021-08-04 10:18:30 +02:00
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
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
665d95cb69 autochecklist.nas: support <group>ing checklists 2021-03-17 13:20:15 +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
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
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
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
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
Colin Geniet
59b9aeb271 Glider vario: Add nasal controller for sound pitch
Adds a sound frequency controller to glider-instrumentation-sdk.nas,
used for the ilec-sc7. This allows:
- Simpler <sound>.xml files to integrate the glider variometer.
- More accurate frequency scaling (frequency scales exponentially with
vertical speed, so that perceived changes in pitch are linear with
vertical speed).
- Fixes that the variometer sound would not drop at negative vertical
speeds.
2020-02-27 20:05:40 +01:00
vezza
8d2ead194e fix typo (jsbsim output's in thrust_lb property instead of thrust-lbs) 2020-02-18 21:32:03 +01:00
Richard Harrison
94d90fa85e AAR: optimised engage/disgengage logic 2019-03-10 15:25:44 +01:00
Richard Harrison
dbcc7f6aee AAR - optimisations
Only scan list of tankers when model added/removed; as otherwise it is a 3to10ms hit each time invoked.
2019-03-10 15:25:43 +01:00
James Turner
78272b5906 Fix mis-named AI aircraft control property 2019-02-03 13:36:32 +00:00
Richard Harrison
0200041d74 Fix slowdown when flying with fuel freeze.
Caused by AAR creating a timers that don't get fired and clag up the system.
2018-12-15 16:29:07 +01:00
Anders Gidenstam
0900c9907a JSBSim hydrodynamics: Updated to support JSBSim moments. 2018-11-27 13:52:58 +01:00
Richard Harrison
40ff13b65b Reposition slowdown settimer fixes.
Definitely problems in aar.nas, seaport.nas; as these were hanging off a fdm-initialized.

The others have timers that are started from a listener and as such are more suited to use maketimer rather than settimer

The modules that use the loopid technique are probably fine, but these are also more suited (and easier to understand) using a maketimer
2018-09-14 22:50:47 +02:00
Thorsten Renk
7552c2921e ALS: Add display effect - dust overlay texture provided under GPL 2+ by Martin Litzenberger 2018-09-01 09:54:42 +03:00
Richard Harrison
588bdcd580 Add flightrecord components for escort ships and refuelling tankers.
These need to be included aircraft model side to work;

e.g.
                <signals include="/Aircraft/Generic/flightrecorder/components/ai-models-carrier.xml">
                    <count type="int">4</count>
                </signals>
                <signals include="/Aircraft/Generic/flightrecorder/components/ai-models-escorts.xml">
                    <count type="int">12</count>
                </signals>
                <signals include="/Aircraft/Generic/flightrecorder/components/ai-models-tanker.xml">
                    <count type="int">4</count>
                </signals>
2018-07-28 00:39:21 +02:00
Richard Harrison
7860c2c761 Added flightrecorder for carrier. 2018-07-28 00:39:20 +02:00
Anders Gidenstam
c610f6911c JSBSim airship_added_mass system: Updated to support JSBSim external moments. 2018-04-08 21:53:07 +02:00
Richard Harrison
dcc4f1ede5 Walker; fix duplicate parachute and spoiler/speedbrake keyboard by making it conditional on the view 2017-11-18 12:51:16 +01:00
Anders Gidenstam
bb73817c42 Fixed a problem in the roll channel of the JSBSim hydrodynamic-planing-floats system.
Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2017-03-18 23:57:06 +01:00
Thorsten Renk
d1dc65a207 g-force simulation script links to ALS g-force shaders (Nikolai Verner Christensen) 2017-03-18 11:10:26 +02:00
Anders Gidenstam
275c425623 Replaced the property hydro/hull-length-ft with metrics/hydro-length-ft in the generic JSBSim hydrodynamics system.
Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2017-03-12 09:53:14 +01:00
Richard Harrison
d1d3ff80aa Added default texture (functional mask) for hud glass.
ref: http://wiki.flightgear.org/ALS_technical_notes#Functional_masks
2017-02-24 10:53:31 +01:00
Thorsten Renk
a27a82b4ad Tentative fix for accelerometers using YaSim properties in JSBSim or optionally generated properties 2016-11-23 15:34:04 +02:00
Thorsten Renk
52e5592442 Replacement of blackout/redout implementation with a sophisticated model developed for military simulators - research and implementation by Nikolai Verner Christensen 2016-11-21 10:06:35 +02:00
Anders Gidenstam
09cdc04e91 Fixed some FPE prone spots in the generic JSBSim hydrodynamics systems.
Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2016-10-23 00:11:40 +02:00
Richard Harrison
56f6e4fd15 Remove debug and tidy up messages 2016-05-16 22:49:56 +02:00
Richard Harrison
4ed25ac361 Emesary mp support
Add support for transfer string
Change Type to NotificationType as Type can be confusing
2016-04-12 23:25:47 +02:00
Richard Harrison
1ec48a966c Added Emesary Multiplayer bridge 2016-04-09 21:39:57 +02:00
Richard Harrison
54165c213f Added Emesary and AN/SPN-46 ACLS
Emesary is a simple and efficient class based interobject communcation system to allow decoupled disparate parts of a system to function together without knowing about each. It allows decoupling and removal of dependencies by using notifications to cause actions or to query values.

Emesary is all about decoupling and removing dependecies, and improving the structure of code. Using Emesary you can more easily define the what rather than the how. By using what is essential an event driven system it is easy to add or remove modules, and also for extra modules to be inserted that the rest of the aircraft knows nothing about (e.g. FGCamera or the Walker).

see: http://chateau-logic.com/content/emesary-nasal-implementation-flightgear

The AN/SPN-46 is an ACLS implementation using Emesary. ACLS is the Navy's version of ILS.
2016-04-02 00:13:35 +02:00
Torsten Dreyer
8f5e1bd626 Move marker.xml, marker.ac to Aircraft/Generic
also adjust (hopefully) all references to the old location
2016-03-23 11:00:18 +01:00
Anders Gidenstam
47b4c1db3d WalkView: Hardened against a missing view property. 2016-03-13 23:48:02 +01:00
Edward d'Auvergne
3bf57db6b4 Fixes for all PNG files with corrupted ICC color profiles.
The files were identified using the pngcrush software and repaired by stripping
out the PNG header including the ICC profile using the command:

$ pngcrush -fix -force old.png new.png; mv -f new.png old.png

Each file was manually checked in an image viewer to look for any corruptions.

This follows from the threads
http://thread.gmane.org/gmane.games.flightgear.devel/79895 and
http://thread.gmane.org/gmane.games.flightgear.devel/79898 .
2016-01-06 21:38:13 +01:00
Anders Gidenstam
9020bda565 Updated the generic JSBSim hydrodynamics system.
- Small update to the main hydrodynamics system.
- Added initial versions of two systems for modelling hydrodynamic planing.

Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2015-11-15 15:10:13 +01:00
Thorsten Renk
2d18c748ee Fix for walker/reposition interference suggested by DFaber 2015-08-10 11:12:09 +03:00
James Turner
563c098452 Change some Nasal logging to use logprint()
- avoids console output at default (WARN) log level from the C172P
2015-06-08 10:33:31 +01:00
Thorsten Renk
44f8e5f672 Procedural thruster flames, work in progress 2015-05-21 11:28:21 +03:00
Anders Gidenstam
5b6a913b80 Aircraft/Generic/JSBSim/Systems: Added a generic airship mooring system. 2015-05-20 22:55:09 +02:00
Torsten Dreyer
f707629fa3 Merge commit 'd4e0c7515e8e708baca99ef1018cdd939d8228a1' into next
This was https://sourceforge.net/p/flightgear/fgdata/merge-requests/15/
2015-05-19 12:05:18 +02:00