mfranz
65d4a4ba0a
add aar/radar capabilities (useful for aar testing)
2006-08-27 08:17:54 +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
mfranz
1f57ea72b4
a global symbol must not only *contain* __dlg:property_browser, but
...
start with it. ("__dlg:" is the namespace prefix for Nasal embedded
in XML dialogs. Subsequent property browsers get a random number added.)
2006-08-26 13:23:06 +00:00
durk
499e47bede
Added a new preference "instantaneous-action", which releases all
...
parked aircraft at program start. This is not only a useful test case
for the AIModels subsystem, but can also be used as an interesting demo.
2006-08-26 07:50:56 +00:00
mfranz
be8ca62fc9
cleanup: use new Widget.setBinding()
2006-08-26 07:32:16 +00:00
mfranz
74b5436cde
call Dialog.load() from the new() constructor already
2006-08-25 20:13:58 +00:00
andy
b6fb9d031a
Further augment the weight subsystem so that weights can be tagged with
...
tank indices, so that changing drop tanks automatically modifies the
corresponding FDM tank capacity (and load, if it is too high).
Add the new tank stuff to the harrier config, along with a few new
items (e.g. AMRAAMs on the outboard pylons) that aren't in the 3D
model yet, but correspond to actual usage.
2006-08-25 19:59:05 +00:00
mfranz
8751c296fa
make KIAS and ALT tape equally wide (35)
2006-08-24 23:00:55 +00:00
andy
3e268e394c
[Yes, Andy's writing code again. The world is ending.]
...
An IRC discussion about shavlir's (really nice) harrier model showed
that it had its own version of something like the Fuel & Weight
dialog, developed because the existing subsystem only supported
sliders and not "combo box" style selection for specific external
stores. That seemed sub-optimal, so I spent a few hours extending the
F&W dialog to do this and forward-ported the harrier to use it.
Check the harrier-set.xml file for an example. Basically, the weight
dialog reads a list of options for each weight listed under
/sim/weight[n] and manages a "selected" proprty telling us which one
is in use. The FDM code can then read out the weight-lb property as
before, and the model animations can use the selected option to
predicate drawing the appropriate 3D content. It seems to work pretty
well.
2006-08-24 22:29:16 +00:00
mfranz
e85c8708ce
place left & right tape symmetrically
2006-08-24 22:06:09 +00:00
mfranz
d27df588a6
reduce slip effect speed (harrier VTOL)
2006-08-24 20:55:18 +00:00
mfranz
b5863d9cad
use gui.Dialog() class instead of gui.loadXMLDialog() function (which has
...
been removed)
2006-08-24 16:32:58 +00:00
mfranz
8aa5947e7a
- move bo105's Dialog class here; replaces gui.loadXMLDialog()
...
- fix indentation
2006-08-24 16:32:09 +00:00
mfranz
d583bbcb4f
- add property browser opening function
...
- open browser for each /browser[] property
- add Widget.setBinding() function to simplify dialog generation, and
convert the dialogs to use it
2006-08-24 12:44:14 +00:00
mfranz
11dc7c5bcd
- let Input class use Lowpass class
...
- preparation for configurability
- documentation/cleanup
2006-08-22 10:06:46 +00:00
mfranz
f3d14c408a
- only allow dynamic view on some fdms, and disable menu entry on others
...
- decrease heading-due-to-sideslip
2006-08-21 09:45:48 +00:00
mfranz
e0b80f625d
give dynamic view entry a name
2006-08-21 09:42:58 +00:00
mfranz
a08cd87951
use NTPS HUD as default for the new implementation
2006-08-21 08:54:15 +00:00
mfranz
4453b8c742
adapt I-key description
2006-08-21 08:43:36 +00:00
mfranz
c8abca597e
use aircraft.HUD manager methods to control the HUD. Key bindings remain
...
the same, with one exception: I (=Shift-i) doesn't only switch to the
alternative old HUD, but toggles that and the new HUD. Eventually
we may want to re-organize the HUD key bindings. Maybe after the old
HUD has been removed?
2006-08-21 08:40:15 +00:00
mfranz
8ecfdb2a96
add HUD manager class. The old and new HUD code is a bit tedious to handle
...
in keyboard.xml. Better concentrate that on one place.
2006-08-21 08:35:53 +00:00
curt
a6ebef1d0a
Make lead aircraft behavior more uniform/predictable/repeatable.
2006-08-20 00:54:53 +00:00
mfranz
07f5dd24f3
use sideslip for heading offset in-air, and heading change rate on-ground.
...
Unfortunately, this is quite jittery on some aircraft, so it uses a slower
lowpass filter. I'd like to fix that, but don't even know what causes it.
Considering /sim/time/delta-realtime-sec didn't help. :-/
2006-08-19 22:24:24 +00:00
andy
8ac2c6a674
Fix double-mapping of axis 3 on linux. Untested fix submitted by
...
tehquickness via IRC.
2006-08-18 18:17:54 +00:00
mfranz
28a7b8cb6b
- initialize a few properties that can be nil at startup
...
- start script at settimer(..., 0)
- fix heading mistake
- cleanup
2006-08-18 17:00:16 +00:00
mfranz
3f9bdb62ab
fix property name (I had changed that in the environment files, and
...
apparently missed this instance when I searched for its use)
2006-08-18 15:50:53 +00:00
mfranz
8a31fbaae4
simpler & faster
2006-08-17 22:58:06 +00:00
mfranz
4099269ab3
using printlog() wasn't a good idea, as we don't know if globals.nas was
...
already initialized. Commenting the messages out.
2006-08-17 18:56:22 +00:00
mfranz
94835bb4e4
move the listener settings into the timer, as we don't know at that time
...
if globals.nas was already loaded
2006-08-17 18:53:44 +00:00
mfranz
8b77679c06
- don't update view as long as mouse button 0 is pressed (otherwise closing
...
the A-10 canopy is a bit difficult :-)
- reduce pitch-due-to-z-accel a bit
2006-08-17 16:42:00 +00:00
andy
591c72f5b4
Comments about -lbs and -gal_us were mixed up. Pounds are the
...
writable property. Gallons are a read-only convenience.
2006-08-17 16:32:41 +00:00
mfranz
1a6a1a6436
first stab at generic dynamic view handling; can be turned on/off via menu
...
entry "View->Toggle Dynamic Cockpit View" entry; state saved to autosave.xml;
there are no configuration parameters yet, but the default values work for
most aircraft; exceptions: ground steering effect of jsbsim aircraft is
jittery; yawing effect on big aircraft is too abrupt. This needs to be
configurable.
Suggestions for improvements are welcome if they are bundled with a
working diff that actually proves the claimed advantages. :-)
2006-08-17 15:59:44 +00:00
mfranz
1b3807c3a7
add dynamic cockpit view entry (the /sim/view[0]/dynamic/ group is
...
supposed to contain all configurable parameters; there aren't any yet)
2006-08-17 15:54:16 +00:00
mfranz
e846e6e37c
add dynamic cockpit view entry
2006-08-17 15:53:02 +00:00
mfranz
37e810a805
s/gif/png/
2006-08-14 22:42:51 +00:00
mfranz
eeeea44805
Maik JUSTUS: YASim helicopter FDM update
2006-08-14 22:38:59 +00:00
frohlich
cd74bc8572
Add additional name for windows
2006-08-11 22:19:47 +00:00
frohlich
b5e7fcc40e
Add windows axis numbers.
2006-08-11 22:08:11 +00:00
mfranz
ae6108de80
add n/N key binding (is it really called "finer" and "coarser"?)
2006-08-09 14:01:53 +00:00
mfranz
e0244684c9
put prop pitch on n/N
2006-08-09 13:56:48 +00:00
mfranz
4f90536ea6
shut up
2006-08-09 13:55:48 +00:00
mfranz
31307ae9e0
1/1000 sec resolution is a bit optimistic. 1/10 should be enough. :-)
2006-08-07 16:42:35 +00:00
mfranz
e2906cb09d
add stopwatch dialog to Debug menu
2006-08-05 07:34:53 +00:00
mfranz
bd28941f61
stopwatch dialog
2006-08-05 07:33:48 +00:00
mfranz
1bbdc9e42b
remove NOOP
2006-08-02 06:05:04 +00:00
curt
4e8f9d4a02
10' minor tics, 100' major ticks < 500' AGL.
...
100' minor tics, 500' major ticks >= 500' AGL.
2006-08-01 22:45:44 +00:00
mfranz
80719af4ed
make default ladder look like it used to (for nostalgia reasons)
2006-08-01 19:57:54 +00:00
curt
64a340e61e
Subtle adjustments to the speed and altitude tapes/labels to make them more
...
MIL-STD conformant.
2006-08-01 18:28:12 +00:00
mfranz
786df24404
make compass tape gap and put boxed heading there (without pointer?)
2006-08-01 15:32:27 +00:00
mfranz
1138ea2f0e
too many cooks ...
2006-07-31 18:46:03 +00:00