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

FSX:SE Starter and throttle switch

euroastar350

Resource contributor
Messages
861
Country
us-delaware
Hi everyone,

I'm looking at coding the VC of my Bell 505 project and I need a bit of guidance on the following 2 switches.

The first one is the starter switch. The way it functions is when it is set to the start/run position, the fuel pump comes on, followed by the igniters/starter. Once the start is fully achieved, the switch stays in the run position and the starter is automatically disengaged (FADEC control). The engine is shutdown by just setting the switch off.

The second switch is actually the throttle and has 2 positions, "IDLE" and "FLY". At idle ( in FSX/P3D), the engine idle power/throttle is 5% as engine N2/rotor speed is about 60-65% RPM.

What would be the best way to code these 2 switches?
render_cockpit1.jpg
render_cockpit2.jpg
 
  • Search this forum and study the gazillion examples on this topic;
  • write your own code based on the examples and fail when trying to get it work;
  • then come to the forum and post your failing script asking for guide and wisdom;
Trust me you will be amazed on how keen people will be then to help you out.....;)
 
The problem for me is I have no idea how to code heli throttle, etc. Sorry.
 
Assuming that you have FSUIPC the first thing to do is a trace to see what code runs when you operate the switches in the VC.

Then it's a matter of writing LUA script to do the same.

Also check the LINDA forum on Avsim. They have many downloadable LUA modules there. If you are lucky, someone may have already written the code for you.

Good luck
Stinger

Sent from my SM-G935F using Tapatalk
 
Back
Top