- Messages
- 236
- Country

Hi all, I am working on a commercial project for FSX and later P3d and have hit a bit of a brick wall. Any help you guys may provide would be greatly appreciated.
Let me explain. I have a jet engine starter wav file that runs for a minute and I use the autostart method in the form of an animated fuel cutoff switch to start said engine. It has a single point only start i.e. no generators etc. just hit the switch and the engine starts. Anyway FSX's well documented autostart ignites at 20% N2 which cuts off half my beautiful start wav file, Grrrrrrr.
I did a bit of brainstorming and came up with another method. I tagged the fuel cutoff switch with the following code-
Thus turning it into a plain starter switch.
I then created another polygon and tagged it with the following code-
Turning that into an autostart switch. Net effect, when I hit the fuel cutoff switch, the engine would spool up to 24.8% N2 in about 1 minute and peak at about 24.9% N2 shortly after. I would then click on the autostart button with the mouse and Bang the engine would fire.
My brick wall so-to-speak is when I follow this process with mouse clicks, it works fine but any XML code I have written so far, shuts down the engine at 24.8% N2. Could anybody help me with how I could connect the two so that when I hit the fuel cutoff button, the engine spools up to 24.8% N2 and triggers the autostart sequence automatically without shutting down the engine.
Once again, any assistance would be gratefully appreciated.
Kind regards, TJ
Let me explain. I have a jet engine starter wav file that runs for a minute and I use the autostart method in the form of an animated fuel cutoff switch to start said engine. It has a single point only start i.e. no generators etc. just hit the switch and the engine starts. Anyway FSX's well documented autostart ignites at 20% N2 which cuts off half my beautiful start wav file, Grrrrrrr.
I did a bit of brainstorming and came up with another method. I tagged the fuel cutoff switch with the following code-
XML:
<PartInfo>
<Name>switch_starter0</Name>
<Copy>switch_starter</Copy>
<AnimLength>50</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>GENERAL ENG STARTER:1</Variable>
</Sim>
</Parameter>
</Animation>
<MouseRect>
<EventID>TOGGLE_STARTER1</EventID>
</MouseRect>
</PartInfo>
I then created another polygon and tagged it with the following code-
XML:
<PartInfo>
<Name>switch_master_starter1</Name>
<AnimLength>50</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>TURB ENG MASTER STARTER SWITCH:1</Variable>
<Units>bool</Units>
<Scale>50</Scale>
</Sim>
<Lag>200</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<TooltipID>TOOLTIPTEXT_A321_MASTER_STARTER_ENG1</TooltipID>
<MouseFlags>LeftSingle</MouseFlags>
<CallbackCode>
1 (>K:TOGGLE_MASTER_STARTER_SWITCH)
</CallbackCode>
</MouseRect>
</PartInfo>
My brick wall so-to-speak is when I follow this process with mouse clicks, it works fine but any XML code I have written so far, shuts down the engine at 24.8% N2. Could anybody help me with how I could connect the two so that when I hit the fuel cutoff button, the engine spools up to 24.8% N2 and triggers the autostart sequence automatically without shutting down the engine.
Once again, any assistance would be gratefully appreciated.
Kind regards, TJ