• 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 3D HSI

euroastar350

Resource contributor
Messages
863
Country
us-delaware
Hi guys,

I finished modeling the HSI for my upcoming Bell 206 and for the life of me, I can't find the scripts posted here and FFDS a while back. Would any kind soul point me in the right direction for the post regarding the XML scripts for the instrument?
 
I have no point to direct to. for 3D instrument each animation use single animation code and use hierarchy to make them sync with desire animation.

code below are from default modeldef.xml, it can expand as you wish
Code:
<Animation name="needle_asi" guid="3260F4A2-890A-4623-8EDA-7DFBFADEF3B9" type="Sim" typeParam="AutoPlay" typeParam2="needle_asi" length="360"/>
<PartInfo>
    <Name>needle_asi</Name>
    <AnimLength>360</AnimLength>
    <Animation>
      <Parameter>
        <Code>(A:AIRSPEED INDICATED, knots) 1 *</Code>
      </Parameter>
    </Animation>
  </PartInfo>

can rename the <Name>
adjust animation length on <AnimLength>
add desire Avars on <Code>
GUID are sensitive, must different each animation
 
It's not an airspeed indicator, but a horizontal situation indicator. I remember seeing the codes posted a while back, which is what I'm after.
 
Yes, it was airspeed indicator.
you can customize Avars with what you need for animation
Code:
<Code>(A:AIRSPEED INDICATED, knots) 1 *</Code>
to make compass rose, can change to
Code:
<Code>(A:MAGNETIC COMPASS, degrees) 1 *</Code>

this is basic, and I trying to do basic stuff in modeldef.xml
i.e. I use Lvars instead Avars in modeldef.xml to give more opportunity of customize:
Code:
<Code>(L:KOMPAS, number) 1 *</Code>
COMPASS = KOMPAS (in Indonesian)
Lvars (L:KOMPAS, number) get value from xml / C++ gauge that " manipulated" using complex code. i.e add electric condition, add on/off function, etc.

just to make a new animation on code side you need <Animation name ...> and <PartInfo ...>
 
Back
Top