AI & MP Dogfighting now working! Bombable ships, aircraft...

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

AI & MP Dogfighting now working! Bombable ships, aircraft...

Postby flug on Mon Aug 24, 2009 1:39 am

Another update to Bombable on June 18th, 2010--now at version 3.0o all improvements and features of previous version, PLUS AI aircraft can shoot/damage you in dogfights!

I've been continuing to work to develop the idea of bombable/damageable AI tanks, jeeps, and now ships and aircraft. Now thanks to suggestions downthread, this has expanded to include working multiplayer dogfighting.

The result as a download you can install in FlightGear with these features:

- Multiplayer dogfighting with Sopwith Camel, SPAC VII, Fokker DR 1 Triplane AND NOW A6M2 ZERO
- AI dogfighting scenarios against planes that dodge, turn, attack, shoot at you, and generally act like fighter pilots would
- Shootable/bombable moving tanks, jeeps, ships, and aircraft that catch fire, burn, explode, sink, crash, etc.
- AI scenarios that allow you to use FlightGear aircraft for air-to-ground, air-to-sea, and air-to-air combat missions against these targets
- Explode/burn when you crash
- Exceeding aircraft limitations (excess g-forces, overspeed) adds damage to your aircraft and finally leads to shutdown/crash
- Four specially modded aircraft are included--and they all work especially well--but you can use most any FG aircraft that has working guns or bombs with the AI scenarios (ie, fly the A-10 Warthog to dive bomb or fly ground support missions; shoot down A-10s with an F-16 or Mig fighter, etc.) (For MP dogfighting you must use one of the four aircraft included in the distribution.)

Download here:

http://brenthugh.com/flightgear/bombable3o.zip

Image


Updates Aug 2009-June 2010: The whole package has been re-written, with lots more features including dogfighting Sopwith Camels, SPAD VIIs, Fokker DR 1 Triplanes, and Zeros. Lots of improvements in the scenarios, movement of ground objects, speed, etc. Updated documentation.

If you have downloaded a previous version, please download and install the version above in place of it (you can just unzip this version over the top of any previous versions you have installed--follow the instructions in the readme).

These routines can be fairly easily be added to make any AI/MP aircraft work with AI or MP dogfighting and it is also easy to enable any regular aircraft that has guns or bombs to be used to dogfight via MP or use the AI bombing scenarios.

The multiplayer system is a very simple one, only needs to pass a little bit of data, and now seems to be quite reliable.


INSTALLATION

To install the package, simply unzip it to the FG/data directory.

Detailed instructions/caveats in the readme file--please do read it!


Here's the background:

I've abstracted the techniques used to make the M1 Abrams tanks bombable, and the techniques used to make the tanks and jeeps move across the surface, to allow those same characteristics to be added to any AI object (aircraft, ship, carrier, vehicle, etc.) by adding just a few lines of code to the AI craft's XML file.

So, for instance, now we still have the "tank and jeep invasions" with a fleet of vehicles moving through various locations, but also fleets of large ships, Cessna 172s, and A-10 Thunderbolts flying through the California mountains at 300 ft AGL--just waiting for you to track them down and catch them.
(Well, the ships don't move through the mountains at 300 ft AGL, they just float sedately around the bay, but the Warthogs do plow through the mountains, pretty convincingly at 300 AGL and 200 MPH. Catch them if you can . . . )

Each of these objects shows damage and catches fire and burns rather satisfyingly when damaged sufficiently.

In addition, each type of object crashes, sinks, burns, explodes, etc., in a decently realistic kind of way.


I believe the techniques used here can be rather easily extended to create true multi-player dogfighting capatibilities.

With these routines, any AI aircraft can easily be made "bombable"--ie, able to keep track of damage from hits by different types of ammo.

All the multi-player function would have to do, then, is pass back & forth damage levels--a single value for each aircraft and relatively easy to handle.

In the meanwhile--tracking down a pack of A-10 Warthogs as they zoom through the mountains and canyons at 300 ft AGL and 200 MPH is a pretty good second place.


MAKING YOUR OWN BOMBABLE AI AIRCRAFT

The same techniques used to make these AI aircraft bombable could be used on any aircraft. The method for specifying the parameters for each aircraft needs a little refinement yet.


MAKING YOUR OWN MP DOGFIGHTING AIRCRAFT

You can mod pretty much any aircraft with weapons to be used for multiplayer dogfighting. See the enclosed documentation for details.


BOMBABLE SCENERY

I believe the same techniques could be used to make selected, or possibly all, scenery objects bombable.
Last edited by flug on Fri Jun 18, 2010 10:36 pm, edited 23 times in total.
flug
 
Posts: 70
Joined: Tue Jun 16, 2009 7:06 pm

Re: Towards dogfighting (dogfighting with AI, bombing ships etc)

Postby Fahim Dalvi on Mon Aug 24, 2009 3:46 am

Hi,
Great to Hear about the Improvement! But the Link seems to be dead....
Fahim Imaduddin Dalvi
Tracker, Flight Gallery
User avatar
Fahim Dalvi
 
Posts: 1274
Joined: Sun Oct 14, 2007 7:08 am
Location: From India, Settled in Doha ,Qatar
Callsign: Fahim
Version: GIT

Re: Towards dogfighting (dogfighting with AI, bombing ships etc)

Postby flug on Mon Aug 24, 2009 11:42 am

Fahim Dalvi wrote:Hi,
Great to Hear about the Improvement! But the Link seems to be dead....


Sorry, it's fixed now:

http://brenthugh.com/flightgear/bombable3g.zip
Last edited by flug on Thu Sep 03, 2009 8:09 pm, edited 1 time in total.
flug
 
Posts: 70
Joined: Tue Jun 16, 2009 7:06 pm

Re: Towards dogfighting (dogfighting with AI, bombing ships etc)

Postby 2011futuremarine on Mon Aug 24, 2009 12:51 pm

Glad to see someone working on this idea! Great job flug ;)
Aircraft: primarily military
User avatar
2011futuremarine
 
Posts: 972
Joined: Thu Jun 05, 2008 2:19 pm
Location: USA
Callsign: Dodger4

Re: Towards dogfighting (dogfighting with AI, bombing ships etc)

Postby flug on Mon Aug 24, 2009 4:04 pm

2011futuremarine wrote:Glad to see someone working on this idea! Great job flug ;)


I tracked & shot down six of the A-10s heading north from SF today . . . ended up in the mountains about 100 miles north of the city.

I've played various flight sims & combat sims over the years . . . there really something different (and better . . . ) about FG and that same quality comes through under these scenarios even more so IMHO.
flug
 
Posts: 70
Joined: Tue Jun 16, 2009 7:06 pm

Re: AI Dogfighting--new download w/bombable ships, aircraft, etc

Postby flug on Tue Aug 25, 2009 3:42 am

If you downloaded the new AI bombing/dogfighting scenarios, you might want to download again (you can just install right over the top of your previously installed files).

1. Made aircraft, ships, jeeps, etc. start turning and dodging when you start shooting at them. Makes things MUCH more interesting. I chased one A-10 all the way around San Francisco before I finally caught up with him . . .

2. Looked a little more into how aircraft that have weapons work, and the result is the scenarios & targets should now work with most all planes that have weapons in FG.

Download here:

http://brenthugh.com/flightgear/bombable3g.zip
Last edited by flug on Thu Sep 03, 2009 8:10 pm, edited 1 time in total.
flug
 
Posts: 70
Joined: Tue Jun 16, 2009 7:06 pm

Re: AI Dogfighting--new download w/bombable ships, aircraft, etc

Postby flug on Tue Aug 25, 2009 4:19 am

A quick photo of one of the A-10 Warthog dogfights. Somehow this guy ended up crashing exactly on the bridge:

Image

Have your own dogfights: http://brenthugh.com/flightgear/JeepTankFerryCessnaWarthogInvasions3.zip
flug
 
Posts: 70
Joined: Tue Jun 16, 2009 7:06 pm

Re: AI Dogfighting--new download w/bombable ships, aircraft, etc

Postby Fahim Dalvi on Tue Aug 25, 2009 5:48 am

Hi,

Just Tried it out, works great! I've learned that Cessna;s ARE very difficult to hit!

P.S. Cessna's always have contrails, which help in spotting them, but the whole contrail turns orange sometimes, (I think thats when I Hit them).
Fahim Imaduddin Dalvi
Tracker, Flight Gallery
User avatar
Fahim Dalvi
 
Posts: 1274
Joined: Sun Oct 14, 2007 7:08 am
Location: From India, Settled in Doha ,Qatar
Callsign: Fahim
Version: GIT

Re: AI Dogfighting--new download w/bombable ships, aircraft, etc

Postby 2011futuremarine on Tue Aug 25, 2009 7:20 am

where would you extract the file to? :)
Aircraft: primarily military
User avatar
2011futuremarine
 
Posts: 972
Joined: Thu Jun 05, 2008 2:19 pm
Location: USA
Callsign: Dodger4

Re: AI Dogfighting--new download w/bombable ships, aircraft, etc

Postby Gijs on Tue Aug 25, 2009 8:02 am

2011futuremarine wrote:where would you extract the file to? :)

Reading the README ussually works ;)
Airports: EGLL, EHAM, EHLE, KSFO
Aircraft: 747-400, DC-2, F-117, F-35, Jetman, L1011-500
FlightGear Liveries

--- I AM ON VACATION ---
User avatar
Gijs
Moderator
 
Posts: 4154
Joined: Tue Jul 03, 2007 8:55 am
Location: Amsterdam, the Netherlands
Callsign: PH-GYS
Version: GIT

Re: AI Dogfighting--new download w/bombable ships, aircraft, etc

Postby flug on Tue Aug 25, 2009 9:48 am

2011futuremarine wrote:where would you extract the file to? :)


You have to copy things to three different spots--plus make sure the A-10 aircraft (regular A-10, not the AI version) is installed:
INSTALLATION


1. SCENARIOS TO FG/data/AI:

The XML files in the top-level directory are AI scenarios. Copy them to the FlightGear/data/AI directory (exact name will vary according to your operation system and installation options).


2. Aircraft files to FG/data/AI/Aircraft:

Copy the entire Fire-Particles directory to the FlightGear/data/AI/Aircraft. Do the same with all the aircraft subdirectories, including M1-Abrams, jeep-bombable, ferry-bombable, c172-bombable, A-10-bombable, etc.


3. Copy bombable.nas to FG/data/Nasal

Copy the file "bombable.nas" to FG/data/Nasal


4. Make sure the A-10 aircraft is installed

There is one dependency (other than FG itself)--for the A-10-bombable AI aircraft to work correctly, the A-10 aircraft (regular FG version, NOT the AI version) must be installed in FG/data/Aircraft.

If you don't have the A-10 installed already, you can find the download link here:

http://wiki.flightgear.org/index.php/Fairchild_A-10

The A-10 appears to be the best aircraft to use to fly the scenarios, so installing it is worthwhile twice over.
Yeah, it's in the readme but the readme is a bit long, isn't it?
flug
 
Posts: 70
Joined: Tue Jun 16, 2009 7:06 pm

Re: AI Dogfighting--new download w/bombable ships, aircraft, etc

Postby geneb on Tue Aug 25, 2009 10:14 am

This is AWESOME WORK!

Congrats on this. It looks great!

When does the multi-player component get done? *Evil Grin*

g.
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
geneb
 
Posts: 5
Joined: Thu Mar 08, 2007 11:39 am

Re: AI Dogfighting--new download w/bombable ships, aircraft, etc

Postby Student_Pilot_Noob on Tue Aug 25, 2009 7:38 pm

What do I do with Kansas-City-East-Bottoms-Bombing-Range.data? It's not an xml file or anything.
Student_Pilot_Noob
 
Posts: 81
Joined: Tue Aug 25, 2009 7:35 pm

Re: AI Dogfighting--new download w/bombable ships, aircraft, etc

Postby flug on Wed Aug 26, 2009 3:34 am

Student_Pilot_Noob wrote:What do I do with Kansas-City-East-Bottoms-Bombing-Range.data? It's not an xml file or anything.


Sorry, that's just a scratch file that got in the zip by accident. (It's a file generated by the UFO aircraft, that I used to determine positions etc for placing the tanks around.)
flug
 
Posts: 70
Joined: Tue Jun 16, 2009 7:06 pm

Camel on Camel action . . .

Postby flug on Wed Aug 26, 2009 3:38 am

Just a little taste of what's coming up soon . . . .
Image
Image
flug
 
Posts: 70
Joined: Tue Jun 16, 2009 7:06 pm

Next

Return to New features

Who is online

Users browsing this forum: No registered users and 1 guest