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

Search results

  1. KAI31

    P3D v4 Switch bool on start up

    And I would also recommend the variables of the sound assign and program separately in the external code to take out the limits of the compiled in the .mdl code. This will allow you to work with the variables directly and improve the flexibility and capabilities of code and sound.
  2. KAI31

    P3D v4 Switch bool on start up

    Leave your code As it is. To your folder Panel.хх рlace the folder there. Register in Panel.cfg to section [Vcockpit01] gaugeXX=Init_main!Main_processor, 1,1,20,20. If initialization is needed in 2D, you can add code to the sections of the 2D panel [WindowХХ] that start when loading. This...
  3. KAI31

    P3D v4 Switch bool on start up

    The easiest way to initialize any panel or action is to add code: (L:Init, enum) 0 == if{ 1 (>L:switch_pedcom_left_330, bool) 1 (>L:Init, enum) } Can be placed in the gauge XML code. You can also assemble state logic by including other variables in the code for different...
  4. KAI31

    Axis brake set commands problems.

    I asked a question about this a couple of years ago, but did not receive an answer anywhere. I experimented with this for a long time. It turned out that the left axis variable sometimes even works normally, but most often it unstably underestimates the axis parameters. Thе solution to disabling...
  5. KAI31

    Is there a penalty for having unused objects in the PackageSources

    I used to use a bat file for projects, but I was faced with the fact that when copying, I had to manually rewrite the paths in the file itself, otherwise it would be a mess (you can just forget to do this or enter the wrong path). Then I simply started using the shortcut created in the location...
  6. KAI31

    MSFS Landing gear animation problem

    Try to write it this way Bypassing the Scroll <Behaviors> </Behaviors> and tie the turn of the rack. <Animation name="c_wheel" guid="BC935F16-43CD-4046-8EF3-06E44A5940AB" length="200" type="Sim" typeparam2="c_wheel" typeparam="AutoPlay" /> <PartInfo>...
  7. KAI31

    MSFS Landing gear animation problem

    Doesn't it bother you that half of the code is in Latin Unicode, and the other is not? And the SDK documentation clearly states compliance with formatting, interpretation and syntax rules, as well as gestures. Characters "<" ">" are deprecated and are read-only in MODEL BEHAVIORS code you must...
  8. KAI31

    P3D v5 P3Dv6 XMLTools install

    https://www.fsdeveloper.com/forum/threads/xmltools-in-p3dv5.451391/#post-912253
  9. KAI31

    Make VC gauge (p3d)

    This is not true, you cannot change the local variable A:LIGHT TAXIvia XML code. By writing 1 (>A:LIGHT TAXI)you have simply removed the condition and variable control from the code. It’s completely wrong to write code this way and it doesn’t work. In general, remove 1 (>A:LIGHT TAXI) from the...
  10. KAI31

    Make VC gauge (p3d)

    (1) does not assign a value to the event and does not pass it to the dependent variable. I also described to you how TOGGLE events work. In fact, this is a button and when pressed once, if the variable is FALSE, it will switch to TRUE and when pressed again, TRUE will switch to FALSE. In the...
  11. KAI31

    Make VC gauge (p3d)

    You can easily do this yourself by changing the values directly in the code. <!-- Turn off taxi and landing lights --> (L:switch_taxi_takeoff,number) 0 == if{ (A:LIGHT TAXI, bool) 1 == if{ 0 (&gt;K:TOGGLE_TAXI_LIGHTS) }...
  12. KAI31

    Make VC gauge (p3d)

    <PartInfo> <Name>switch_taxi_takeoff</Name> <AnimLength>50</AnimLength> <Animation> <Parameter> <Code>(L:switch_taxi_takeoff,number) 25 *</Code> </Parameter> </Animation> </PartInfo> <!-- NavLogo Switch Pos MouseRect --> <PartInfo>...
  13. KAI31

    Make VC gauge (p3d)

    Hi! Initially, you confuse the triggering of events K: . 0 (&gt;K:TOGGLE_TAXI_LIGHTS) will be triggered every time it is used to change the values between TRUE and FALSE and (A:LIGHT TAXI, bool) 0 == is an additional check condition for the dependence of the setting of the required settings on...
  14. KAI31

    Make VC gauge (p3d)

    No problem at all. In addition to the fact that it is much easier to interact with variables and devices directly, it also allows you to greatly expand your capabilities. And the stubs that I wrote are needed precisely in order for outdated 2D instrument scripts to work and be initialized in 2D...
  15. KAI31

    Make VC gauge (p3d)

    You just need to create a switch in 3D and animate it three positions in, say, 5 frames, 0-5-10. Then bind it to the code written in modeldef.xml. For example. <Animation name="NavLogo Switch Pos" guid="xxxxxxxxxxxxxxxxx-xxxxxxxx-xxxxxxxxxxxx" typeParam2="NavLogo Switch Pos" length="10"...
  16. KAI31

    MSFS Ivano-Frankivsk Airport [UKLI]

    Hi! Доброго ранку з Украины! Thanks for the scenery. We are also training in the studio to make scenery. For now, Kryvyi Rih (Lozuvatka) is in development for a start.
  17. KAI31

    MSFS MSFS SimConnect_AddToDataDefinition - Cannot use RPN to set LVar - SOLVED see last post

    https://forums.flightsimulator.com/t/simconnect-wasm-combined-project-using-vs2019/486871 I think it will be useful for you to study these open source projects to implement everything you need.
  18. KAI31

    MSFS MSFS SimConnect_AddToDataDefinition - Cannot use RPN to set LVar - SOLVED see last post

    Only using an external application in C# or a database in C#, + the WASM module, as well as SimConnect for connecting the application and simulator variables.
  19. KAI31

    Fspackagetool reports back "Node with this name already exists", Missing animations in MSFS2020

    Pay attention to the prefix x0(x1, x2, x3.....) which is removed during multi-export, and also that the compiler does not parse upper or lower case letters, and here you have duplicates. Elevator = ELEVATOR where the compiler selected the ELEVATOR element and added the value ...._1 to the...
  20. KAI31

    Fspackagetool reports back "Node with this name already exists", Missing animations in MSFS2020

    I've encountered this problem in my projects and found duplicates thanks to the unmistakable indication of their presence in the log during compilation. I found the renamed parts by opening the .gltf file in a text editor. The compiler was not mistaken, and after correcting the matching names in...
Top