Hello,
I can't make the event ENGINE_AUTO_START work consistently. You see, I want to have the engine already started for planes that are sitting on the runway, ready to take off, as in "Tutorial 1: First Takeoff". I have tried to send this event in my SimConnect client upon receiving a "SimStart" system event, but it doesn't work. Then, I tried sending the event when a particular joystick button was pressed (like using ctrl-E from the default keyboard assignments), but got inconsistent results. I think that every once in awhile, it might have worked. But mostly not.
So now I am using SimConnect_SetDataOnSimObject() to send two data at the appropriate time: "GENERAL ENG COMBUSTION:1" with value 1, followed immediately by "GENERAL ENG THROTTLE LEVER POSITION:1" with value 0. This works somewhat, but the trouble is, my ultralight engine (for example) revs way up to maximum then gradually falls back to idle, unlike the ctrl-E manual engine start behavior, where the engine revs to about 25% upon ignition before falling back to idle. I dislike the maximum revs behavior especially because I want to automate the parking brake next. With this kind of revving, the plane may start down the runway sooner than a player would want.
Anybody have any ideas? I mean, besides asking the player to manually start the engine and manually release the parking brake?
Zeebee
I can't make the event ENGINE_AUTO_START work consistently. You see, I want to have the engine already started for planes that are sitting on the runway, ready to take off, as in "Tutorial 1: First Takeoff". I have tried to send this event in my SimConnect client upon receiving a "SimStart" system event, but it doesn't work. Then, I tried sending the event when a particular joystick button was pressed (like using ctrl-E from the default keyboard assignments), but got inconsistent results. I think that every once in awhile, it might have worked. But mostly not.
So now I am using SimConnect_SetDataOnSimObject() to send two data at the appropriate time: "GENERAL ENG COMBUSTION:1" with value 1, followed immediately by "GENERAL ENG THROTTLE LEVER POSITION:1" with value 0. This works somewhat, but the trouble is, my ultralight engine (for example) revs way up to maximum then gradually falls back to idle, unlike the ctrl-E manual engine start behavior, where the engine revs to about 25% upon ignition before falling back to idle. I dislike the maximum revs behavior especially because I want to automate the parking brake next. With this kind of revving, the plane may start down the runway sooner than a player would want.
Anybody have any ideas? I mean, besides asking the player to manually start the engine and manually release the parking brake?
Zeebee