makemdl question
Results 1 to 5 of 5

Thread: makemdl question

  1. #1

    makemdl question

    Hi

    Is it possible to control part visibility of a part such as a drag chute using a animation key frame 50 of the r_wingfold in the makemdl.xml?

    if so any examples of the xml code would be appreciated.

    I am using FSDS3.5


    any help or suggestions will be appreciated.


    thank you
    David

  2. #2

    Icon22

    Quote Originally Posted by this4dave2 View Post
    Hi
    Is it possible to control part visibility of a part such as a drag chute using a animation key frame 50 of the r_wingfold in the makemdl.xml?
    if so any examples of the xml code would be appreciated.
    I am using FSDS3.5
    any help or suggestions will be appreciated.
    thank you
    David
    Hi Dave,
    In order to simulate a drag chute You can try the spoiler/spoilerwell solution (in "makemdl.parts.xml" or using "TagTool" script).
    I used this solution in my DFS.230 (the first plane I made)

    Click image for larger version. 

Name:	d230_v02.jpg 
Views:	0 
Size:	44.7 KB 
ID:	25008 Click image for larger version. 

Name:	d230_v02_04.jpg 
Views:	0 
Size:	166.8 KB 
ID:	25009 Click image for larger version. 

Name:	d230_v02_06.jpg 
Views:	0 
Size:	140.9 KB 
ID:	25010


  3. #3

    Hi Dave,
    See attached, WoP use the l_spoiler or r_spoiler option for the drag chute of their Ar234. Just have it fully deployed at frame 1 in the Fs2004 Aircraft Keyframe Animation section, also by using the spoiler option you can also simulate the drag effect in the airfile in the spoiler section.

    Cheers

    Shessi

  4. #4
    I animated the drag chute with an additional flap position. For example, the Su-22.

    Two flaps positions for swing wings and two positions for the landing flap.
    Position five animated the drag chute.



    In the Aircraft.CFG the looks.

    [Flaps.0] // Animation; Angel = KayFrames
    type=1
    span-outboard=0.500000
    extending-time=18.000000
    system_type=0
    flaps-position.0= 0.00, 0.00
    flaps-position.1= 218.00,0.00
    flaps-position.2= 400.00,0.00
    flaps-position.3= 500.00, 0.00
    flaps-position.4= 600.00, 0.00
    flaps-position.5= 600.00, 0.00
    lift_scalar= 0.0
    drag_scalar= 0.0
    pitch_scalar=0.0

    [Flaps.1] // Schwenkflügel; Swiveling Wings
    type=1
    span-outboard=0.500000
    extending-time=12.000000
    system_type=0
    flaps-position.0= 0.00, 0.00
    flaps-position.1= 10.00,0.00
    flaps-position.2= 20.00,0.00
    flaps-position.3= 20.00, 0.00
    flaps-position.4= 20.00, 0.00
    flaps-position.5= 20.00, 0.00
    lift_scalar= 1.0
    drag_scalar= 0.5
    pitch_scalar= 2.0

    [Flaps.2] // Klappen; Flaps
    type=1
    span-outboard=0.500000
    extending-time=5.000000
    system_type=0
    flaps-position.0= 0.00, 0.00
    flaps-position.1= 0.00,0.00
    flaps-position.2= 0.00,0.00
    flaps-position.3= 5.00, 0.00
    flaps-position.4= 10.00, 0.00
    flaps-position.5= 10.00, 0.00
    lift_scalar= 2.0
    drag_scalar= 1.5
    pitch_scalar= 1.5

    [Flaps.3] // Bremsschirm; Drag Chute
    type=1
    span-outboard=0.500000
    extending-time=0.03
    system_type=0
    flaps-position.0= 0.00,0.00
    flaps-position.1= 0.00,0.00
    flaps-position.2= 0.00,0.00
    flaps-position.3= 0.00,0.00
    flaps-position.4= 0.00, 0.00
    flaps-position.5= 10.00, 0.00
    lift_scalar= -0.2
    drag_scalar= 75.0
    pitch_scalar= -5.00



    The drag chute is animated by key frame 0 to 100.




    Are controlled animation and visibility over the makeMDL.parts.xml


    Code:
    <part>
        <name>Bremsschirm_schirm</name>
    
        <visible_in_range>
            <parameter>
                <code>
                        (A:FLAPS HANDLE PERCENT, percent) 95 &gt; (A:GROUND VELOCITY, knots) 35 &gt; &amp;&amp;
                                     if{ 1 } els{ 0 } 
                </code>
            </parameter>
            <minvalue>1</minvalue>
            </visible_in_range>
    
        <animation>
            <parameter>
                <code>
                                   (A:FLAPS HANDLE PERCENT, percent) 95 &gt;
                                     if{ 100 } els{ 0 } 
                             </code>
                            <lag>180</lag>
            </parameter>
            </animation>
    </part>

  5. #5

    Flusirainer,

    Clever, I really like that idea a lot!

    I will keep that one tucked away for a rainy day....

    Cheers

    Shessi

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
  •