Le 24/02/2013 23:44, Stuart Buchanan a écrit : > Hi All, > > I've just committed some small changes to the AI air-to-air refueling > function: > > 1) Added support for multiple tankers of each type, selectable through > the AI-Tankers GUI. Tankers are now defined in AI/tankers.xml. > 2) Added an A-4F "buddy" tanker. > 3) Enhanced the UI to allow the user to set the speed of the tanker, > and the radius at which "contact" is made. Note that this is based on > the origin of tanker and user. As a future enhancement I want to add > offsets to indicate the position of the refuelling probe/receiver > on the user aircraft, and the location of the boom/drogue on the tanker. > 4) Added a user-toggled function to display messages when contact i > made or lost. Some aircraft > don't seem to have any obvious cockpit indicator that refuelling is in > progress, and we don't currently animate the probe being in the drogue > :) > 5) Added maximum fuel flow definitions to both the tanker and > receiver. While the KC-135 supports > flow of 6000 lbs/min, smaller tankers (such as the A4-F buddy tanker) > only provided ~1300 lbs/min. the actual fuel flow is taken as the > minimum of the two. > > Note that the maximum fuel flow affects both AI and MP tankers. I've > been unable to test with the latter, but have set a default to ensure > backwards compatibility. > > Feedback welcome as always. > > -Stuart > > hi Stuart,
after a few runs behind ai tankers, and some crashs in the sky, i think the a4f need to have at least the drogue and hose not "hot". here's a diff : --- a/Models/Geometry/A4-F/a4-f-tanker.xml +++ b/Models/Geometry/A4-F/a4-f-tanker.xml @@ -14,6 +14,12 @@ <object-name>FixedCanopyGlass</object-name> <object-name>Canopy_1</object-name> </effect> + + <animation> + <object-name>Hose</object-name> + <object-name>Drogue</object-name> + <enable-hot>false</enable-hot> + </animation> <model> <path>Pilot/pilot.xml</path> the radius definitely need the offsets , i was unable to make contact in the usual position with a short radius :) when you're in tanker.nas , I think that in turns, the tanker don't have a rotation correct respect to the bank angle, when you follow you don't have the same bank angle and it's a bit strange. here i got a much better behaviour with this patch: --- a/Nasal/tanker.nas +++ b/Nasal/tanker.nas @@ -155,7 +155,7 @@ var Tanker = { } var distance = dt * (me.ktas - me.headwind) * NM2M / 3600; - var deviation = me.roll ? 0.5 * dt * 1085.941 * math.tan(me.roll * D2R) / me.ktas : 0; + var deviation = me.roll ? dt * 1085.941 * math.tan(me.roll * D2R) / me.ktas : 0; if (me.mode == "leg") { if (me.lastmode != "leg") { jano ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel