• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Adding part name

Messages
549
Country
nicaragua
Hi, can you tell me some of the XML coding you use in makemdl.parts.xml for multiple doors for use with shift+2 to shift+4...
Thanks!
Oh and another thing: When I rotate the pivot in gmax and I rotate the part that has that pivot it doesn't rotate in the same axis as the pivot was rotated, like:
I have an aileron (rotates around the X axis) that has the rotating axis (in reality) at 20 degrees in the Z axis so I rotate the axis from "align to world" to 20 degrees (X=0, Y=0, Z=20). As long as it's a default animation in FS like l_aileron or l_elevator it will work right, but when I animate the aileron it doesn't rotate following the 20 degrees, it rotates following the default align to world... (X=0, Y=0, Z=0)
This has been giving me a lot of work just to animate gear, flaps, slats, etc.
What do I have to do to solve this problem?
 
Last edited:
Posted in the "WORKING XML Code Library (Parts and Gauges)" forum at Freeflight Design:

http://www.aerodynamika.com/cgi-bin/yabb/YaBB.cgi?num=1147535113

With your part selected (such as aileron):

1. Open Hierarchy Tab
2. Click on Affect Pivot Only
3. Use the Move and Rotate tools to adjust/align the pivot as desired.
4. When animating, be sure to select "Local" pivot reference instead of the default "View" reference.
 
Ups I can't register in Freeflightdesign.com. It apears the login option but the register is gone, I went to the site tutorials and it tells me to go to register but there's nothing there...
Thanks for the pivot and parts information!
 
Ups I can't register in Freeflightdesign.com. It apears the login option but the register is gone, I went to the site tutorials and it tells me to go to register but there's nothing there...
Thanks for the pivot and parts information!

Try again .... the lazy sitemaster apparently had disabled user registration because he was whining about getting spammed with (not even good quality) indecent stuff.
 
In the meantime, here is the XML script:

Code:
<part> 
      <name>switch_exit0</name> 
      <animation>
            <parameter> 
                  <sim>
                        <variable>EXIT OPEN:0</variable>
                        <units>Percent</units>
                  </sim> 
                  <lag>200</lag>
            </parameter> 
      </animation>
      <mouserect> 
            <cursor>Hand</cursor> 
            <tooltip_text>Toggle EXIT #1</tooltip_text> 
            <callback_code>(>K:TOGGLE_AIRCRAFT_EXIT,bool) (>K:SELECT_1,bool)</callback_code> 
      </mouserect> 
</part> 

<part> 
      <name>switch_exit1</name> 
      <animation>
            <parameter> 
                   <sim>
                        <variable>EXIT OPEN:1</variable>
                        <units>Percent</units>
                   </sim> 
                  <lag>200</lag>                   
            </parameter> 
      </animation>      
      <mouserect> 
            <cursor>Hand</cursor> 
            <tooltip_text>Toggle EXIT #2</tooltip_text> 
            <callback_code>(>K:TOGGLE_AIRCRAFT_EXIT,bool) (>K:SELECT_2,bool)</callback_code> 
      </mouserect> 
</part>

<part> 
      <name>switch_exit2</name> 
      <animation>
            <parameter> 
                   <sim>
                        <variable>EXIT OPEN:2</variable>
                        <units>Percent</units>
                   </sim> 
                  <lag>200</lag>
            </parameter> 
      </animation>
      <mouserect> 
            <cursor>Hand</cursor> 
            <tooltip_text>Toggle EXIT #3</tooltip_text> 
            <callback_code>(>K:TOGGLE_AIRCRAFT_EXIT,bool) (>K:SELECT_3,bool)</callback_code> 
      </mouserect> 
</part> 

<part> 
      <name>switch_exit3</name> 
      <animation>
            <parameter> 
                   <sim>
                        <variable>EXIT OPEN:3</variable>
                        <units>Percent</units>
                   </sim> 
                  <lag>200</lag>
            </parameter> 
      </animation>      
      <mouserect> 
            <cursor>Hand</cursor> 
            <tooltip_text>Toggle EXIT #4</tooltip_text> 
            <callback_code>(>K:TOGGLE_AIRCRAFT_EXIT,bool) (>K:SELECT_4,bool)</callback_code> 
      </mouserect> 
</part>
 
Back
Top