1
0
Fork 0
Commit graph

276 commits

Author SHA1 Message Date
ThorstenB
ebcfc739bd c172p: fix electrical system
Most control switches used with mismatching names.
Make effects depend on electric power, not just switch state.
Calculate some (more) meaningful electric load.
2012-09-16 23:19:36 +02:00
Emilian Huminiuc
2c058f9c1f New effect: Effects/model-combined-transparent
Switch c172p and concorde glass effects to the new effect.
Docs/model-combined.eff/: Updated transparent effect template.

From now on Effects/model-combined should not be inherited from directly.
Use either Effects/model-combined-deferred
or Effects/model-combined-transparent

Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-09 22:28:45 +03:00
Emilian Huminiuc
023c6bc97a c172p: adapt local effects to the change in model-combined and model-combined-deferred
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-09 14:39:26 +03:00
Thomas Geymayer
d5cdf29342 Fix c172p-canvas crashing fgrun and update description 2012-09-05 23:18:24 +02:00
Thomas Geymayer
220702e8b1 Canvas: Add a canvas demonstration using the c172p
- Add new type of c172p (c172p-canvas) demonstrating the usage of
    the Canvas system.
2012-09-04 23:23:40 +02:00
ThorstenB
f5bfd65f72 c172p: use directional gyro for heading indicator
Also use c172-specific instrumentation list.
2012-08-23 21:54:05 +02:00
Stuart Buchanan
d2bc548162 Define weight limits, which are displayed on the Weight and Fuel Settings dialog. 2012-07-29 22:47:54 +01:00
ThorstenB
2b846cbddb c172p: kma20 audio panel 2012-07-18 21:26:33 +02:00
ThorstenB
fc73069ff5 c172p: use local Nasal vars, typify properties 2012-07-18 21:23:50 +02:00
ThorstenB
4cbcf93190 Set mode for data files to "non-executable". 2012-07-17 18:32:53 +02:00
Stuart Buchanan
2fb30f8128 Updated c172p tutorials with <wait> tags. 2012-07-14 21:08:54 +01:00
Stuart Buchanan
359a8ce414 Fix exit-time, step-time tags, and make the <wait> tag only apply to the
first iteration of any step.  Fix for issue #417
2012-07-14 20:20:21 +01:00
Gijs de Rooy
80676889cc Move C172P parkpos information to c172p-set.xml. 2012-07-09 22:30:44 +02:00
Emilian Huminiuc
43635e6932 c172p: tweak Rembrandt landing and taxi lights
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-07-06 00:06:52 +03:00
Stuart Buchanan
9809918b7e Improved Rembrandt landing and taxi lights. 2012-07-05 20:44:29 +01:00
ThorstenB
0a5fde86b0 c172p: fix rudder animation 2012-06-30 20:04:08 +02:00
Emilian Huminiuc
3d7b7b75dd c172p: enable reflection and minor cleanup
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-06-16 13:00:11 +03:00
Stuart Buchanan
8c072984f7 Switch off all lighting by default. 2012-06-15 22:51:53 +01:00
Stuart Buchanan
4a70fbb994 Change c172p to use model-combined-deferred effect to enable bumpmapping under Rembrandt. 2012-06-15 14:26:34 +01:00
Stuart Buchanan
d65b8b347b Change c172p to use model-combined-deferred effect, so bumpmapping works with Rembrandt. 2012-06-15 14:24:37 +01:00
Stuart Buchanan
ce52118010 Allow cockpit toggling in the c172p. Response to issue 776 on
the issue tracker.  Thanks to Tommy KARLSTEDT for noticing.
2012-06-12 11:28:50 +01:00
Stuart Buchanan
a37381b547 Fix bug in lighting controls. Thanks to Tommy KARLSTEDT for the bug report. 2012-06-11 21:50:54 +01:00
Frederic Bouvier
5cfca250b1 rename /sim/rendering/rembrandt -> /sim/rendering/rembrandt/enabled
and put rembrandt-related properties in /sim/rendering/rembrandt/
2012-05-12 09:20:04 +02:00
ThorstenB
234f741f98 Set matching XML file character encoding.
Default FG text file encoding is UTF-8. Files encoded in others character
sets must explicitly set the encoding - otherwise text decoding (and XML
parsing) may fail.
2012-05-06 10:04:01 +02:00
Torsten Dreyer
c27a4cfebe Fix #740: aircraft shall not overwrite global property-rules 2012-04-12 21:33:29 +02:00
ThorstenB
ca3ff66e36 c172p: make tank selector work
Typify boolean properties - tank selector didn't work with properties
of "UNSPECIFIED" type.
2012-04-08 23:02:35 +02:00
Frederic Bouvier
d2bda89631 Add a <nopreview/> tag to the light animation 2012-04-06 09:59:21 +02:00
Torsten Dreyer
67d1a37cfe C172P: use property-rule instead of autopilot 2012-04-05 21:03:26 +02:00
Stuart Buchanan
df41d052a5 Make c172p Rembrandt-compatible. Adds a landing light, and also fixes various
normal issues with the panel.
2012-04-01 21:37:47 +01:00
Frederic Bouvier
c6316cca0f Register the propeller disc as transparent 2012-04-01 00:04:28 +02:00
Gijs de Rooy
005838ba0c C172P: merge two <nasal> blocks to repair livery over mp. 2012-03-21 23:05:07 +01:00
ThorstenB
4ec3850aaf c172p: avoid performance drop after sim reset/relocate
"/sim/signals/fdm-initialized" triggers _every_ time the FDM is reset.
We need to uninstall the listeners after its first execution, or guard
certain parts of the initialization, to avoid starting multiple
"timer/update loops", or installing multiple property listeners.
2012-03-20 21:19:42 +01:00
Stuart Buchanan
949dbd9161 Make instrument lighting key binding repeatable, as requested by
tk_jkg  on the forum.
2012-03-06 20:45:54 +00:00
ThorstenB
ddbf4474a6 #692: don't use relative paths for references beyond the own aircraft
Relative paths break when aircraft are stored in another directory
(relative position changes).
2012-03-03 17:49:10 +01:00
Stephan Bourgeois
2529611873 Panel geometry cleanup, position of clock and EGT adjusted. 2012-01-16 22:32:04 +00:00
Gijs de Rooy
b426b4dbed Transmit door-positions over MP. 2012-01-03 21:35:26 +01:00
Gijs de Rooy
b22622a07e Taxiing tutorial: C172P does not move with throttle near idle. 2011-12-29 17:06:58 +01:00
Stuart Buchanan
9d8d7e15cc Add back FDM configuration handling a tailwind. 2011-12-21 21:24:34 +00:00
Stuart Buchanan
4735c29612 Sync c172p FDM with JSBSim version, incorporating "Add propeller induced velocity factor to Cmde and Cndr. Enhances ground operations." rev 1.27 from jentron. 2011-12-20 21:43:44 +00:00
Stuart Buchanan
8f6fabe120 Remove final dependencies of the c172p and c172r on the old 172.
This should allow the c172 directory to be deleted.
2011-12-18 21:50:44 +00:00
Stuart Buchanan
44b8ea20fa Fix incorrect property path names in animation, by removing leading /.
Fix to bug http://code.google.com/p/flightgear-bugs/issues/detail?id=524
2011-12-17 21:46:42 +00:00
ThorstenB
1a01f02f96 New FGPanel instrument panel: C172p Mini Cockpit
Also borrow some instruments from the SenecaII FGPanel project :)
2011-11-28 19:02:55 +01:00
ThorstenB
7fb3422f22 c172p: fixed attitude indicator cageing
The correct property is "caged-flag" - not "caged".
Common copy&paste error all over fgdata...
2011-11-14 19:45:46 +01:00
ThorstenB
857ba6f116 C172p: fix attitude indicator / horizon offset
Knob & hotspot were working, but animation was missing.
2011-10-30 16:55:37 +01:00
ThorstenB
6760eae7b7 c172p: fix battery gauge scaling
(Preflight check - anyone? ;-) )
Also support "omit-knobs" property for HDG instrument knob
2011-10-08 11:48:01 +02:00
ThorstenB
45766cf824 c172p: Use generic replay configuration for single engine/prop aircraft 2011-10-01 23:31:12 +02:00
Stuart Buchanan
70fc2c995c Correct EGT instrument lighting. 2011-08-22 21:32:56 +01:00
Stuart Buchanan
b9e80543b1 Lighting update for c172p.
1) Add keyboard shortcuts for the panel lighting (to make life easier
   in the dark.
2) Add lighting to the EGT gauge.
2011-08-21 21:43:27 +01:00
Torsten Dreyer
1fda9ca353 Adopt new EGT values to c172p and SenecaII 2011-07-21 23:01:38 +02:00
Torsten Dreyer
5270ddbcf4 c172p: remember position of egt bug 2011-07-20 22:21:52 +02:00
Torsten Dreyer
7f6bdf9ebd C172P: Add EGT gauge (bug#24) 2011-07-20 19:34:21 +02:00
Stuart Buchanan
a5ae081189 Make c172p yoke slightly shinier. For that authentic cheap 1980s plastic look! 2011-07-11 21:21:23 +01:00
Stuart Buchanan
c0d8f31c32 Fix KAP140 VS display (finally!) - bug 340.
Fixed c172p and pa28-161. Zlin50 has not been fixed, but appears to have the same issue.

Clean-up of the KAP140s required - none use the Instruments-3D version of the model!
2011-07-06 22:03:25 +01:00
Stuart Buchanan
9b669c13af Updated autopilot VS numbers, add missing yoke.ac from previous commit. 2011-07-05 19:26:46 +01:00
Stuart Buchanan
2118a0aac7 Improved yoke model, removing unpopular reflections, modeling P-model yokes more closely. 2011-07-04 22:16:07 +01:00
Stuart Buchanan
5e7fb19965 Revert panel with excessive shadows - see bug 271. 2011-07-04 21:27:45 +01:00
Stuart Buchanan
e47c8d46fc Partial fix for the c172p autopilot, exposing possible textranslate bug.
See bug #340.
2011-07-04 20:26:12 +01:00
Stuart Buchanan
0d0d9762ce Add rating for c172p. 2011-05-25 21:47:44 +01:00
Torsten Dreyer
3c20f3b38c Fix bug #287: gyro correction ignored by autopilot
The generic-autopilot-helper computes heading-bug-error from
magnetic heading, not indicated heading. This patch corrects
this by pulling the two used generic helper filters into our
own config (so the generic-ap-helper.xml can go away).
2011-04-17 14:57:13 +02:00
Dave Perry
af39c395b6 Merge branch 'master' of gitorious.org:fg/fgdata 2011-02-18 16:46:05 -07:00
Dave Perry
869ad48f28 1. Changed from nasal asin and acos to interpolation gear scisors animation for pa24 and pa28. Also changed from nasal filters to pseudo autopilot xml filters for nav0 and nav1 cdi and gs needle animations.
2.  Corrected c172p nav0 and nav1 cdi and gs needle animations by adding generic-autopilot-helper.xml per Torsten's hint.
3.  Changed main gear compression animation computation from nasal to interpolation xml.
2011-02-18 16:31:08 -07:00
Stuart Buchanan
30ea238659 Updated engine config setting idle RPM to 600 rather than 550. From Torsten DREYER. 2011-02-15 21:44:53 +00:00
Torsten Dreyer
29de03dd66 remove obsolete files 2011-02-14 23:12:10 +01:00
Dave Perry
2c4ecfb886 Merge branch 'master' of gitorious.org:fg/fgdata 2011-02-13 14:36:43 -07:00
Dave Perry
08463481c9 c172p updates
removed action-sim.nas
+ nose gear scissor animation computation now via interpolation xml
+ main gear rotation due to compression now via interpolation xml
+ moved NAV0 and NAV1 needle deflection filters to pseudo-autopilot xml
+ moved pannel and instrument lights control to light.nas
+ the remaining tank setlisteners are now in tank.nas

pa24-250 updates
+ landing light animation now modeled after pa22 landing lights
2011-02-13 14:19:17 -07:00
Stuart Buchanan
a976dc7310 Stop c172p pitching backwards in a tailwind. Patch from Ron JENSEN. 2011-02-11 20:16:49 +00:00
Torsten Dreyer
18707913cd Remove windows thumbnail cache files 2011-01-19 21:39:57 +01:00
ThorstenB
38bb477f6a Fix common gear rumble sound problem
Rumble/squeal should depend on groundspeed, not
airspeed (which includes wind)
2011-01-10 23:30:19 +01:00
Stuart Buchanan
9ad6bdae28 Fuel selector texture. 2010-12-24 19:18:27 +00:00
Stuart Buchanan
2c178fe750 Fuel selector for c172p. 2010-12-24 18:42:29 +00:00
Stuart Buchanan
edc9b64e6c Remove out of date animation. 2010-12-19 21:10:32 +00:00
Stuart Buchanan
99cf4568af Updated best glide speed from C172p PoH. 2010-12-16 22:03:22 +00:00
Stuart Buchanan
969dd00dca Updated and higher resolution c172p ASI. 2010-12-16 21:55:10 +00:00
Stuart Buchanan
758aeb1025 C172p cockpit improvements from Horacio CONTRERAS.
- Updated panel and pedestal textures
- Improved pedals and yoke textures.
2010-12-12 21:11:05 +00:00
Dave Luff
b8da4fddd5 Cleanup: replace some non-printable junk characters with spaces 2010-11-14 20:56:37 +00:00
Stuart Buchanan
d57d97e5eb Correct VSI display animation. 2010-10-05 21:51:42 +01:00
Stuart Buchanan
ffa99435fe Add missing file from previous commit. 2010-09-05 22:42:51 +01:00
Stuart Buchanan
416bb4a559 Fix prop on c172p 2010-09-05 22:37:21 +01:00
gral@who.net
ab8fce4f33 Missing files 2010-08-28 21:36:21 +02:00
gral@who.net
631af0b2d4 File clean up, .rgb to .png 2010-08-28 21:35:25 +02:00
gral@who.net
a66014bb2e File clean up, some renaming, third 2010-08-28 20:59:31 +02:00
gral@who.net
044edae050 File clean up, some renaming, second 2010-08-28 20:51:13 +02:00
gral@who.net
9c9395e7de File clean up, some renaming 2010-08-28 20:50:50 +02:00
gral@who.net
76948fe70e Remove unused fuselage rgb files 2010-08-28 20:42:06 +02:00
gral@who.net
a9ee249cda c172p: Separate folder for effects in models 2010-08-28 17:40:50 +02:00
Stuart Buchanan
36cb5227e1 Replace the C172p outdated turn indicator with a more realistic turn coordinator, at the same time updating the 3D TC textures. Thanks to Jorg EMMERICH for pointing out the discrepancy. 2010-06-27 23:05:11 +01:00
stuart
5f97d2275e Labeling of instruments using OSGText. Activated with panel hotspots. 2010-04-23 20:52:32 +00:00
stuart
04376ca95c Reduce normal map for c172p 2010-04-17 15:45:07 +00:00
stuart
eb01db1870 Turn fuel-caps red. 2010-04-09 19:53:40 +00:00
stuart
f79a88f8c1 Updated normal mapping with better riveting. 2010-04-08 22:29:34 +00:00
stuart
817aa23583 Add normal-map effect to c172p, including update to paintkit to allow
easy modification.
2010-04-07 23:07:46 +00:00
ehofman
267b3ba60b New splash screen and thumbnail image 2009-12-23 09:50:41 +00:00
jmt
e5c87ff77a Dave Perry: fix the nosegear nut-cracker animation, and clean up some other files in respect of other commits by Stuart. 2009-12-09 14:43:30 +00:00
stuart
44b4a4ea5f Various C172P updates
- Engine sounds copied from c182
- Disable callsign display on the default livery
- Add working pedals
- Minor model tweeks (remove gaps, fix landing light)
- Add induced drag in ground effect
- Fix carb heat animation (out for on)
2009-12-06 19:12:23 +00:00
stuart
bcc384c1e4 Modified prop to give more accurate climb and cruise at altitude. Note that it is still possible to over-rev the engine at low altitude and below ISA temps. 2009-12-06 15:17:06 +00:00
abory
1abcc4e472 - Guillaume Chauvat: Renit action-sim.nas after a reset, so any damaged gear get repared. 2009-12-04 17:48:55 +00:00
stuart
f54e6be7c0 Cockpit and model updates
- Improved fuel covers
- Parking brake
- Pedestal with trim indicator
2009-12-02 22:08:58 +00:00
jmt
277d447acb Dave Perry:
c172p patch implements the globals.nas unit conversions.
2009-11-25 23:08:13 +00:00
stuart
3055817b9d Unbreak the dme, by adding a full path to the ki266.xml files. 2009-11-25 21:40:16 +00:00
stuart
317f0731d5 Various cockpit updates for c172p:
- Change DME to use local files rather than the pa24-250
- Create new yokes as separate model files
- Improve throttle, mixture and carb heat controls
- add scrollwheel support for throttle, mixture
- Use separate Cessna flaps indicator model.
2009-11-25 20:58:01 +00:00