Flaps coding
Results 1 to 4 of 4

Thread: Flaps coding

  1. #1
    SOH-CM-2023
    Join Date
    Apr 2011
    Location
    Chacombe, not far from Silverstone
    Age
    85
    Posts
    1,588

    Flaps coding

    Does anyone know where the coding for the flaps are held? & if so can it be modified/disabled?
    I know that there is the standard Lever_Flaps code in the makemdl.parts listing, but I have deleted this code & the flaps through the keyboard or joystick still operate. The reason I ask is that I wish to add other operations within the standard code if at all possible.
    Keith

  2. #2
    Quote Originally Posted by Dev One View Post
    Does anyone know where the coding for the flaps are held? & if so can it be modified/disabled?
    I know that there is the standard Lever_Flaps code in the makemdl.parts listing, but I have deleted this code & the flaps through the keyboard or joystick still operate. The reason I ask is that I wish to add other operations within the standard code if at all possible.
    Keith
    Keith,

    There is no need to delete anything from makemdl.parts. It is there for you to Add your own code for anything you wish.

    There are several ways to code flaps in Gmax and FS. See the Makemdl SDK for a list of names.

    The FS animated name tags are l_flap and r_flap, pivot on the X axis, and deflect based on the [flaps.nn] section in the aircraft.cfg.

    The rest of the options are key framed animation options and they are listed as follows:
    Flaps Beech Baron L_Flap, R_Flap Axis (X Driven)
    Flaps (Key Framed) Mooney Bravo L_Flap_Key, R_Flap_Key Key 0 = 0% Deflection, Key 100 = 100% Deflection
    Flaps (Leading and Trailing Edge) Boeing 777 R_Pct_Lead_Edge_Flap0 Key 0 = Retracted, Key 100 = 100% Deployed
    Flaps (Leading and Trailing Edge) Boeing 777 L_Pct_Lead_Edge_Flap0 Key 0 = Retracted, Key 100 = 100% Deployed
    Flaps (Leading and Trailing Edge) Boeing 777 R_Pct_Lead_Edge_Flap1 Key 0 = Retracted, Key 100 = 100% Deployed
    Flaps (Leading and Trailing Edge) Boeing 777 R_Pct_Lead_Edge_Flap1 Key 0 = Retracted, Key 100 = 100% Deployed
    Flaps (Leading and Trailing Edge) Boeing 777 R_Pct_Trail_Edge_Flap0 Key 0 = Retracted, Key 100 = 100% Deployed
    Flaps (Leading and Trailing Edge) Boeing 777 R_Pct_Trail_Edge_Flap0 Key 0 = Retracted, Key 100 = 100% Deployed
    Flaps (Leading and Trailing Edge) Boeing 777 R_Pct_Trail_Edge_Flap1 Key 0 = Retracted, Key 100 = 100% Deployed
    Flaps (Leading and Trailing Edge) Boeing 777 R_Pct_Trail_Edge_Flap1 Key 0 = Retracted, Key 100 = 100% Deployed


    In addition to these options, you can have multiple [flap.nn] sections to individually control your flaps, and their effects on flight characteristics like pitch, lift, and drag, using the leading and trailing edge names to differentiate the effects.
    Milton Shupe
    FS9/FSX Modeler Hack

    My Uploads at SOH - Here
    Video Tutorials - Gmax for Beginners

  3. #3
    SOH-CM-2023
    Join Date
    Apr 2011
    Location
    Chacombe, not far from Silverstone
    Age
    85
    Posts
    1,588
    Milton, Thanks, yes I have the SDK, but those you quote above are for the exterior parts - I'm more interested in the interior 'lever' function, which as I said above seems to be hard coded somewhere. I have created my own modification which works, but it is still overwritten by the hard code & I do not seem to be able to connect the two.
    The idea is:
    There is a lever to select either up or down, but the flaps should not move until a hydraulic wobble pump activates. For the latter I have coded a tick18 that activates by holding down the left click or the right click.
    Maybe I've got to be even cleverer with my .xml code - which I must admit is done blind -a try & see if it works technique!
    Keith

  4. #4
    This is the one I use for the VC:

    Flaps Cessna 172 Lever_Flap Key 0 = No Deflection, Key 100 = Max Deflection
    Milton Shupe
    FS9/FSX Modeler Hack

    My Uploads at SOH - Here
    Video Tutorials - Gmax for Beginners

Similar Threads

  1. Flaps Damage
    By lewis11777 in forum CFS3 General Discussion
    Replies: 7
    Last Post: November 27th, 2011, 09:59
  2. Need some help with MDLC coding
    By OBIO in forum CFS2 General Discussion
    Replies: 3
    Last Post: May 8th, 2011, 14:38
  3. Duck flaps
    By jojohnson9 in forum FSX General Discussion
    Replies: 20
    Last Post: April 16th, 2011, 10:59
  4. A2A P-47 flaps
    By PRB in forum FSX General Discussion
    Replies: 8
    Last Post: July 5th, 2009, 05:03
  5. FS9 XML Coding
    By Firebar in forum FS 2002/2004 General Discussion
    Replies: 0
    Last Post: December 20th, 2008, 05:34

Members who have read this thread: 0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •