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

VC Panel - animation

Messages
132
Country
france
[FSX] & [FSXA] VC Panel - animation

Hello,

Today I can't understand why when a add VC Panel the animation doesn't work !

The panel is linked with the 3D box. And the panel material is set with "Is virtual cockpit panel texture". The 3D box have the keyframe and "MouseRec" with the "Attach Point Tool" window.

For debug, a create a little aircraft model with this parameters:

Modeldef.xml

Code:
<?xml version="1.0" encoding="utf-8" ?>
<ModelInfo>
<Animation name="DLA_Planche" guid="2B28047B-2B0B-40F9-87B6-45B905EA6D09" length="50" type="Sim" typeParam="AutoPlay" typeParam2="DLA_Planche"/>
<PartInfo>
	<Name>DLA_Planche</Name>
	<AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>(L:DLA_Planche, bool) 50 *</Code>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipText>Planche</TooltipText>
		<CallbackCode>
			(L:DLA_Planche, bool) ! (>L:DLA_Planche, bool)
		</CallbackCode>
	</MouseRect>
</PartInfo>
</ModelInfo>

Panel.cfg

Code:
[Window Titles]
Window00=GPS

[Window00] 
size_mm=153,122
window_size_ratio=1.000  
position=4
visible=1
ident=MISC_POPUP_1
pixel_size=150,150

gauge00=fs9gps!gps_500,		16, 0, 153, 122

[VCockpit01]
Background_color=0,0,0 
size_mm=400,200
visible=1
pixel_size=800,400
texture=$PN_Planche

gauge00=Aircraft_test!PN_Planche,	0,0, 400, 200

[Color]
Day=255,255,255
Night=225,117,89
Luminous=200,200,101

[Default View]
X=0
Y=0
SIZE_X=8192
SIZE_Y=5300

3D scene on Gmax

661750bug1.png


In FSX

766903bug1.png


I don't know why if I add the section "[VCockpit01]" on "Panel.cfg", the animation doesn't work. And without the "[VCockpit01]" the animation work perfectly.

I can send all source files if is more easy to understand my problem ;)

Thank you for your future aids !!
 
Last edited:
I strange thing !

If a create two VC panels, assign just the second (in the panel.cfg file) it's work. But if a link the 2D panel of any objet with animation, this doesn't work !!

Someone there try this technic ?

I hope to found a technic to anime (mouvement) a 2D panel in virtual cockpit wiht a 3D object.

I can't understand, because no problem with my SDK Garmin GPS 500, when I compil on the MDL and after a look on FSX, all works. I use the same technic to add a panel texture.


Thank you for your help.
 
Grrr, If I take my SDK Garmin GPS 500, and I create a little animation It's work perfectly
 
Well, I just found the problem and the solution to match.

Just an object is left without material assigned when the equipment is used for the virtual panel, then FSX seems to have problems in interpreting the MDL file.

The solution is simple. It's imperative that all objects have a material assigned with texture.

And finaly, I can create a 3D objet with animation, and link with any 2D panel ;)

I'm very happy ;)
 
Last edited:
Back
Top