1
0
Fork 0
Commit graph

159 commits

Author SHA1 Message Date
ehofman
0970aead32 David Culp:
Here are files to get automated contrails working.  I've set up contrails for
the 737, using my simple, untextured contrail model.  Vivian has made another
contrail model, but I'm still trying to get his to work.  I'm hoping others
will try to make contrail models also.

Here's some code that defines a top to thermals.  When the top of a thermal is
reached the strength is phased-out linearly over the next 100 feet of
altitude.  At first I tried just capping the thermal at the top, but the
change in thermal strength was too fast for the FDM to handle well.

Included is a new version of the thermal scenario that includes a top
(height-msl) to the thermal.  The default value is 5000 feet.
2004-11-07 14:50:01 +00:00
ehofman
18b18a7947 Boris Koenig:
After applying the attached patches (based on latest CVS) you should
have a new option available within your version that should also
show up using fgfs --help, the syntax is:

    fgfs --min-status={level} --show-aircraft

whereas "level" can be anything between

    "alpha","beta","early-production" and "production"

Of course running something like

    fgfs --min-status=alpha --show-aircraft

should not return any aircraft right now, as none of the
current aircraft definition files in your base-package is using the
required

    <status></status>

tag - but you can easily give it a try by adding something like

    <status>alpha</status>

The tag should be placed as a sub-tag within <sim> - so directly behind
the <description> tag would be just fine and straight-forward.
2004-10-28 09:37:49 +00:00
ehofman
7c89540541 Boris Koenig:
This will modify menubar.cxx/hxx so that it exports the
entire menubar (from menubar.xml) to the property tree, so that it can
now be changed dynamically  using Nasal's setprop() instruction and
afterwards running a newly added fgcommand to update the menubar
based on those changes using the appropriate menubar path within
the property tree.

By default the menubar from menubar.xml will be stored within:

    /sim/menubar/default


Erik:

I have moved the loading of menubar.xml into preferences.xml and
made sure that the menubar is destroyed every time a new menubar
is created.
2004-10-22 09:26:50 +00:00
ehofman
ff4e599eb0 Roy Vegard Ovesen:
Instrumentation and systems are now configureable from xml files. The two
generic configurations generic-systems.xml and generic-instrumentation.xml
configures the systems and instrumentation as it was hardcoded. You can
override the generic configurations in a similar way as you override the
autopilot configuration.
2004-10-16 12:37:46 +00:00
ehofman
f3c3117a0a Change the type 'storm' to 'thunderstorm' and enable the ai-models code by default again. 2004-09-23 11:10:09 +00:00
daveluff
3b7ab7b556 Enable ATC by default 2004-09-06 22:26:33 +00:00
curt
52631f334e Default to cursor hiding enabled for the next release.
Default to AI aircraft disabled for next release until we can get to the
bottom of potential memory leaks.
2004-07-27 20:42:17 +00:00
ehofman
30b916a134 Durk Talsma:
I've included the latest fixes to the Traffic Manager/AI flightplan generation
code. Most of the code changes are in AIFllightplan.cxx. This is the code
that runs without depending on predefined FlightPlans in
#FG_ROOT/Data/AI/Flightplans.i

As suggested by Dave, I've also added a new property in
preferences.xml: /sim/traffic-manager/enabled, which is used to control
whether or not the traffic manager is active.

I'm still working on a few more 737 traffic patterns, those are going to take
a little longer, so I didn't want to wait sending in this code.

Finally, I haven't put much effort into ensuring "aeronautical correctness" in
this version yet. The code works on my system, but what the AI plane do may
actaully be quite rediculous. But I'd like to leave that for the next
version.
2004-07-22 18:50:30 +00:00
ehofman
9f7372fe88 New default scenario. 2004-07-01 14:16:29 +00:00
curt
db48a0ce62 Setup default values for mouse pointer hide feature (default to off) and
the default timeout for when it is enabled.
2004-06-14 18:48:10 +00:00
curt
c4f0a58b8f Change the fps toggle property name a bit and add a toggle switch in the
gui/dialog/rendering box.
2004-06-14 16:39:00 +00:00
curt
10a3a7e8df Specify a default initial state (off) for the property that controls if the
onscreen fps is displayed with the hud is off.
2004-06-14 16:26:09 +00:00
ehofman
f1a61549a5 David Culp:
Here's some new AI stuff.

1)  AI objects must now be defined in a scenario file, not in preferences.xml
or a *-set file.  (Of course this doesn't prevent objects from being created
dynamically, as with Durk's traffic manager).

2)  A new demo_scenario file is attached.  It creates 3 aircraft, a sailboat,
and a thunderstorm.

3)  Objects without flightplans live forever.

4)  FGAIShip::ProcessFlightplan() is not yet implemented.

5)  preferences.xml should now define only <enabled> and <scenario>
2004-05-29 11:41:20 +00:00
curt
f3b4f6799c Allow a "threshold" value to determine which localizers to snap to the
runway heading or not.
2004-05-28 20:56:54 +00:00
curt
e73902c9f8 Add a flag to specify if localizers should be automatically aligned with
their corresponding runways.
2004-05-28 16:22:40 +00:00
ehofman
eab27ae5b0 Add the demo scenario. 2004-05-17 08:50:40 +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
a9a359055b Add a default value that the KAP140 autopilot needs. 2004-04-16 22:07:01 +00:00
jimw
88d1598ab9 Fix virtual cockpit toggle binding ("c"). Switches between 2D/3D mode on the
fly.
2004-03-24 16:07:09 +00:00
daveluff
49f5805466 Reduce the AI traffic density to low prior to the release in order to minimise the chance of problems 2004-03-22 20:59:20 +00:00
ehofman
7eea5be358 Melchior FRANZ:
Don't know if this was intentional, but since revision 1.128
(2003/10/01 21:15:55; david; "Add some whitespace, and initialize
the new ADF subsystem.") the ADF isn't initialized with useful
frequencies any more. It should be something in the bay area.
379 is for BRIJJ again (in the glide slope of KSFO) and 341 is
for RORAY (KOAK). Don't know what the standby frequency was before.
2004-03-19 18:05:58 +00:00
daveluff
eb1b15497c Remove a stray DOS line ending 2004-03-09 13:16:26 +00:00
daveluff
d49fc91fd7 Set a default AI traffic level 2004-03-09 12:30:42 +00:00
ehofman
f0d71eb5bd rename the live weather property 2004-02-21 14:04:06 +00:00
ehofman
9a83981591 Add support for retreiving metar data from the internet 2004-02-21 12:56:26 +00:00
curt
76a08b6467 Autopilot overhaul. 2004-01-31 19:55:13 +00:00
ehofman
50ad5e38f8 Animate the navigation lights of the sailboat AIModel 2004-01-22 21:00:22 +00:00
curt
f7c276944e Attempt #1 to sort out confusion between left / right / parking brake
controls in the cockpit vs. which wheels they apply to.  FlightGear now
sets /controls/gear/brake-left, /controls/gear/brake-right, and
/controls/gear/brake-parking.  It should be up to the FDM to sort out
which wheels under which circumstances are affected by these controls
and ultimately what happens to the physical motion of the aircraft.
2004-01-12 17:49:33 +00:00
ehofman
812b9e3c34 Don't add the freighter model 2003-12-28 17:46:48 +00:00
ehofman
d739644ec2 Add a preset mouse mode entry 2003-12-28 17:41:21 +00:00
ehofman
8197dfba44 Add a sailboat to the bay area. 2003-11-30 18:32:39 +00:00
david
954b758e3e Add some whitespace, and initialize the new ADF subsystem. 2003-10-01 21:15:55 +00:00
ehofman
e440ca5b19 Implement three level LOD for static scenery 2003-09-28 11:16:19 +00:00
curt
8adb95c719 Added a replay manager dialog box.
Other misc. tweaks and updates.
2003-09-11 19:35:18 +00:00
ehofman
4cb1914e02 Add a level of realism property which can varry between highly accurate (level=10) and low resolution (level-0) rendering. The default is set to five for now. 2003-08-21 11:16:44 +00:00
ehofman
554c2ba1bc Add a /test/scene_lighting property to switch between new and old behavior 2003-08-04 09:35:30 +00:00
curt
803877796c Add a default value for the flaps-servicable flag. 2003-08-01 19:42:42 +00:00
curt
c02bad6bf7 Add initial defaults for engine failure parameters 2003-08-01 00:28:33 +00:00
ehofman
6258ec3955 Remove altitude damping 2003-07-24 14:49:12 +00:00
ehofman
ff8f3ae0ff Fix a bug that would occur on 5GHz computers, and disable the altitude damping feature. 2003-07-22 08:51:27 +00:00
ehofman
0fd9f17296 Make sure the sixth view is accessible, and remove the damping factor from the helicopter view 2003-07-18 08:56:14 +00:00
curt
f79b642a13 Make default visibility exactly 10 miles. 2003-07-17 18:17:13 +00:00
ehofman
56b6777bad Adjust the damping factors slightly 2003-07-17 08:54:06 +00:00
david
2e8aac5d94 More turbulence tweaks and fixes. 2003-07-15 01:26:37 +00:00
ehofman
daf32bd124 Framerate independent viewer fixes from Melchior FRANZ 2003-07-14 14:20:55 +00:00
ehofman
c63777e2ad Temporary remove damping for the default helicopter view because it takes a *long* time to lineup with the aircraft again. A fix is underway 2003-07-12 13:45:15 +00:00
ehofman
699e4d659e Use a common z-offset definiton for all external views 2003-07-12 12:02:40 +00:00
ehofman
700fe69801 Add a new chase view from Melchior FRANZ. I think it's time tom move some of the views into it's own menu option and leave about three aircraft related views in the prefferences file 2003-07-12 09:55:04 +00:00
david
154a0fb707 Reintroduce very mild turbulence on climbout. 2003-07-01 20:56:21 +00:00
david
6bbac81aa7 No turbulence by default. 2003-07-01 19:17:03 +00:00