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

P3D v4 No export of the animation.

Messages
7
Country
russia
Hello everyone!

I think it's the first time I talk to you.(maybe not, but it was a lo-ong time ago) I usually prefer to read and listen. But recently I had an issue that I can't solve on my own and I did not find the solution.

I have no animation in sim after compilation. No matter how complex the model is. Even simple cube is not animating with simple default animation assigned. Mouserects, however, are working ok.
I have 2018 Max and using 4.5.14.34698 XtoMDL from p3d4 SDK.

Compilations are looking absolutely fine. On my own model or on test cube. XtoMDL creating reasonably sized file. But there is no animation in Sim. I tried assigning different friendly names and so on, tried different hierarchy with no success. Same result- perfectly fine compilation with no animation.

P3d v.3 sdk compilations works absolutely fine.

I will provide any info you need, but I don't know what can be helpful in this case. As I said, All logs looks fine.

For now, providing x,xanim,mdl and screen of XtoMDL log
 

Attachments

  • 2020-05-24 (6).jpg
    2020-05-24 (6).jpg
    42.6 KB · Views: 169
  • test.zip
    6.8 KB · Views: 185
Can you share the xml code you applied? If the xml has a tooltip, you can hold the cursor over the object to see if it changes when you press the mouse button. If it does, it could be as simple as the code is not giving the values needed to animate the switch from 0 to 50.
 
I just tried your mdl in P3Dv4 and all I see is a cube. What is the animation supposed to do? The mouse click works as the tooltip shows the lights going on/off. Not sure what the cube is supposed to do or what you animated to do?

Try animating the cube at 0,0,0 when at 0 timeframe...at 50 rotate along x axis 90 so that it is showing the skinny side as it appears it isn't a prefect cube. The y axis looks to be thinner.
 
First. It's a default nav.lights switch. Nothing special. No any custom xml code was used. Second. It shoud rotate on a click. Yeah, maybe it's not a cube, I just place a random "box" object. It does not matter. It should rotate, but it's not.

It's not a code problem. I use out-of-the-box modeldef.xml and default animations here. But any custom ones are not working too. My custom click changing the variable too(I can see it in a gauge) but animation, linked to that variable isn't working either.
 
Last edited:
Not sure what is going on. I tried a quick test in Blender using just a cube. I made it really skinny on the y-axis and assigned it to the nav light switch. At zero I left it as is, facing me...at 50 I rotate it to 90 degrees on the z-axis so skinny side was facing me.

In P3D it did rotate but was doing a weird flip back & forth type thing. The lights did turn on/off...but animation was strange.

So I took an object in my project that looks like a switch, used the default modeldef.xml (I use a modified one for my project...) and animated the switch. Zero was off...50 on. It worked fine...animation would go up/down like normal.

Sorry I don't have anything more to offer as I don't use Max. Hopefully some Max person will see and have an idea.
 
Found a mistake!

It's about regional standarts. Changing only "," to "." in Control Panel is working for 3.4 but it is not enough for 4.4. I changed Locale fully and it's compiling now. Previously it exported "," in xanim, that's why it was not compiling.
 
Back
Top