1
0
Fork 0
Commit graph

210 commits

Author SHA1 Message Date
frohlich
b74fcbdc15 Set the ambient color equal to the rgb color.
This is what currently is done in flightgears model loading stage anyway.

Modified Files:
 	Instruments/dme/dme.xml Instruments/kr87-adf/ki227_228.ac
 	Models/c172p.ac
2009-03-19 08:17:27 +00:00
torsten
0174df9bd6 improved KR87 ADF: nicer texture, pick animation
removed unused files
2009-03-06 12:50:05 +00:00
torsten
8f29103bbe - use named arg instead of arg[n]
- save state to aircraft.data
2009-03-06 12:42:34 +00:00
torsten
44434783c8 remove SenecaII dependencies 2009-02-09 15:32:03 +00:00
ehofman
dbd3cf8a5a Sync. with JSBSim CVS 2009-01-26 20:37:19 +00:00
stuart
3f99696e59 Add pre-takeoff tutorial, and fix some minor mistakes in other tutorials. 2009-01-04 22:07:33 +00:00
stuart
997cbfc50a Split up tutorials into separate files, and add new tutorials for the c172p. 2008-12-31 16:25:45 +00:00
mfranz
a539007e3b remove unused file 2008-12-22 22:07:15 +00:00
martin
4b1b409f6f Heiko Schulz:
Remove obsolete duplication.
2008-12-13 22:24:37 +00:00
torsten
748ad889d4 Provide a proper(?) initialization of kma20 switches. 2008-12-12 10:58:26 +00:00
torsten
8ac84a94a9 New livery. In memory of D-ENMU 2008-12-06 15:42:00 +00:00
torsten
865441a597 swapped upper and lower kx165, so com1 is above com2 2008-12-06 11:41:41 +00:00
torsten
80268b4b48 - Added new intrument: ki266 dme indicator 2008-12-05 19:54:50 +00:00
torsten
5fa71805f9 - Added new intrument: ki266 dme indicator
- Use global kx165 nav/com radios, not local copy
- minor repositioning of kap140
2008-12-05 19:54:00 +00:00
torsten
75bb083354 New instrument: ki266 dme indicator 2008-12-05 19:51:42 +00:00
torsten
8b1b4b8d68 Added new intrument: kma20 Marker/Audio panel 2008-12-05 14:07:22 +00:00
martin
7cd39fb3f3 Heiko Schulz:
-new better panel
-added lights and made them switchable
-doors can be open now (pick animation)
-added some liveries by Brett Harrison
-added paintkit by Brett Harrison
-converted liveries to png
-replaced radio stack with 3d-radios, DME and marker-lights yet missing
-minor bugfixes
-added glass shader with fresnel effect

still work on the interior to do like the seats, walls and so on...
2008-12-04 23:13:09 +00:00
martin
922a09ebcf Heiko Schulz:
-new better panel
-added lights and made them switchable
-doors can be open now (pick animation)
-added some liveries by Brett Harrison
-added paintkit by Brett Harrison
-converted liveries to png
-replaced radio stack with 3d-radios, DME and marker-lights yet missing
-minor bugfixes
-added glass shader with fresnel effect

still work on the interior to do like the seats, walls and so on...
2008-12-04 22:44:18 +00:00
mfranz
8d9eb9190e initialize /sim/model/livery/file so that it gets sent via MP 2008-11-18 18:36:20 +00:00
martin
bf59d755aa Brett Harrison:
Some different liveries made after real aircraft
2008-10-31 18:40:32 +00:00
mfranz
09a682a610 cmdarg() in listener functions is no longer supported; use regular func args 2008-10-12 20:35:38 +00:00
martin
3465b98f40 Myself: .... didn't load the default livery properly. 2008-10-12 14:59:14 +00:00
martin
3c589caf9d Heiko Schulz:
....  didn't load the default livery properly.
2008-10-12 13:56:41 +00:00
martin
5558852110 Unify line endings 2008-10-11 23:17:23 +00:00
martin
20d64b1fb1 Fix typo. 2008-10-11 22:59:22 +00:00
martin
c64d2e1b69 Heiko Schulz:
Binary files for C172-update
2008-10-11 22:46:58 +00:00
martin
f30e034e55 Heiko Schulz:
A big step at bringing the default aircraft into the state it actually
deserves.

Features:
- new, accurate exterior modell, modelled with original 3-views by Cessna
- textures with shadow shading
- livery changing sytem over mp
- immatriculation over mp
- glass shader with fresnel effect
- nearly complete 3d-panel

Known Bugs:
- Radio_Stack shines through the fuselage. New 3d radio_stack has yet to be done.

To-Do:
- Suction-Instrument
- Interior with much more details and painting
- Radio_stack
- doors openable
- lights
- fully animation of the gear
- failure system by Erobo
2008-10-11 21:50:45 +00:00
torsten
e8de9bda15 Ron Jensen:
This is a patch to the c172p fdm to add pointmasses for all four
occupant positions and baggage.  The X locations were taken from the
c172 type certificate 3A12 dated September 15, 1998.  As the new
pointmasses have a weight of 0 they will not affect the current model,
however we are extending the FlightGear weight and balance dialog for
JSBSim and the pointmasses have to be defined.
2008-09-01 15:14:33 +00:00
ehofman
23b0c9f6cb Update engine performance to match the latest version of JSBSim 2008-08-26 07:56:56 +00:00
mfranz
b60406b905 remove garbage 2008-08-18 09:34:12 +00:00
ehofman
f720eeb2ef Sync. with JSBSim CVS 2008-08-08 08:56:08 +00:00
mfranz
2f8b4b02ac add unit suffixes -nm and -deg to /sim/presets/offset-{distance,azimuth} 2008-05-01 21:29:39 +00:00
curt
c6b7709cba Don't set the volume louder than is allowed by OpenAL. 2007-05-29 15:28:36 +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
39126a911c fix <condition> that wasn't fully converted to the new system 2007-03-26 16:40:17 +00:00
mfranz
7f375cf76c s,/sim/tutorial,/sim/tutorials, 2007-03-24 13:32:15 +00:00
mfranz
4762fb1db9 use self-closing tag instead of empty tags 2007-03-22 22:44:00 +00:00
mfranz
9e04231685 adapt for tutorial.nas changes 2007-03-20 16:26:00 +00:00
mfranz
83c6911af2 adapt to tutorial.nas changes 2007-03-19 23:47:40 +00:00
martin
3831675000 Dave Perry:
Changes:
1.  remove typo from all the /Systems/KAP140.xml files
2.  changes to put radio_stack in Instruments-3d
3.  Add "pick" to vor, alt, hi, in Instruments-3d
4.  changes to pa24-250 and pa28-161 to use 2 and 3.
5.  add "pick" and "2d text in window" in 3d OAT in pa24-250
2007-02-10 21:24:46 +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
9117ddf71d --aircraft=c172p-panel-only set file (some instruments like fuel, egt,
pressure don't work yet)
2007-01-31 17:58:48 +00:00
ehofman
fbfb30473a Sync. w. JSB CVS as of 15/01/2007 2007-01-15 12:50:44 +00:00
mfranz
952c006a08 Stuart BUCHANAN:
avoid long lines, because they aren't displayed *at all* with plib <= 1.8.4
if they stick out of the screen on the left side
2006-03-28 22:54:16 +00:00
ehofman
e13e20883d Sync. w. JSBSim CVS. 2006-03-13 15:27:14 +00:00
daveluff
c635f08dc7 Jean-Yves Lefort: The attached patch restores normalized control surface positions on the c172p 2006-03-06 21:12:52 +00:00
david
61eef54dac Changes from Dave Perry:
I put 3 patches and a sound file in this tar.  The c172p... patch
removes an unnecessary patch I submitted to the c172p.  It has no affect
on performance.  The Instruments-3d... patch adds a working skid ball to
the tc and switches the vor xmls to using params so it is easier to
edit.  It also constrains the glide-slope needle to -32 to 32 degrees.
The pa24-250... patch fixes an edit error (corrects a misnamed switch
"click", no change in performance) and adds a "squish" sound to the
primer pump action.
2006-03-04 13:29:30 +00:00
mfranz
ceeb9503f8 Stuart BUCHANAN:
Nasal/XML based tutorial system
2006-02-22 17:03:42 +00:00
david
be1a0a1c9e I made a minor change to one file in the c172p that accommodates a
feature I added to the navcom-kx155.xml and the dme.xml in the
Instruments folder.  I wanted to leave the frequencies, etc. on these
dark until there was voltage applied to
/systems/electrical/outputs/nav.  This was accomplished by adding a
param and property alias  pointing to the appropriate value.  Since the
c172p "always" applies 28 volts, this made no change in the c172p, but
allowed me to model the avionics master and battery master realisticly
in pa24-electrical.nas.  I put in comments explaining this at the change
points.

There is a useful  "help > aircraft help" that walks you through the
start procedure and lists the key bindings as well as the key to "light
up" the hot spots.
2006-02-12 17:31:21 +00:00
ehofman
f6cd3d54d8 sync. with JSBSim v. 2.0 2006-01-12 15:03:25 +00:00
daveluff
a08c2e07c7 Rearrange the 2d c172 panel to add a kln89 GPS unit and md41 annunciator and gps/nav switch 2005-11-30 01:10:31 +00:00
curt
72e1e46116 Convert the c172p and c172r to use the new nasal electrical system. 2005-06-14 20:58:07 +00:00
ehofman
ec8742bd65 Melchior FRANZ:
Implement simple help system with global and aircraft specific dialogs:

The gui.nas changes have been discussed with Andy. All ac have a help dialog,
but some are empty. (This wouldn't have been necessary, as the system falls
back to the "Common Aircraft Keys" if an aircraft has no help defined, but an
empty dialog is less confusing and encourages to be filled with interesting
information.   :-)    I scanned all aircraft files for interesting performance
data and added some to the dialogs (stall speed, etc.) The Concorde and the
p51d have (over?)complete dialogs and can serve as examples. The format is
documented in $FG_ROOT/Nasa/gui.nas.

There is also a couple of other, minor fixes.

The following files have ugly MSDOS line endings:

  $FG_ROOT/Aircraft/Hunter/hunter{-2tanks,}-set.xml
  $FG_ROOT/Aircraft/A380/A380-set.xml


The Concorde-jsbsim.nas file is a useless copy of the real */nas file, which is
in Nasal/. I'was debugging the Concorde and wondered why changes to this file
had no effect ...
(Fixed Concorde in the help-ac.diff patch: don't use "interpol" keyword as
variable.)
2005-04-19 13:43:44 +00:00
ehofman
34648bb1f9 Remove some unused texures and re-install the 2d panel. 2005-02-22 18:25:00 +00:00
ehofman
8cc903dfe6 Reinstall the c172p, 3d cokcpit only for now 2005-02-19 10:51:46 +00:00
ehofman
2c8aaa35ee Remove the c172p, there will be an updated version shortly. 2005-02-19 10:48:48 +00:00
jimw
144eef5ce7 Thumbnail 2005-01-18 06:05:24 +00:00
jimw
7b3b826042 Author tags 2005-01-18 03:11:34 +00:00
curt
0a1edc2d53 Add a missing texture file. 2004-12-29 20:03:35 +00:00
curt
73a9cb2849 Dave Martin:
Changes made 19/12/2004

Panel re-oriented
3d Compass shows through windows.
Wing-tips slightly altered.

Changes made 18/12/2004

Prop spinner shortened and widened
Nose area slightly remodelled to fit silouette
Nose texture altered to place lower intake correctly

Nose wheel reduced in size.
Nose leg Oleo guide added (does not rotate - is this correct with real ac?)
Nose wheel Axle added.
Nose wheel fixed to rotate about it's shaft axis.

Windscreen / panel mesh changed so that panel no longer protrudes thru dash
Panel instruments moved to represent the geometries of the real cockpit.
Pilot / Copilot Yokes moved inboard to represent the geometries of the real cockpit.
Alpha layer added to interior texture to prevent panel showing through seats / yokes.
Interior texture duplicated and mapped to panel only to allow panel to show.
Front seats moved slightly inboard.

Landing light pair added to port wing texture.
Alpah layer added to wing texture to prevent panel showing through.
Texture remapped to Flaps (no shows ribs again).
Wing strut outer joins brought inboard to point of wing taper to match real aircraft geometries.
Wing struts thinned in front profile and thickened in side profile.
VHF aerials moved aft to their usual position.
Maingear legs altered so they now join with the fusealage (previously, 20cm gap)
Rear window altered slightly to match silouette.

Rear (white) Navigation Light made to translate with the rudder.


Not yet done: independant landing and taxi lights on port wing
2004-12-25 16:47:14 +00:00
curt
a355aa410d More /radios -> /instrumentation property name changes. However, we are still
missing something because the nav1 and nav2 are still inop.
2004-12-04 20:37:04 +00:00
curt
789560ea22 Roy Vegard Ovesen:
I've finished the emigration of the radiostack, and I've also removed it
completely. It turned out that the comm radio is completely implemented in
the ATC subsystem. I've changed the affected ATC files to point
to /instrumentation/com, but I guess that the maintainer of the ATC code
should decide wether to make it configureable, and how.

I also had to change some files in Network and Main. The changes in network
should be obvious, but the changes in Main were a bit suspect. The files
included radiostack.hxx, but they weren't directly depending on
radiostack-hxx. They were depending on other files that were included by
radiostack.hxx. I got it to compile, but I'm not sure if I included the
correct directly depending file.

For the data directory I changed every occurrence of /radios/
with /instrumentation/ with this simple one-liner that I found on the net:

find -name '*.xml' -type f | xargs perl -pi -e
's/\/radios\//\/instrumentation\//g'

Instead of me sending all the files that got changed by this I suggest that
you execute the one-liner yourself. Of course I can not guarantee that this
will work perfectly, but I considered hand editing to be not an option (I'm
lazy). I don't want to test every aircraft to see if everything still works,
I think it's better to wait and see if anyone complaints about broken nav
radios/instruments.
2004-12-03 21:25:48 +00:00
ehofman
93433d7c56 Roy Vegard Ovesen:
The KAP140 Autopilot is now fairly complete. I've added altitude arm, moved
the FPM number display and cleaned up the code a bit.
2004-11-01 09:34:16 +00:00
ehofman
a942ce005a Add some status levels 2004-10-28 11:44:46 +00:00
ehofman
8ee606eea8 Roy Vegard Ovesen:
Here are some updates to the KAP140 autopilot in the default c172. It now uses
ailerons and elevator instead of aileron-trim and elevator-trim. I've started
to "upgrade" it to the "two axis altitude preselect" version. Vertical speed
select rounds to nearest 100 fpm.

I've also modified the c172 electrical configuration to turn on the gps
instrument.

Perhaps the most important change is that the nasal script for the KAP140 has
moved from data/Nasal to the c172p aircraft subdir. So it is important that
you delete data/Nasal/kap140.nas. Having the kap140.nas script as a global
script was not a good solution. Now it is aircraft specific, and thus
included in the c172p-set.xml file. Ideally I would like it to be instrument
specific, so that it would be included whenever the KAP140*.xml instruments
where included on the panel.
2004-10-17 17:41:05 +00:00
ehofman
0b4ffa7117 Reorganize the 172 types a bit so they all reside in the proper directory. This solves some problems for JSBSim which couldn't find it's configuration files in the right places (which was temporarely solved by duplicating the file) and fixes some refferences to other files (at least, that's the idea). 2004-08-17 09:23:52 +00:00
ehofman
e8adb7d0c8 Sync w. JSBSim CVS 2004-06-14 11:41:36 +00:00
curt
2af0a69765 Property /sim/sound/audible renamed to /sim/sound/pause
Individual aircraft -set.xml files shouldn't set global sound/volume
properties for the entire application.
2004-05-14 15:54:22 +00:00
curt
8ab947db84 Roy Vegard Ovesen:
Here is the KAP140 Two Axis Autopilot update.

I think it's fairly complete now, all the modes are working. I tested the
localizer and glideslope hold and it was pretty stable all the way down to
the middle marker.

In the pilot guide for backcourse hold (REV) mode it says to reset the heading
bug to the _front course_. I haven't figured out how to implement this so for
the time beeing one should reset the heading bug to the _backcourse_. Apart
from this the panel should operate identical to the way the pilot guide
describes.
2004-04-16 22:14:00 +00:00
curt
0dda4feaa0 Roy Vegard Ovesen:
Here is the KAP140 Two Axis Autopilot.

Aircraft/Instruments/KAP140TwoAxis.xml
Is of course the instrument config file.

Aircraft/Instruments/Textures/KAP140.rgb
The texture.

Nasal/kap140.nas
Most of the work is done here. Without Nasal I don't see how I could implement
the NAV-ARM modes and the flashing annunciators.

Aircraft/c172p/Systems/KAP140.xml
The autopilot PID controllers configuration file. Maybe this file should be in
a more accessible directory and not hidden deep inside c172p!?

I've also attached the changes to the default C172 to include this autopilot
in the 3d-cockpit panel and the 2d vfr panel. Or at least I hope that I've
managed to include all that is needed.
2004-04-16 21:59:51 +00:00
ehofman
85cb214a18 Frederic Bouvier:
this one missed the release  The right aileron animation of the
c172p is inverted.
2004-03-30 08:32:42 +00:00
david
c425703651 Use only two top-level configuration files:
--aircraft=c172p
  --aircraft=c172p-2dpanel
2004-03-18 03:37:14 +00:00
ehofman
a724d92bd4 Add support for a Visual Reference Point 2004-02-14 10:19:25 +00:00
ehofman
d8adde1657 Use relative paths for the animations rather than absolute paths 2004-01-23 20:10:03 +00:00
ehofman
5d230c227b Use the new controlls property layout for external lights 2004-01-17 10:33:18 +00:00
ehofman
a409f14df0 Synchronize the JSBSim aircraft directory and FlightGear's Aircraft directory. 2004-01-15 09:56:37 +00:00
david
228f05d0a5 Remove the deprecated "INVERT" keyword. 2003-11-25 17:09:16 +00:00
david
f3134efbc7 Lose the 2D mag compass, and use a new, 3D one instead.
Warning: this may look like crap without a plib patch.
2003-10-05 20:13:46 +00:00
ehofman
8b726485c4 paul mccann:
I added some more hotspots to Davids c172p since he already had done all the animation. Also I tried making the throttle and mixture knobs into hotspots even when they are moving adding extra hotspots for them.  Also you can click on the trim wheel to trim now.

I added a directory for the labels for the white toggle switches, but there is probably better way to do the labels then I came up with.  There is a short readme file which gives the path for the new directory.
2003-09-22 08:26:32 +00:00
curt
98804a6793 Move *-set.xml and Aircraft-yasim/*.xml into their individual aircraft
subdirectories in yet another step towards making aircraft more self
contained rather than potentially spread out.
2003-09-20 03:57:12 +00:00
curt
93b035b0b0 Paul Mcann:
I added some hot spots to the default c172p-3d.
2003-09-15 15:40:26 +00:00
ehofman
413f9b3f5f Some more small controls updates 2003-04-02 08:45:35 +00:00
david
8118e6a482 Fix to use renamed /control properties. 2003-04-01 15:46:50 +00:00
david
c3cddade91 Yank out the autopilot and add a DME instead. 2003-01-18 22:05:17 +00:00
david
c2ca4bf71a Rolled back some changes to improve handling. 2002-12-22 20:05:22 +00:00
david
55620c983f Disable logging. 2002-12-12 18:40:04 +00:00
david
28d36f2685 Higher precision for vertex locations. 2002-12-06 12:16:57 +00:00
david
3e85bbb246 Toned down yaw from rudder and ailerons a bit. 2002-11-27 17:49:38 +00:00
david
0b62241a7b Latest version from JSBSim CVS.
Make the plane much sloppier at high alpha and/or with the flaps
extended.  In slow flight, there's much more lateral instability now,
and adverse yaw is more obvious at the start of a turn using only
ailerons.
2002-11-27 16:00:47 +00:00
tony
281658459d Updates from JSBSim. Includes two new aircraft from Erik Hofman, the f104 and f15. 2002-11-23 16:06:30 +00:00
david
06d40db457 Removed alpha component (and switch labels) from 3D panel. That fixes
the bleed-through problem -- it occurs only when the texture has an
alpha component.  It's not a good, long-term solution, though.
2002-11-19 03:36:37 +00:00
david
2a346c9e3c Repositioned and improved left and right nav lights; added white rear
nav light; enlarged beacon.
2002-11-17 11:24:48 +00:00
david
e2f795a0b9 Added electronics switches to the panel. They cannot (yet) be
activated with the mouse, but they do respond to the following
properties:

/controls/lights/taxi
/controls/lights/landing
/controls/pitot-heat
/controls/lights/navigation
/controls/lights/beacon
/controls/lights/strobes
2002-11-16 16:03:57 +00:00
david
4283451d92 Additional texturing on seats, yoke, trim wheel, carb heat knob,
throttle, and mixture knob.
2002-11-16 02:28:40 +00:00
david
103595d38a The model now has several animated (but untextured) 3D controls:
- yokes
- carb heat
- throttle
- mixture
- flap switch
- trim wheel

Moved the pilot seat back slightly.

Use LOD more aggressively, so that all the interior detail is skipped
when the viewer is distant.
2002-11-13 16:49:30 +00:00
david
3ce07eb94c Added untextured (but animated) control yokes. 2002-11-13 02:43:47 +00:00
david
6465aea9c7 More modifications to the 172p:
- added untextured seats
- moved the panel back to the proper position
- changed viewpoint and field of view
2002-11-11 21:52:40 +00:00
david
8f98338e21 Improve curve of instrument panel.
Add VHF antennas to top of fuselage.

Better propeller disks when spinning fast.

Took green tint out of pitot tube.
2002-11-11 02:51:16 +00:00
david
cab674876f Added beacon and navigation lights. 2002-11-06 16:01:53 +00:00
david
ae27863994 Fix prop and window alpha order (again). 2002-11-02 20:13:07 +00:00
david
04679b7f29 Rounded wings more where the air vents will go.
Expanded chamber of pitot tube.
2002-09-30 14:04:58 +00:00
david
0e673b222b Fixed reversed aileron animation. 2002-09-30 14:04:15 +00:00
tony
d50ac80260 Updated all JSBSim aircraft config files to new file format 2002-09-24 12:56:05 +00:00
david
8804257902 Use prop_generic2f to get a reasonable propeller. 2002-09-20 20:48:09 +00:00
david
1dbb51e74d In JSBSim, the c172 model has split into c172p.xml and c172r.xml.
Reflect those changes here.
2002-09-20 17:45:00 +00:00
david
e466df8964 Removed unused textures. 2002-09-20 17:41:02 +00:00
david
5711fe3949 Improvements to aircraft interior. 2002-09-14 16:25:00 +00:00
david
0fa583feba Updated with animations, more detail, and new panel. 2002-09-08 19:14:27 +00:00
david
ad929fcc6e Some more improvements to the 172p model. 2002-09-04 21:33:52 +00:00
david
3c14bbfedb In-progress C172p stuff. Nothing exciting yet. 2002-08-05 18:17:29 +00:00