Sign in to follow this  
Guest _FSAviator_

Adding spoiler to an existing aircraft

Recommended Posts

Hi,first I'm a newbie with aircraft design.What I want to do is to add spoilers (or airbrakes) functionality to an aircraft that doesn't have this feature.I tried to modify the aircraft.cfg adding the strings:spoiler_limit=59.989spoilerons_available=1but when I push the button assigned in FS2004 to activate spoilers, nothing happens.Is there another file to edit to add this feature?Thank you, regards.Bob

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Would you not also need:aileron_to_spoileron_gain = 3 //Aileron to spoileron gainmin_ailerons_for_spoilerons = 10 //Degreesmin_flaps_for_spoilerons = 0 //Minimum flap handle position when spoilerons activate(above from the default B737 cfg file...)

Share this post


Link to post
Share on other sites

Greetings Bob,Spoilers and spoilerons are different concepts. The former dumps lift to augment descent rate or to put weight on the wheels for wheel braking, the latter control roll rate at times when ailerons are ineffective. Microsoft incorrectly also use the term spoiler as a synonym for air brake, which is in reality a different device that adds profile drag and may be mounted nowhere near the wing.Obviously if any of these devices are to be added to an aircraft for use in FS9 someone always has to tell FS9; 1) How much drag to add2) How much lift to subtract3) What rate to add or subtract the drag and/or liftwhenever the 'spoiler' lever is moved or the / key is pressed by the consumer. In this case that someone is you.Simply limiting the travel of an MDL animation with aircraft.cfg content cannot add air brakes or spoilers because that provides no driver code for the gauge or the keyboard to pass to the hard coded flight model when the consumer operates the device by one of those means. The driver code needed by all relevant gauges or the keyboard resides in the air file.If you are trying to add air brakes you must research and then encode within REC 1101 of the air file the positive increment of co-efficient of profile drag that they provide when fully open in real life. The relevant field of REC1101 will probably be labelled Cd_ds in your hex editor.If you are trying to add spoilers you must research and then encode within REC 1101 of the air file the negative decrement of co-efficient of lift that they provide when fully open in real life. The relevant field of REC1101 will probably be labelled Cl_ds in your hex editor.Then, in both cases, you must research and then encode within REC1101 of the air file the time the relevant device takes to travel from closed to fully open. The field will usually be labelled spoiler_cycle_time, but must also be used for air brakes.Then, in both cases, you must research and then hex edit the last field of REC 320 of the air file encoding the max travel of the brake else spoiler in radians.If the aircraft has a combined wing mounted device that acts as both air brakes and lift spoilers you must do all of the above.Always hex edit flight dynamics with a third party tool such as AirEd. Do not use FSEdit to add driver code for any of these devices.Finally there is a single modification to the aircraft.cfg during which you must again encode the maximum angle of the device to match the value you encoded in REC320 of the air file, but this time in degrees.spoiler_limit= (degrees max travel)The above sets out the step by step process of creating the driver code required by any default 'spoiler lever gauge'. Any such gauge just sits there waiting for the flight dynamics author to deliver the driver code above that tells it how to be a lever for aircraft A or aircraft B. How much drag to add, or how much lift to subtract, and how quickly, in each case, when delivering the real world effect of that aeroplane

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this