Board index FlightGear Development New features

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 » Mon Aug 24, 2009 7:39 am

Another update to Bombable February 2017--now at version 4.6, which works with Flightgear 2.12.1, 3.0, and all other versions through 2016.x.x, as well as earlier versions (2.0, 2.2, 2.4, 2.6, 2.8, 2.10).

Bombable converts FlightGear into full fledged combat flight simulator, with realistic weapons, dogfighting, bombing, and strafing--either with AI opponents or via multiplayer.

As with the FlightGear project as a whole, the goal of Bombable is to create a fun, realistic, and challenging combat flight simulation environment--since combat capabilities, training, and engagement have been an important part of the design and history of many of the historical aircraft modeled in FlightGear.

Here is the link to download Bombable 4.6delta, the current recommended version:

https://github.com/bhugh/Bombable/archive/4.6delta.zip

The 4.6delta version includes (among MANY other things) the JSBSim Sopwith Camel ver. 2.0--a historically realistic reconstruction of the famous Camel, completely compatible with Bombable. Ver. 2.0 of the Camel has many new updates and features and far greater realism.

Bombable now has a page on the FlightGear Wiki.

A video explains how to use Bombable, demonstrates it, and explains what the various menu options do.


Bombable is an add-on to FlightGear that has these features:

- Multiplayer dogfighting with Sopwith Camel, SPAD VII, Fokker DR 1 Triplane, A6M2 ZERO, F6F Hellcat, A-10 Warthog, and others
- AI dogfighting scenarios against planes, ships, and vehicles 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.
- You can shoot/bomb scenery elements and you will see explosions, fires, etc.
- Bombs and weapons affect Flightgear scenery as well as the main FG aircraft--so be careful that you don't drop a bomb too close to yourself . . .
- Explode/burn when the main aircraft crashes, rather than just bouncing off or ploinking into the ground
- 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
- Exceeding aircraft limitations (excess g-forces, overspeed) adds damage to your aircraft and finally leads to shutdown/crash
- Several specially modded aircraft are included. They are tuned to work better with Bombable AI scenarios, but for the AI scenarios you can use most any FG aircraft that has working guns or bombs (ie, fly the F-16 in dogfights; shoot down A-10s with an F-16 or Mig fighter, etc.)
- For MP dogfighting you **must** use one of the aircraft included in the distribution. (Or, if you are an aircraft developer, add some fairly simple code to your own aircraft to make them Bombable-compatible.)

Bombable now works with FlightGear 2.0.0 through 2017.1.2

Downloads:

https://github.com/bhugh/Bombable/archive/4.6delta.zip (current version, for FG 2.0 and later)

If you are running Flightgear 1.9 or earlier, I suggest using the old version of Bombable (the new version hasn't been tested on FG 1.9 or earlier--though you're welcome to try the new version and report in this thread what happened):

http://brenthugh.com/flightgear/bombable3p.zip (old version, FG 1.9 and earlier)


Extra Aircraft to use with Bombable
Bombable includes a number of Bombable-optimized aircraft as part of the base distribution, including a historically accurate Sopwith Camel flight development model (choose the JSBSim version of sopwithCamel-Bombable).

In addition to the aircraft included in the base distribution, you can download these additional aircraft that are also Bombable-optimized:

* F-15E Strike Eagle (added weapons to the flyable/main aircraft version and bombable attributes to the AI/MP version, includes two scenarios, you can dogfight with Sidewinder missiles and guns with the F-15E or other FG aircraft such as the F-14b): http://brenthugh.com/flightgear/F-15E.zip - unzip to your 'data' directory (it includes an aircraft AND AI scenarios, all will be in the right place if you unzip to your data directory)

Based on the F-15E Strike Eagle project by StuartC.

* B-17F with working guns (Bombable includes an AI version of the B-17 but this adds a flyable/main aircraft B-17 that has working/firing guns; use with the Zero, Hellcat, and B-17 scenarios included in Bombable or fly over MP with B-17s, Zero, Hellcats, and similar aircraft.): http://brenthugh.com/flightgear/B-17F.zip - unzip to your Aircraft directory.

Based on the B-17F from Dave's Hangar. You'll need the DavePack from Dave's Hangar to make it work.

Image

INSTALLATION

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

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

The package does **not** over-write any FlightGear files (except previous version of Bombable) and uninstalling Bombable is easy--it does **not** require reinstalling FlightGear. Uninstall instructions included.


Here's the background:

I've abstracted the techniques created by others as demonstration of concept, and actually made them work for a wide variety of ground vehicles, ships, and aircraft.

The same techniques allow any developer to add to a few lines of code any AI object (aircraft, ship, carrier, vehicle, etc.) and turn it into a Bombable-aware object that can move, chase you, shoot at you, and take damage and be destroyed.

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. As you are trying to track them down and catch them, they will also be working to track YOU down and shoot you.

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.

And . . . Bombable now extends those same techniques to create true multi-player dogfighting capabilities. Join your friends on FlightGear via multiplayer and fight it out.

MAKING YOUR OWN BOMBABLE AI AIRCRAFT AND YOUR OWN MP DOGFIGHTING AIRCRAFT

The same techniques used to make these AI aircraft bombable and make them work over MP can be used on any aircraft. Detailed instructions here:

http://wiki.flightgear.org/Howto:_Addin ... ith_damage


BOMBABLE SCENERY

Now the FG's scenery, buildings, bridges, etc, explode and catch fire when bombed or shot with enough of the right type of ammo.

Note: FG 3.0 compatibility has been reported by users but hasn't been extensively tested.
Last edited by flug on Sun Mar 19, 2017 11:52 am, edited 64 times in total.
flug
 
Posts: 218
Joined: Wed Jun 17, 2009 1:06 am

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

Postby Fahim Dalvi » Mon Aug 24, 2009 9: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: 1286
Joined: Sun Oct 14, 2007 1:08 pm
Location: Qatar
Callsign: Fahim
Version: 2018.2.2
OS: MacOS

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

Postby flug » Mon Aug 24, 2009 5:42 pm

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 Fri Sep 04, 2009 2:09 am, edited 1 time in total.
flug
 
Posts: 218
Joined: Wed Jun 17, 2009 1:06 am

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

Postby 2011futuremarine » Mon Aug 24, 2009 6: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 8:19 pm
Location: USA
Callsign: Dodger4

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

Postby flug » Mon Aug 24, 2009 10: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: 218
Joined: Wed Jun 17, 2009 1:06 am

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

Postby flug » Tue Aug 25, 2009 9: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 Fri Sep 04, 2009 2:10 am, edited 1 time in total.
flug
 
Posts: 218
Joined: Wed Jun 17, 2009 1:06 am

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

Postby flug » Tue Aug 25, 2009 10: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: 218
Joined: Wed Jun 17, 2009 1:06 am

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

Postby Fahim Dalvi » Tue Aug 25, 2009 11: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: 1286
Joined: Sun Oct 14, 2007 1:08 pm
Location: Qatar
Callsign: Fahim
Version: 2018.2.2
OS: MacOS

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

Postby 2011futuremarine » Tue Aug 25, 2009 1:20 pm

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

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

Postby Gijs » Tue Aug 25, 2009 2:02 pm

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

Reading the README ussually works ;)
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9381
Joined: Tue Jul 03, 2007 2:55 pm
Location: Amsterdam/Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

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

Postby flug » Tue Aug 25, 2009 3:48 pm

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: 218
Joined: Wed Jun 17, 2009 1:06 am

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

Postby geneb » Tue Aug 25, 2009 4:14 pm

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: 22
Joined: Thu Mar 08, 2007 5:39 pm

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

Postby Student_Pilot_Noob » Wed Aug 26, 2009 1:38 am

What do I do with Kansas-City-East-Bottoms-Bombing-Range.data? It's not an xml file or anything.
Student_Pilot_Noob
 
Posts: 82
Joined: Wed Aug 26, 2009 1:35 am

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

Postby flug » Wed Aug 26, 2009 9: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: 218
Joined: Wed Jun 17, 2009 1:06 am

Camel on Camel action . . .

Postby flug » Wed Aug 26, 2009 9:38 am

Just a little taste of what's coming up soon . . . .
Image
Image
flug
 
Posts: 218
Joined: Wed Jun 17, 2009 1:06 am

Next

Return to New features

Who is online

Users browsing this forum: No registered users and 1 guest