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

FS2004 Question about animation

Messages
4
Country
hungary
Hi all!

I've been working with the Project Tupolev Tu-154B-2 model for FS2004.

In ModelConverterX I see that the cargo doors and the APU inlets are animated (r_canopy, lever_cowl_flaps0) but in the simulator I just can't get the animations to play...

I tried with keys Shift+E+2 for the doors and the Cowl Flaps commands, but

Any ideas why can't I or how can I trigger them?

Thank you!
 

Attachments

  • r_canopy.jpg
    r_canopy.jpg
    188.2 KB · Views: 497
For the r_canopy parts, there may be a panel gauge problem that blocks all multi key commands. Can you select only engine 2 using E 2, or does that select engine 1? If so, then the panel is probably the problem. You can download and add a door gauge which will let you click the gauge rather than use the keyboard.

I don't know why cowl flap commands won't work (ctrl shift V and C), unless they only work with piston flight models.
 
I'm developing the panel for the plane, and I don't see any code which would block the animation, but I'll give it a try with a panel from a default plane (e.g. the Cessna 208B which has a back door and it opens with Shift+E+2).

Also I saw in the code (just for the record: I obtained the full source code for the Tu-154M from the developers, and I'm rewriting it for the B-2 with their permission) that the passenger and cargo door animations on the Tu-154M are controlled by C/C++ variables.
There are 4 boolean variables (bFwdDoor, bAftDoor, bFrontCargo, bAftCargo) and the clickspots are like this:

Code:
BOOL FSAPI doorfwd_lamp_ico_mouse_cb(PPIXPOINT rp, FLAGS32 mf) 
{	if (mf == MOUSE_LEFTSINGLE) bFwdDoor = !bFwdDoor;
	return TRUE;
}

The interesting thing is there is no code that suggest the value of these variables being transferred to any XML L:Variables.

Any idea how to do that?

Thank you!
 
Last edited:
Back
Top