panther42 53 Posted August 2, 2012 I am trying to use the config values of planes for testing aircraft launch off of carriers in my WIP script found here: Carrier Flight Operations I was messing around trying to make this as "realistic" as possible. I already have a couple of scripts which work, and the AI takes over flying the plane once airborne. I have read the following: envelope-cfg-plane and CfgVehicles_Config_Reference envelope and am trying to figure out the correct speed for liftoff (wheels up) for the different planes. IE, weight of aircraft(different loadouts), acceleration, max speed, lift, etc. I found this formula in a bug ticket: (real acceleration)=(acceleration config entry)*((maxSpeed config entry)-(current speed))/(maxSpeed config entry)) max 0 Number one, I'm not the greatest at math to know if this is correct, and number two, I have looked at several plane configs, and some don't have an acceleration config entry???? Can you calculate the proper lift off speed just by looking at the envelope table? I figured you could pull this data by using: _envelope = getArray (configFile >> "CfgVehicles" >> typeOf _vehicle >> "envelope"); in a script. Using similar for any other values which are necessary. Is the lift off speed determined by a set percentage of max speed? Another question. I have noticed planes also have a landingSpeed in their config. For instance, the landing speed listed for the C130J is 200. However, while checking the landing speed of said C130J using the command landAt, I have found it is landing at @ 90kph. Is the landingSpeed value of any use? Thank You, panther42 Share this post Link to post Share on other sites
[aps]gnat 29 Posted August 3, 2012 While I was surprised to find there was an "acceleration" config entry (in just 2 aircraft, Su25 and L39) I don't feel this is the main factor in what you seek. Obviously all other aircraft have a baked-in acceleration, likely less, likely something like 20. From experience I've found that there are several other config entries that effect the take-off and landing dynamics. maxSpeed landingSpeed landingAoa flapsFrictionCoef While some say "landing", to me they seem to have just as much effect on take-off. Weight and weight distribution also appears to play a factor. Another config I've notice that you might want to play with. Not sure what it does. flareVelocity Share this post Link to post Share on other sites
panther42 53 Posted August 10, 2012 Thanks Gnat, sorry I didn't reply sooner... Through testing I have found I can use an acceleration script and play around with the time factor to check velocity needed for launch. BIS has the AI programmed to take over flight once the aircraft reaches a certain speed. They take off and are happy...:) This is useful for short/no runways. Seems as though the takeoff speed is very similar(I have to capture the exact) speed which is listed for the landing speed as you mentioned above. Thanks again, panther42 Share this post Link to post Share on other sites
[aps]gnat 29 Posted August 11, 2012 no prob. I'm pretty sure a acceleration script is how every other carrier take off in OFP/ArmA/ArmAII has been done. Yes, unfortunately theres no a huge amount that can be tweaked, but then again its not FSX ;) Share this post Link to post Share on other sites