• 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.

FSXA Custom Gauge groups

Messages
35
Country
us-northcarolina
I am trying to make a subgroup of animation tags for my gauges. In the modelfef file when you create a new subgroup there is a unique guid numbers for the group:

<AnimationGroup name="EH-101 Specific" guid="0x84DDB2FF,0x444A,0x499c,0x816E,0x74ACBBADCD36">

Where do you get these from?

Thanks:confused:
 
There's a GUID generator in MS Visual Studio, or a standalone one you can download from MS. I think it comes in the Windows Platform SDK also.

Si
 
I am trying to make a subgroup of animation tags for my gauges. In the modelfef file when you create a new subgroup there is a unique guid numbers for the group:

<AnimationGroup name="EH-101 Specific" guid="0x84DDB2FF,0x444A,0x499c,0x816E,0x74ACBBADCD36">

Where do you get these from?

Thanks:confused:

That is simply a "standard GUID" that's written in a different format! To be perfectly honest, the simplest way to create a new one is to copy an existing one, paste in your new <AnimationGroup...> entry, then change at least one "number" (0 through F) in each section.

BTW, I don't how widely this is known, but...

...we don't have to keep new entries organized in the same order as the "stock" modeldef.xml file!

Note the "pattern" in the example below. The general idea is that we can keep all our "custom" entries at the top of the file to keep it segregated from the "stock definitions."

I also have multiple xxx_modeldef.xml files; one for each project. I simply rename them as needed for which ever project I'm currently working on. The abbreviated version below is archived as GLEX_modeldef.xml obviously.

Code:
<?xml version="1.0" encoding="utf-8" ?>
<ModelInfo>
  <!-- GLEX OVERHEAD ANIMATIONS -->
  <Animation name="GLEX_Ovhd_MBattery" guid="5b61b61a-5f5a-4327-8132-751cbe4c40b5" length="50" type="Sim" typeParam2="GLEX_Ovhd_MBattery" typeParam="AutoPlay" />
  <Animation name="GLEX_Ovhd_ELT" guid="030b893e-6d0f-479a-a495-4333371511a0" length="50" type="Sim" typeParam2="GLEX_Ovhd_ELT" typeParam="AutoPlay" />
  <Animation name="GLEX_Ovhd_L_HYD_SOV" guid="18a95a50-1f23-4d9f-8cf9-f456ba72615f" length="50" type="Sim" typeParam2="GLEX_Ovhd_L_HYD_SOV" typeParam="AutoPlay" />

  <AnimationGroup name="EDSG_GLEX_OVHD" guid="0x4F22FE3B,0x4F3E3F98,0xEBC4F665,0x8A3F10D0">
    <AnimationRef guid="18a95a50-1f23-4d9f-8cf9-f456ba72615f"/>
    <AnimationRef guid="030b893e-6d0f-479a-a495-4333371511a0"/>
    <AnimationRef guid="5b61b61a-5f5a-4327-8132-751cbe4c40b5"/>
  </AnimationGroup>

  <PartInfo>
    <Name>GLEX_Ovhd_MBattery</Name>
    ...et cetera
  </PartInfo>

  <PartInfo>
    <Name>GLEX_Ovhd_ELT</Name>
    ...et cetera
  </PartInfo>

  <PartInfo>
    <Name>GLEX_Ovhd_L_HYD_SOV</Name>
    ...et cetera
  </PartInfo>

  <!-- END GLEX OVERHEAD ANIMATIONS -->

  <!-- STOCK MODELDEF.XML DEFINITIONS AND SCRIPTS -->
  <Animation name="baggageloaderarm" guid="df1c4a50-b792-4f59-9b4e-101843a33d67" type="Sim" typeParam2="baggageloaderarm" typeParam="AutoPlay"/>
  <Animation name="anemometer" guid="b24c3586-f416-4e4b-b3e6-eb79b4fa499e" length="100" type="Sim" typeParam2="anemometer" typeParam="AutoPlay" />
  <Animation name="anemometer_spirit" guid="65e4dafd-4a1d-4c10-8424-c01dda66b0bc" length="100" type="Sim" typeParam2="anemometer_spirit" typeParam="AutoPlay" />
  ...et cetera

  <AnimationGroup name="CONTROL SURFACES" guid="0x4F22FE3B,0x4F3E3F98,0xEBC4F665,0x8A3F10D0">
    <AnimationRef guid="18a95a50-1f23-4d9f-8cf9-f456ba72615f"/>
    <AnimationRef guid="030b893e-6d0f-479a-a495-4333371511a0"/>
    <AnimationRef guid="5b61b61a-5f5a-4327-8132-751cbe4c40b5"/>
  </AnimationGroup>

  <PartInfo>
    <Name>baggageloaderarm</Name>
    ...et cetera
  </PartInfo>

  <PartInfo>
    <Name>anemometer</Name>
    ...et cetera
  </PartInfo>

  <PartInfo>
    <Name>anemometer_spirit</Name>
    ...et cetera
  </PartInfo>
  
</ModelInfo>
 
Last edited:
Ok but

I have a guid generator and did that for all my new gauges. BUT in the modeldef file when you create a new group of gauges there is a special header that requires a guid that is not like the others. Just wanted to know if someine knew where these are from or how to create them.

Opps I posted at 14:32 and you posted at 14:31 talk about just in time learning.... Thanks!!!!
 
Opps I posted at 14:32 and you posted at 14:31 talk about just in time learning.... Thanks!!!!

No problem. If you look closely though, you can see that the GUID used in the <AnimationGroup....> entry is simply a different arrangement of the normal GUIDs.

Note how the "standard GUID" has been rearranged in "groups of eight" with a 0x prefix added:

4F22FE3B-4F3E-3F98-EBC4-F6658A3F10D0

0x4F22FE3B,0x4F3E3F98,0xEBC4F665,0x8A3F10D0
 
Back
Top