• 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 Starter for Engine - Start Button "SOLVED"

Christian Bahr

Resource contributor
Hi!

For the start of the engine a button was animated and tagged with the animation tag "switch_starter". The clickspot was also tagged with "switch_starter":
p3dv4_chevrolet_start_button.jpg



The startup works. if I press the button, then the engine starts.
But stopping the engine does not work!

The goal is to be solved this way:

- I press the starter button and the engine starts. The starter button remains in position "On"
- I push the button again and the engine goes off. The starter button returns to the "off" position.

The animation of the starter button has two keys: Key 0 and Key 50:
p3dv4_chevrolet_start_button_keys.jpg





Is there already an existing recipe in the ModeDef.xml that i can use for this idea or modify something?
 

Heretic

Resource contributor
Nope. Aircraft starters are not stoppers.

But you can create a custom mouse rectangle tag that does something like this:

Code:
(A:GENERAL ENG COMBUSTION:1,bool) ! (A:GENERAL ENG STARTER:1,bool) ! and if{
(>K:MIXTURE1_RICH)
(>K:TOGGLE_STARTER1)
}

(A:GENERAL ENG COMBUSTION:1,bool) if{
(>K:MIXTURE1_LEAN)
}

Not sure if this'll work as is, but it should get you there.

Make the button animation depend on "(A:GENERAL ENG COMBUSTION:1,bool)" to have your start/stop button depressed when the engine is running.
 

=rk=

Resource contributor
An automotive ignition switch has two distinct functions, it energizes the electrical circuit to an “engine on state” and then, upon further action by the operator, it briefly energizes the starter motor. Switching off the ignition switch performs the function of shutting down.

it seems like all these steps already have existing and available corollaries. Really, all you need to do is add an off/on switch, which could be animated as a rotation of your already existing starter button and go with that, no?
 

Christian Bahr

Resource contributor
Hi!

We have now found a perfect solution. The start button is controlled by MAGNETO1_OFF and other variables.

Thank you for your help :)
 
Top