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

FSX comm knob prob

this is my entry in zhe xanim

Code:
<Anim name="Konsole_dreh_com" guid="8962D364-4B3F-4794-8215-C5DCA7D981D8" length="100.000000"
	type="Sim" typeParam="AutoPlay" typeParam2="Konsole_dreh_com">
	<AnimStream name="Rotation" id="0" partName="Konsole_dreh_com" length="100.000000">
		<Keyframe time="0.000000" type="Quaternion" data="0.000000;0.000000;0.000000;1.000000"/>
		<Keyframe time="25.000000" type="Quaternion" data="-0.707107;0.000000;0.000000;0.707107"/>
		<Keyframe time="50.000000" type="Quaternion" data="1.000000;0.000000;0.000000;0.000000"/>
		<Keyframe time="75.000000" type="Quaternion" data="0.707107;0.000000;0.000000;0.707107"/>
		<Keyframe time="100.000000" type="Quaternion" data="-0.000000;0.000000;0.000000;1.000000"/>
	</AnimStream>
</Anim>	// End anim block

all other is ok.
i can cange the frequencies from e.g. 121.00 to 122.80 thats not the problem, but the knobs doesn`t rotate.
is the the code or the animation faulty. these are the three big "???"
 
Last edited:
Your Xanim Quaternion data describes a 360° rotation. So FSDS is animating it correctly at that point.

During the compile FSDS should write the animation from Xanim into the MDL file.

Try what I described about looking at the .MDL file. I will take Notepad a while to load it and it looks like nothing on earth until you get past VISL which is way down the file near the end, but "Find" in Notepad will get you there.

Roy
 
tis ist the only etry in the mdl with VISL

Code:
VISLj  VISCI   
          (A:ROTOR RPM PCT:1, percent) 25.5 > if{ 1 } els{ 0 }

i`ve tried with another partname. same result

Code:
<Anim name="conscom" guid="8962D364-4B3F-4794-8215-C5DCA7D981D8" length="100.000000"
	type="Sim" typeParam="AutoPlay" typeParam2="conscom">
	<AnimStream name="Rotation" id="0" partName="conscom" length="100.000000">
		<Keyframe time="0.000000" type="Quaternion" data="0.000000;0.000000;0.000000;1.000000"/>
		<Keyframe time="25.000000" type="Quaternion" data="-0.707107;0.000000;0.000000;0.707107"/>
		<Keyframe time="50.000000" type="Quaternion" data="1.000000;0.000000;0.000000;0.000000"/>
		<Keyframe time="75.000000" type="Quaternion" data="0.707107;0.000000;0.000000;0.707107"/>
		<Keyframe time="100.000000" type="Quaternion" data="-0.000000;0.000000;0.000000;1.000000"/>
	</AnimStream>
</Anim>	// End anim block

and the entry in mdl with the ani-code

Code:
ÈBSim             AutoPlay XAPC4   (A:COM1 ACTIVE FREQUENCY, KHz) 100 / 10 % 10 * dnor XANS       t     ÈBXANK   
 
Last edited:
The VISL section is concerned with visibility, it is the first place to look for code and I assume you are making a helicopter.

Is the autoplay code the same as you have in modeldef?

I guess my final suggestion, based on problems I have had in the past, is to delete all files in FSDS main directory that have temp or _ temp as part of their name and then do a compile.

Roy
 
yes i build a helicopter, its a ec135.

in the VISL-section is the code, what i posted the only once.
i cant`t find another parts of the callback-code in this.

i`ve delete all temp-files, but none of both codes, what i have works with animation. only the change of the frequencies is working.
 
Back
Top