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.

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby 5H1N0B1 » Fri Nov 30, 2012 11:22 pm

Hi all,

With XIII 's code, I put some seeking missile on the mirage 2000-5.
The objective was to create someeting a little more "simple" than the original code, and I put lot of missile :
Matra MICA, AIM120, MatraR550Magic2, aim-9, GBU16, GBU12, AGM65, SCALP, SeaEagle, AIM-54, MATRA-R530.

When I'll have time I'll implement russian missile : R33, R40, R60, R74, R77, and copter missile like Stinger and AGM114...

This work well and I have also lot of work on the 2000.
From now, my question is : How can I implement Bombable on this ?
The script doesn't use submodels but AI models...

(and the 2000 can be downloaded on Helijah's hangar.)

Can someone help me ?

Thanks in advance.

5h1n0B1
5H1N0B1
"Each day, with every person you meet, there is something to learn"
5H1N0B1
 
Posts: 211
Joined: Thu Aug 30, 2012 9:36 am
Location: France
Callsign: 5H1N0B1
IRC name: _5H1N0B1
Version: GIT
OS: Ubuntu

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby flug » Fri Dec 14, 2012 3:58 am

I just uploaded another update to Bombable on December 13, 2012--it's now at version 4.4 zf (beta), which works with Flightgear 2.8.0 as well as earlier versions (2.0, 2.2, 2.4, 2.6).

This update doesn't have any major changes, just one small but important bugfix: It is compatible with FG 2.8.0.

Download the package here:

http://brenthugh.com/flightgear/bombable4-4zf-beta.zip

Huge tip of the hat to Voudoun da Vinci who tracked down the problem with FG 2.8.0 compatibility and supplied me with the files and changes needed to get Bombable working again under FG 2.8.

Unfortunately I haven't had a chance to test this new version extensively so please let me know if there are any problems.
flug
 
Posts: 218
Joined: Wed Jun 17, 2009 1:06 am

Bombable FG add-on now compatible with FG 2.10.

Postby flug » Sun Mar 31, 2013 5:03 am

I just uploaded a new version of Bombable that is compatible with FlightGear 2.10.0--in fact, it should work with all 2.X versions of FlightGear.

http://brenthugh.com/flightgear/bombable4-5.zip

Thanks to Voudoun da Vinci for helping track down some of the problems and the fixes.

Bombable is still pretty new to FG 2.10, so please let me know if you find any problems. Message in this thread is the best way.

FYI part of the package is a new, greatly improved, historically accurate (to the degree I could make it so!) JSBSim FDM for the Sopwith Camel.

The idea was to make the Camel fly like a real Camel--not just when flying safely well within the envelope like a commercial pilot, but when taking it to the edge and beyond, as real combat pilots did in WWI.

Not easy to fly--but a lot of fun to try. It's SopwithCamel-Bombable (JSBSim), included in the Bombable distribution.
flug
 
Posts: 218
Joined: Wed Jun 17, 2009 1:06 am

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby flug » Sun Mar 31, 2013 9:04 pm

Bombable Ver. 4.5a fixes a couple of pesky bugs, most notably the problem with Bombable over Multiplayer.

I believe that Bombable over Multiplayer is now working again!

http://brenthugh.com/flightgear/bombable4-5a.zip
flug
 
Posts: 218
Joined: Wed Jun 17, 2009 1:06 am

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby DutchPilotMitchell » Tue May 14, 2013 5:01 pm

hey, I think that the function that makes scenarios work everywhere, doesnt work any more. When i am at a certain location (other than where the Ai scenario tells me to go) the aircraft dont spawn.
Proud to be Dutch.
User avatar
DutchPilotMitchell
 
Posts: 719
Joined: Tue Feb 15, 2011 9:10 pm
Location: The Netherlands
Callsign: mitchel
Version: 22
OS: Mac OS X

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby Berserker » Sat May 18, 2013 4:41 pm

Downloaded and tried the newest version on 2.10. Works just fine. Shot down a couple o' zeroes this morning. Great job! :D
Favorite Planes on FG: F-14, A-10, A-4, A-6, F-18, Cessna Skymaster, MiG-21, MiG-15, Mirage 2000, and the B-1B.

Only the dead have seen the end of war - Plato
User avatar
Berserker
 
Posts: 53
Joined: Tue Sep 18, 2012 7:28 pm
Location: U.S.A
Callsign: Ironman
Version: 3.2
OS: Mac OS X

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby flug » Tue May 21, 2013 1:30 am

DutchPilotMitchell wrote in Tue May 14, 2013 5:01 pm:hey, I think that the function that makes scenarios work everywhere, doesnt work any more. When i am at a certain location (other than where the Ai scenario tells me to go) the aircraft dont spawn.


That's funny, I have been using it quite a bit and haven't noticed a problem.

Are you using the map (check "traffic") to check where they are--sometimes they are just going the wrong way from you and you'll never find them 'by accident'.

If it really doesn't work, there might be some specific reasons that are the cause (different FG version, different part of the world, different something or other), because it definitely is working for me right now in a bunch of different situations where I've tested it.
Last edited by flug on Tue May 21, 2013 1:45 am, edited 1 time in total.
flug
 
Posts: 218
Joined: Wed Jun 17, 2009 1:06 am

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby flug » Tue May 21, 2013 1:44 am

I made a YouTube channel and added a couple of videos that demo some Bombable scenarios & multiplayer feature--might be of interest:

http://www.youtube.com/channel/UCtGZ0kqmCRJ9j-jRxRzBr9w

Also FYI Oscar chose the historically realistic JSBSim Sopwith Camel FDM that I've been developing in concert with Bombable for his Aircraft of the Month review--check it out here:

http://www.youtube.com/watch?v=C6gRFEEkkFE
flug
 
Posts: 218
Joined: Wed Jun 17, 2009 1:06 am

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby chriscalef » Tue May 21, 2013 6:56 pm

Quick question about bombable: can anyone who uses it tell me what feedback is supposed to be provided to let you know you are being hit? My friend and I got it going a while back, and had some fun shooting at each other, but while the attacker could plainly see his victim start to smoke, the victim could never hear or see any clues that anything untoward was happening at all. Did I screw up my install or something?

Thanks for the great add on, or whatever you call it!!

Chris
chriscalef
 
Posts: 236
Joined: Wed Feb 20, 2013 9:28 pm

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby DutchPilotMitchell » Wed May 22, 2013 10:43 am

OKay flug I'll look into it better, I'll let you know
Proud to be Dutch.
User avatar
DutchPilotMitchell
 
Posts: 719
Joined: Tue Feb 15, 2011 9:10 pm
Location: The Netherlands
Callsign: mitchel
Version: 22
OS: Mac OS X


Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby flug » Sun May 26, 2013 9:23 pm

chriscalef wrote in Tue May 21, 2013 6:56 pm:Quick question about bombable: can anyone who uses it tell me what feedback is supposed to be provided to let you know you are being hit? My friend and I got it going a while back, and had some fun shooting at each other, but while the attacker could plainly see his victim start to smoke, the victim could never hear or see any clues that anything untoward was happening at all. Did I screw up my install or something?


Chris,

It should show text messages near the bottom of the screen. If your screen is very, very small they might be pushed off the bottom or the top? That's about the only reason I could think of why they wouldn't be displayed.

You can see examples of how the messages are displayed in the video here about 17:59: http://youtu.be/nQPxUG9G8UQ?t=17m59s&hd=1
flug
 
Posts: 218
Joined: Wed Jun 17, 2009 1:06 am

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby housefatherof6 » Fri Jul 26, 2013 12:02 am

Have problem running bombable on 64bit windows 8. Bombable Crashes MS Error FG stop working because of error.

Have Hp windows 8 64 bits AMD a6-5400k accelerated processor 3.6gz turbo up to 3.8gz. with 8GB of memory and AMD Radeon HD
75400 Graphics card With up to 4GB Graphics System Memory.

Note: I installed fG 2.10.3 as 64bit did not force 32bit on 64bit when I installed FG

Downloaded bombable here: http://brenthugh.com/flightgear/bombable4-5a.zip

Had FG 2.10.3 runing on 64 bit and did not have any crashes or MS message saying FG stop running because of error, reports, until I downloaded and installed bombable. Now I get MS errors saying that FG has stopped because of an error when bombable is enable or disabled. When I have bombable disable and try to fly like CP-172 I receive the same MS error message. Here the steps I taken so far and well the command lines from FG and FG Wizzard:

Downloaded bombable 4-5a zip and unzip as directed c:\FlightGear\data. After installing bombable and running 1st time MS
error came up saying the Flight Gear stop running because of error and click to close program. Loaded FG again click the
Bombable menu/Bombable Options. Uncheck Bombable module enabled and click Save and then quit. Closed out the FG Wizzard and
then restarted FG Wizzard and the same MS Error came up again. After second try was able to run with Cp-172 but after
flying for a few mintues MS Error appeared again. Close the program out, rebooted and then restarted FG again without
bomable and then with bombable enable and still getting MS errors saying FG stop running because of a error and click
close.

Below are the command lines:

1 - 'C:\FlightGear\terrasync'
C:\FlightGear\bin\Win32\terrasync.exe -S -d "C:\FlightGear\terrasync" -p 5505
Starting automatic scenery download/synchronization. Using built-in SVN support.
Directory: 'C:\FlightGear\terrasync'.
Enabling ATI viewport hack
Could not find at least one of the following objects for animation: 'constructio
n'
Could not find at least one of the following objects for animation: 'constructio
n'
Bombable (ver. 4.5) loaded - bombable, weapons, damage, fire, and explosion effe
cts
loading scenario 'nimitz_demo'
loading scenario 'BOMB-MarinCountyCamelInvasion1-Simple'
Valid position data received. Connected successfully.
Loading Fokker DR 1 /ai/models/aircraft
Could not find at least one of the following objects for animation: 'constructio
n'
Could not find at least one of the following objects for animation: 'constructio
n'
Could not find at least one of the following objects for animation: 'chocks'
Loading Sopwith Camel /ai/models/aircraft[1]
Initializing Camel utilities ...
pilot-g
headshake
magneto
smoke
... running Camel utilities
Nasal runtime error: props.setValue() passed a NaN
at C:/FlightGear/data/Nasal/props.nas, line 29
called from: C:/FlightGear/data/Aircraft/sopwithCamel-Bombable/Models/fuel.nas
, line 130
Texture file not found: 'glass_shader.png'
Loading S.P.A.D. VII /ai/models/aircraft[2]
Gun vibrations initialized
Error in ground network. Failed to find first waypoint: 0 at KSMF

FG Wizzard Command Line:
C:\FlightGear\bin\Win64\fgfs.exe
--fg-root=C:\FlightGear\data
--fg-scenery=C:\FlightGear\terrasync;C:\FlightGear\data\Scenery;C:\FlightGear\scenery
--airport=CA35
--aircraft=sopwithCamel-YASim-Bombable
--control=joystick
--enable-random-objects
--enable-ai-models
--enable-ai-traffic
--enable-real-weather-fetch
--enable-clouds3d
--bpp=32
--atlas=socket,out,5,localhost,5505,udp
--ai-scenario=BOMB-MarinCountyCamelInvasion1-Simple
--prop:/sim/ati-viewport-hack=1

Any help would be appreciated thanks.
housefatherof6
 
Posts: 48
Joined: Tue Mar 26, 2013 3:12 pm
Location: Kansas USA
Callsign: jayhawk
Version: 3.0.0
OS: Ubuntu 14.4 LTS

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby Hooray » Fri Jul 26, 2013 12:18 am

I'd suggest to completely remove bombable to see if it's related to it or not - if that isn't possible, rename the base package directory and extract a fresh base package into the old location. That should tell us if it's related to bombable or not.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 11378
Joined: Tue Mar 25, 2008 8:40 am

Re: AI & MP Dogfighting now working! Bombable ships, aircraf

Postby housefatherof6 » Fri Jul 26, 2013 12:58 am

Hooray wrote in Fri Jul 26, 2013 12:18 am:I'd suggest to completely remove bombable to see if it's related to it or not - if that isn't possible, rename the base package directory and extract a fresh base package into the old location. That should tell us if it's related to bombable or not.


Hooray between my post and yours I did remove bombable to is if it was the problem. After removing bombable and reboot I started up FG again and did not have any error messages and FG was up an flying once again. So it must be related to bombable some how.
housefatherof6
 
Posts: 48
Joined: Tue Mar 26, 2013 3:12 pm
Location: Kansas USA
Callsign: jayhawk
Version: 3.0.0
OS: Ubuntu 14.4 LTS

PreviousNext

Return to New features

Who is online

Users browsing this forum: No registered users and 2 guests