Jump to content
Sign in to follow this  
severniae

Setting engine power

Recommended Posts

Hi,

I've been working with engaging scripts to set various engine settings, being called via MCE that is then pressing a keyboard command that calls a lua script within FSUIPC.

One of the voice commands I want to use is "Set takeoff power", "Cruise power", "Idle Power", etc...

It seems a few of these are set up by default with MCE and for instance when I say 'set takeoff power' MCE co-pilot is jamming the throttles forward and its not calling my script.

Is there any way to disable this behavour? I don't really want the Virtual co-pilot touching the controls at all, but especially the throttles. If someone could help that would be great!

Thanks in advance,

James


James W

 

Banner_FS2Crew_Supporter.jpg

Share this post


Link to post
Share on other sites
6 hours ago, severniae said:

Hi,

I've been working with engaging scripts to set various engine settings, being called via MCE that is then pressing a keyboard command that calls a lua script within FSUIPC.

One of the voice commands I want to use is "Set takeoff power", "Cruise power", "Idle Power", etc...

It seems a few of these are set up by default with MCE and for instance when I say 'set takeoff power' MCE co-pilot is jamming the throttles forward and its not calling my script.

Is there any way to disable this behavour? I don't really want the Virtual co-pilot touching the controls at all, but especially the throttles. If someone could help that would be great!

Thanks in advance,

James

The reason they "appear" to be jammed is that he is pushing them incrementally. At some point (after a few seconds) you can set them as you wish manually.

As you discovered, built-in commands always take precedence over custom ones and will execute what we planned.

Custom commands have to be different by at least one character.

You could try appending "please" or "OK" to all of those commands you created, like "please set takeoff power", "ok idle power"

The only built-in commands that you can override are "gear up" and "gear down", and you'd need to change an option in "mce.ini"

This has been implemented in order to let Fo perform all sorts of tasks beyond retracting or extending the gear. Like disarming spoilers etc.

But for most other commands, there was never a need for users to create their own. Except when the aircraft isn't fully supported.

Do you mostly need this because Lua scripts are driving your hardware simpit?

Share this post


Link to post
Share on other sites

Hi, didn't realise they couldn't be overridden, ok I'll add please or something and that should work - what I've done is got some scripts that I'm working with that have the engineer control the engines - so while he controls the engines, the FO helps with other areas of flight.

 


James W

 

Banner_FS2Crew_Supporter.jpg

Share this post


Link to post
Share on other sites

Hi, how do I change the gear up setting in MCE?

I'd like to get the F/O to do more when selecting gear up... (start an after takeoff flow...)


James W

 

Banner_FS2Crew_Supporter.jpg

Share this post


Link to post
Share on other sites
11 hours ago, severniae said:

Hi, how do I change the gear up setting in MCE?

I'd like to get the F/O to do more when selecting gear up... (start an after takeoff flow...)

Click <More Options> button in "General" tab of the MCE UI

In "Advanced options" panel, click <View config>

mce.ini will show-up in Notepad.

Look at the [OPTIONS] section.

Change "UseAlternateGrammar=0" to "UseAlternateGrammar=1" and save.

Restart MCE and you'll notice "gear up" and "gear down" commands are no-longer accepted.

You can now define them as triggers for flows that do whatever you want Fo to perform.

To add the actual commands that retract or extend gear in the flow, use other alternatives like "retract gear", "extend gear, "raise gear", "gear retract".

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...