1
0
Fork 0
Commit graph

171 commits

Author SHA1 Message Date
Vivian Meazza
0041dea980 Add generic sample reflection map.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-03-31 20:00:37 +01:00
Curtis L. Olson
2b648ea118 Rescale odd texture sizes (257x257, etc.) so that the OSG texture loader
doesn't need to do this on the fly.  OpenGL requires that texture dimensions
be a power of 2 (32, 64, 128, 256, 512, 1024, 2048, etc.) so if we feed in
something else, OSG will rescale it on the fly before registering it as an
OpenGL texture.
2011-01-19 10:55:55 -06:00
ThorstenB
b85838b770 Avoid div-by-zero and NaN-property error
required for non-engine aircraft (UFO, gliders).
2011-01-12 20:13:57 +01:00
Vivian Meazza
48e2672647 Merge branch 'Work' of \New Git\fgdata 2010-12-19 23:54:39 +00:00
Anders Gidenstam
09dc9afe47 Updated DualControl: Moved everything to Aircraft/Generic/DualControl/.
- Updated all references to Aircraft/ZLT-NT/DualControl/ found.
2010-12-19 23:17:23 +01:00
Vivian Meazza
02f60e0794 Add open-circuit oxygen system.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-12-18 09:16:04 +00:00
Detlef Faber
3c44422413 fix typo 2010-11-11 20:29:24 +01:00
Anders Gidenstam
3cea00ac1f Updated WalkView: Fixed a sign error. 2010-11-05 10:02:11 +01:00
Anders Gidenstam
03e25d91cd Updated WalkView: Added a "class" for conditional constraints. 2010-11-03 20:36:10 +01:00
Anders Gidenstam
5ecdf0f878 Updated WalkView: Added a makePolylinePath convenience function. 2010-11-01 22:46:23 +01:00
Anders Gidenstam
7b08e91f7b Updated Walk View: Unified all "class"/"type" names to begin with a capital letter. 2010-11-01 21:33:24 +01:00
Anders Gidenstam
4c694b2bc2 Updated WalkView: Added a circular surface constraint. 2010-11-01 21:33:15 +01:00
Anders Gidenstam
4692db87d6 Updated WalkView: Added a more general area constraint: linePlane. 2010-10-31 22:08:55 +01:00
Detlef Faber
e00d8d30ea generic logos: add Logo of the day >:) 2010-10-31 16:36:20 +01:00
Anders Gidenstam
1ff1469fc1 Updated WalkView:
- Added a default key binding file.
- Improved the documentation.
2010-10-31 12:35:55 +01:00
Vivian Meazza
39affdc8cd Merge branch 'master' of \New Git\fgdata 2010-10-12 20:45:56 +01:00
Vivian Meazza
996a5a94ee Add generic formation selector script.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-12 20:37:10 +01:00
Vivian Meazza
1b309deda4 Add generic formations.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-12 20:35:47 +01:00
Anders Gidenstam
af740cd918 Updated WalkView: Added missing var keywords. 2010-10-03 19:25:46 +02:00
Frederic Bouvier
d734e32bd5 Modified reflect effect to include bumpspec. Original effect untouched 2010-09-21 08:23:13 +02:00
Detlef Faber
eaf9a96117 modified Logo System,2 new Logos 2010-09-12 21:33:20 +02:00
Vivian Meazza
4c63215780 Add "valid" filter to prevent expired MP tankers from being appended to the tanker list.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-11 20:48:03 +01:00
Torsten Dreyer
6ed5d507f4 Naming of generic autopilot stage and environment reorganization
Fix a duplicate stage name of the generic autopilot (Altitude Hode Stage 2)
Move environment relevant files from into FGDATA/Environment
2010-08-23 21:46:09 +02:00
Anders Gidenstam
049d98ad8e Updated WalkView:
- Added support for additional manager objects, e.g.
  for animating a 3d model or move a JSBSim pointmass.
- Improved the documentation.
- Some bugs removed.
2010-08-16 23:12:26 +02:00
Vivian Meazza
8aa66f9788 Make persistent contrail models generic
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-06 14:31:31 +01:00
Anders Gidenstam
82d72bf976 Updated WalkView: Improved documentation. 2010-08-01 23:21:46 +02:00
Heiko Schulz aka HHS
2fd440f551 Comit- maybe wrong, still learning ;-
Signed-off-by: Heiko Schulz aka HHS <Heiko.H.Schulz@gmx.net>
2010-07-04 14:03:38 +02:00
Heiko Schulz aka HHS
4286cac83a Add some lousy CubeMaps and CubeCrosses
Signed-off-by: Heiko Schulz aka HHS <Heiko.H.Schulz@gmx.net>
2010-07-04 14:01:00 +02:00
Heiko Schulz aka HHS
be85a87598 First comit of new CubeMaps for the reflectionshader
They are not perfect as the Equipement is not good enough, but though they works quite good!
RealLife-images, Images made in FGFS and Custom-Gimp-made.

Signed-off-by: Heiko Schulz aka HHS <Heiko.H.Schulz@gmx.net>
2010-07-04 12:45:04 +02:00
Torsten Dreyer
bafc98ee5b New autopilot subsytem implementation.
The new A/P implementation does not contain the hardcoded "helper" functions
anymore. The properties created in these helpers are now generated by
autopilot components defined in generic-autopilot-helper.xml which is
included by default in preferences.xml
2010-06-24 17:05:12 +02:00
Torsten Dreyer
7a7ac553fa Prepare for moving the hard coded A/P helpers into XML
Currently, there are some hard coded autopilot helpers.
They can (and should) easily be modeled in an external XML file.
The filter in this file produce the exact same output as the hard coded
filters.
This is just a preparation step for a smooth transition at a later time.
2010-06-11 22:05:55 +02:00
Anders Gidenstam
2603c1283f Updated WalkView.
- Added support for enter and exit events.
- Improved handling of eye height.
- Added support for side stepping.
2010-06-05 13:07:52 +02:00
BARANGER Emmanuel
c3e0425436 - move Fuselagereflect.eff in Aircraft/Generic/Effects 2010-06-03 19:30:02 +02:00
Anders Gidenstam
56a6a8a429 First public release of WalkView a system to manage walkable views. 2010-05-18 22:32:29 +02:00
vmmeazza
225633dfa9 Add reflection effects 2010-04-03 18:56:02 +00:00
vmmeazza
b33e332709 Remove incorrectly mapped cube cross. Add correct cube cross 2010-04-02 13:51:39 +00:00
vmmeazza
e7444434c5 Used with reflection effect - needs this patch ftp://ftp.abbeytheatre2.org.uk/fgfs/Shader/Reflect/cube-map.patch which will be included in Simgear soon (hopefully). 2010-03-28 11:20:09 +00:00
vmmeazza
b84c39f1c9 Add an environment map for use with shaders 2010-03-16 20:42:08 +00:00
jmt
08aca14c8a Dave Perry: smooths transition to glideslope for CenturyIII autopilot 2009-11-08 18:48:54 +00:00
jmt
69edaea2f4 Dave Perry:
Added GS out of range flag to Instruments-3d/vor.

Century III upgrades
 1.  Implemented the two 20 sec checks for GS arm documented in the autopilot POH page 30.
 2.  Fixed bug that made GS capture not work if the ALT switch was turned off for a few moments to do a step-down approach.
2009-09-18 08:58:10 +00:00
jmt
310c375ebc PA-24 and PA-26 glideslope fixes from Dave Perry, including updated autopilot gains. 2009-09-13 08:10:56 +00:00
jmt
4678f67cb2 Initial work on standardising glideslope needle behaviour in aircraft. C172P works (including KAP140 APPR capture), and Primus-1000 based aircraft display correctly. 2009-09-09 10:49:36 +00:00
tat
ceb41118fe Removed: fcs.nas; Renamed to helicopter-fcs.nas 2009-06-13 15:42:35 +00:00
tat
0fdd5ba0f4 Updated: to the latest fcs.nas; fcs.nas will be removed since it is only for helicopters (not a generic fcs) 2009-06-13 15:38:27 +00:00
tat
51f0a7897a Fixed: wrong usage of _setlistener 2009-06-12 18:00:53 +00:00
helijah
6ca37b3a42 *** empty log message *** 2009-06-11 22:55:36 +00:00
tat
41407b9448 Moved from OH-1/Nasal/fcs.nas, with the following updates:
Added: Comments and explanations
Added: Backup FCS to fcs.nas
Modified: fcs for switching attitude / rate hold mode on CAS
2009-06-11 11:52:20 +00:00
helijah
a131434679 - fcs.nas generic by Tat 2009-06-09 17:07:47 +00:00
dfaber
98bead93b7 Some Logos and a generic Logo Submodel 2009-05-06 19:10:14 +00:00
vmmeazza
aa96adf5a0 Remove leading "/" 2009-01-16 17:02:41 +00:00
vmmeazza
e27e1a73d8 Add Alexis Bory's nice glass shader texture for general use 2009-01-05 17:31:58 +00:00
mfranz
6f6aef2fed change from deprecated props.initNode() to props.Node.initNode() 2008-11-20 20:00:26 +00:00
mfranz
0b453c6da3 - drop cmdarg() usage in listener functions
- use var keyword
2008-10-12 18:50:06 +00:00
vmmeazza
5a642cc2e6 Update parameters 2008-10-08 17:30:37 +00:00
vmmeazza
ee515582d0 Add rain spray effect 2008-10-08 16:51:40 +00:00
vmmeazza
0f0ac568d4 Add generic tyre smoke 2008-10-05 22:53:41 +00:00
abory
3600255914 - Alexis Bory: radardist.nas radardist.xml have nothing to do here.
Moved permanently to Aircraft/Instruments-3d/radardist/.
2008-10-05 14:32:44 +00:00
abory
ac84c93b68 - Alexis Bory: minor fixes. 2008-09-27 20:33:29 +00:00
mfranz
c23971dcca aar.nas: minor cleanup 2008-08-14 21:38:32 +00:00
mfranz
2e6ffd34e6 s/system/type/ ... that's more consistent with the rest and less confusing 2008-08-13 22:56:21 +00:00
mfranz
2e6a1dc224 - make sure that aircraft can only refuel from tankers which support the
appropriate system ("probe" or "boom")
- use props.initNode()
- cosmetics
2008-08-13 22:03:59 +00:00
abory
f951225d81 Removed pointless creation of a geo.Coord . 2008-08-02 14:58:42 +00:00
abory
ea43922437 - Alexis Bory: use io.read_properties() instead of fgcommand(load). 2008-07-17 21:06:29 +00:00
abory
5eaebdb728 - Alexis Bory (and Melchior):
- Changed properties name in the XML: radardist -> radar-performance.
- Corrected spelling of data.
- Shortened the init message.
This doesn' change the way to call radardist.nas functions.
2008-07-11 21:10:48 +00:00
abory
dde3389421 - Alexis Bory: radardist.nas now reads its datas from $FG_ROOT/Aircraft/Generic/radardist.xml. 2008-07-08 10:16:38 +00:00
abory
5c054b5afc - Alexis Bory: radardist.nas now reads its datas from this XML file. 2008-07-08 10:08:51 +00:00
abory
166f5c8b96 - Alexis: oops, should better test before committing. 2008-06-05 21:10:43 +00:00
abory
ba83e856cf - Alexis: ooops I forgot Jettoo's last additions in the tables. 2008-06-05 19:44:09 +00:00
abory
40d9b0e400 - Jettoo (glazmax) and Alexis: Radar Visibility Calculator. 2008-06-05 19:37:32 +00:00
mfranz
f8f63fcd8d use props.initNode() & simplification 2008-06-04 20:52:09 +00:00
mfranz
52ed2de4c3 Roy Vegard OVESEN: add "var" keywords 2007-11-28 20:09:59 +00:00
mfranz
5d26f635bf Dave PERRY: 'adds "var" for local variables' 2007-11-25 20:43:43 +00:00
mfranz
7253f8633b Dave PERRY:
"I have been working with Torsten Dryer to model
these three autopilots that are very common in aircraft manufactured in
the 1960s through the late 1980s.  The Altimatic IIIc in the SenecaII is
a variation on the Century III and uses the same nasal model."

mf: these should be in cvs since a while; somehow I missed them, sorry
2007-10-14 07:24:35 +00:00
mfranz
ecb335ddb5 - use var keywords on functions to avoid module name collisions
- drop some braces
2007-10-01 22:31:30 +00:00
mfranz
3cdf961214 s/wxradar/radar/ 2007-06-24 19:58:20 +00:00
mfranz
6a7dc46bd2 - s/aircraft/tanker/ (patch inspired by Alexis BORY :-)
- add support for /systems/refuel/serviceable flag  (can be set to false
  by the aircraft as long as the door over the boom entry is closed, etc.)
2007-06-16 00:44:44 +00:00
mfranz
a41ba9f403 suppress output ...
- in replay mode
- when trying to raise the flaps, but they are already fullly up
- when trying to retrace the gear, but it is already retracted

more cleanup later ... much later  :-)
2007-06-13 20:49:11 +00:00
mfranz
47ddb39e0f Roy Vegard OVESEN:
- Automatic pitch trim (use autopilot/KAP140/settings/auto-pitch-trim to turn
  on/off)
- Aural altitude alerter. Uses the same sound file as the stall warning.
- Replace custom flasher routines with nasal aircraft.light objects.
- Cleanup.
2007-04-26 18:04:51 +00:00
mfranz
663b382b7d John DENKER, Dave PERRY, Roy VEGARD OVESEN: altimetry fixes 2007-03-31 09:38:18 +00:00
mfranz
3139f01083 use new vector concatenation feature :-) 2007-03-30 20:27:07 +00:00
mfranz
f236a438b8 Fix redundant elsif, fix and simplify broken fill-up code.
(Pointed out by Csaba HALASZ)
2007-03-29 18:25:48 +00:00
mfranz
137f1cef4a fix out-of-fuel bug 2007-03-29 14:46:00 +00:00
mfranz
3a3ee3a5d0 - work around broken props.Node.getBoolValue()
- simplification & cleanup
2007-02-04 22:09:43 +00:00
mfranz
43435d1077 - reset engines' consumed fuel
- change variable name
2007-02-04 20:20:45 +00:00
mfranz
10efd065c4 Dave Perry & Roy Vegard Ovesen:
"This patch allows all the AC using the kap140 to use one kap140.nas
which includes Roy's move to "bool" values as well as the check for
power used by the pa24-250." (dp)
2007-02-04 12:55:28 +00:00
mfranz
e9d645170f comment out fuel of generic panel. This is included by preferences.xml and
includes Instruments/fuel.xml. And *that* one creates tank[0] and tank[1]
for *all* aircraft, which is quite annoying. A generic panel should display
fuel numerically (like Lee's panels do) or as %.
2007-01-30 20:41:49 +00:00
mfranz
410950b7b2 Nasal version of former src/Instrumentation/annunciator.[ch]xx 2007-01-29 22:24:05 +00:00
mfranz
bb0b01d0e6 Roy Vegard Ovesen:
- finish cleanup/optimization of instrumentation system (started by mfranz)
- improve configuration of special properties by
  addressing them directly
2006-12-06 22:15:01 +00:00
mfranz
79fea79cae use correct max_gear value 2006-12-06 13:19:56 +00:00
mfranz
0e62263eaf generate some nodes if they don't exist yet (this was left out on purpose,
as missing nodes should point to more serious problems elsewhere, but this
state can happen in normal situations, too)
2006-11-25 17:49:23 +00:00
mfranz
115b4a04ea replace cheesy wait_for_fdm() loop by a reliable signal callback 2006-10-26 09:23:53 +00:00
mfranz
2d2674d952 don't set nil values with props.setDoubleValue() 2006-10-17 20:33:02 +00:00
mfranz
f6c6eaf5b7 minor cleanup & optmization
aar.nas disables $FG_ROOT/Nasal/fuel.nas' main loop, as it should be able
to fully replace it. Ideally, there would be no aar.nas at all, and fuel.nas
would do the job for YASim & JSBSim. Unfortunately, there's a problem with
fuel.nas that's not easy to fix ...
2006-08-27 13:38:29 +00:00
mfranz
8994a4df3f - merge YASim fuel management parts in (should still work with JSBSim as
far as this supports air refueling at all)
- make listeners keep variables up-to-date (for better performance)
- remove the ugly initialization stuff in the main loop, but wait in
  an extra loop for the FDM to come up

This script works now with the a4f, too. The vulcan2 is *supposed* to
work, but there's apparently a bug in it that prevents it.
/systems/refuel/contact is correcly set, and that should be enough for it.
2006-08-27 12:25:43 +00:00
mfranz
5011ae6ca4 generic aar.nas (air-to-air-refueling). Meant to replace all the files
lying around everywhere. Used by the vulcan2 already. Cleanup pending.
2006-08-26 17:47:53 +00:00
fredb
026a2bb4b0 Jean-Yves Lefort :
I have implemented a Honeywell MK VIII EGPWS emulation for FlightGear.
The MK VIII is an Enhanced Ground Proximity Warning System aimed at
regional turboprop and small turbofan aircrafts such as the Citation,
Citation Bravo, B1900D, Beechcraft 99 and L410.

Frederic Bouvier:
make the MSVC compilation possible. Rearrange base package directories.
2006-03-04 20:29:50 +00:00
mfranz
92c5097250 Stuart BUCHANAN: update; replace screenPrint with screen.log.write(); ... 2006-02-15 22:53:23 +00:00
ehofman
dfd4d87c8a Ron Jensen: energize the TACAN. 2006-02-03 08:44:26 +00:00
ehofman
7f11bb92db Stuart Buchanan:
- Provide generic Nasal code to check if a pilot is abusing their aircraft
  by extending their gear/flaps above the maximum allowed speed, exceeding
  Vne, or pulling excessive G-forces.
- Implement limits within the C182.
2006-01-06 09:47:58 +00:00
ehofman
fec91079ae Harald JOHNSEN: Add a (test) WxRadar instrument. 2005-10-08 12:13:43 +00:00