1
0
Fork 0
Commit graph

9268 commits

Author SHA1 Message Date
ehofman
3a4ac01859 Remove any refference to the MD-11 which isn't included by default in the official release. 2004-07-23 19:42:05 +00:00
ehofman
c2ac455f8e Oops, add missing files. They got hidden in a bunch of other uncommented local changes :( I might concider using another base directory for local changes. 2004-07-23 07:52:05 +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
jimw
ac791abbbe Scenery Loading popup message 2004-07-22 02:59:59 +00:00
curt
e7b2eff4d8 Updated for v0.9.5-pre2 2004-07-21 21:51:09 +00:00
curt
ecce5b3ffe Updates for v0.9.5-pre2 2004-07-21 21:50:07 +00:00
ehofman
81e992e56f Add another name for the same device. 2004-07-21 06:55:15 +00:00
ehofman
af17319f36 Updated file. left/right break doesn't work yet, b
ut the previous file didn't work at all. Thanks Damon Toal-Rossi.
2004-07-16 20:17:36 +00:00
curt
19413d3ef4 Updates for v0.9.5-pre1. 2004-07-15 18:07:36 +00:00
ehofman
0e228261dc Some updated files per request of David Culp. 2004-07-03 11:13:09 +00:00
ehofman
9f7372fe88 New default scenario. 2004-07-01 14:16:29 +00:00
ehofman
bebf0c0096 Reorganize the demo scenario's and FlightPlans to get to a better default scenario for KSFO. 2004-07-01 14:15:09 +00:00
ehofman
dda672eb13 Add documentation about AI models. 2004-06-25 11:15:17 +00:00
ehofman
b68fc03f68 Add a Thermal and a Refualling scenario 2004-06-25 11:14:57 +00:00
david
adcdeab287 Remove fragile alias references in bindings and replace with property
references.
2004-06-24 14:45:48 +00:00
david
a8556e0e65 Add a menu entry to reinitialize the input subsystem (say, after
plugging in a joystick).
2004-06-24 02:09:53 +00:00
curt
db86fe1efd Slightly enlarge annunciator background size. 2004-06-23 16:18:46 +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
e8adb7d0c8 Sync w. JSBSim CVS 2004-06-14 11:41:36 +00:00
ehofman
d6467f3ad4 Okay, maybe it was a good idea to assume that not all targets are target[0]. 2004-06-11 17:19:59 +00:00
ehofman
36abb08074 Revert to the previous version, after one target disappeared, they all disappeared. This version doesn't have that problem. 2004-06-11 13:59:40 +00:00
ehofman
ec8b3e7c14 Make use of the new radar/in-range property 2004-06-10 19:14:42 +00:00
ehofman
40f484c5c5 Frederic Bouvier:
this texture should remove the black border of the
'few' cloud layer.
2004-06-07 18:50:34 +00:00
ehofman
786c052d51 Add a checkbox for bump-mapping 2d clouds. 2004-06-07 16:00:00 +00:00
curt
5f3a956f82 Electrical system output to hsi is a floating point value, not a boolean. 2004-06-05 03:51:33 +00:00
ehofman
957cd9a0b8 Add the AIModel based air traffic subsystem from Durk Talsma. 2004-06-03 17:59:05 +00:00
ehofman
ed6f6640af Lee Elliot:
I'd like to suggest that the spoiler settings are set in the same way as the
flaps are now done i.e. via Nasal, so that specific spoiler settings can also
be defined in the aircraft set file.

It was only when I was about to change the keyboard bindings for the slats
control that I remembered that there wasn't already a mapping for them in
keyboard.xml.  I've _not_ added a mapping for slats as this is a bit of a hot
topic atm but as I had already added a Nasal func for the slats in
controls.nas I've left that in there.  It's a trivial bit of code but I don't
know if leaving it in there is a good idea as it's code that shouldn't ever
be called until there's a corresponding keyboard mapping.
2004-06-01 08:13:12 +00:00
ehofman
3e156dc06d Sync with the latest version 2004-06-01 08:10:44 +00:00
ehofman
9601588447 Add the matching scenario file. 2004-05-29 12:09:54 +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
curt
77cae2a89f These old ils/nav data files are no longer used. They are replaced by the
nav.dat.gz file.
2004-05-28 05:27:21 +00:00
curt
9d753fd6b8 Robin's most current navaid database (in his native format.) 2004-05-26 16:55:14 +00:00
curt
4a251cce75 Initial revision of Robin's airway data set. 2004-05-26 16:44:34 +00:00
curt
c6cc6c6a47 Updated fix data from Robin's latest data release. 2004-05-26 16:42:02 +00:00
curt
2811b2688f Updated airport, runway, taxiway, windsock, beacon, and tower data. 2004-05-26 15:33:15 +00:00
ehofman
706a64041a David Culp:
1.  Removed aircraft roll on ground.
2.  Decreased descent pitch angle.
3.  Updated flightplans to include <on-ground>
4.  Fixed property indexing, so all AI aircraft have their own property branch


The default value of <on-ground> is false, so you only need to specify it when
on the ground.  For takeoff you need to specify <on-ground>true</on-ground>
for the first waypoint, and for the acceleration waypoint.  For landing you
need to specify it for the touchdown point and any taxi points.
2004-05-21 16:51:05 +00:00
ehofman
9dfc88751a Updated normal textures. 2004-05-21 14:53:32 +00:00
ehofman
9ff38fc4ed Add the normal textures for the bump-mapped 2d cloud code. 2004-05-20 13:26:41 +00:00
ehofman
ddce8561e1 Add AI models enableing/disableing command line option and support code. 2004-05-19 13:56:47 +00:00
ehofman
eab27ae5b0 Add the demo scenario. 2004-05-17 08:50:40 +00:00
ehofman
2afaa933e3 David Culp:
First, preferences.xml will define the scenario filename.

For now, the other way of defining ai objects still works, so the sailboat
stays in preferences.xml.  Later, I'll move the sailboat into the demo
scenario.  If no scenario filename is given, then no scenario will be
processed.

I changed the demo scenario to create two 737's, one takes off on runway 01L,
and the other takes off on runway 01R.  This will make a good demo for the ai
system.  One problem, if you takeoff on 28L/R right away, you might run into
the taking-off 737's, or be scared.
2004-05-17 08:46:34 +00:00
andy
8bc72e8e7b Fix typing bug where the autopilot wouldn't turn off. GUI buttons
set their properties as strings, not bools.  So set the properties
once from initialization to ensure their types are correct.
2004-05-15 23:04:17 +00:00
andy
acb17eccc9 Really fun (and surprisingly easy) hack: a fuel and weight
configuration dialog box which automagically adapts itself to
aircraft configuration.  Only the A-4 and Cherokee are set up
currently.
2004-05-15 21:50:51 +00:00
ehofman
e70eef10ac Remove two more capital tags. 2004-05-15 13:01:26 +00:00
ehofman
54a870d14b Use lower case letters instead. 2004-05-15 12:46:42 +00:00
ehofman
ef5748a00e David Culp:
Here's the newest AI stuff.

The AIManager at init() creates a new scenario.  Right now the
default_scenario is hard coded in, but eventually the AIManager should get
the scenario filename from preferences.xml.

The scenario defines which AI objects will be created.  Right now it only
creates AIAircraft, but this is easily extended.  The scenario also defines
which flightplan will be assigned to the airplane.  Scenario config files go
in data/Data/AI.

The Airplane gets a pointer to a FlightPlan object.  Each airplane should get
its own flightplan object, even if two airplanes have the same flight plan.
This is because  the flightplan maintains the iterator pointing to the
current waypoint, and two airplanes might be at different locations (for
instance if they were created at different times).  The flight plan files go
in data/Data/AI/FlightPlans.

When the airplane gets to the waypoint named "END" it vanishes.  The
AIAircraft destructor deletes its flight plan (if it has one).

The last waypoint is a place holder only.  I called mine
<WPT><NAME>"EOF"</NAME></WPT>.
2004-05-15 09:07:56 +00:00