The online racing simulator
Check if engine is running via InSim?
Hey, Is there anyway to check if the engine is running via InSim?

I know its possible through OutGauge by checking the RPM but can it be done with InSim in any way?
I'm already using InSim in my application and don't really want to connect with OutGauge as well...

-David
#2 - PoVo
The only way I can think of is to create an "AFK timer" so basically after let's say 2 mins of no speed change you could presume that the engine is off or something.

Not accurate - but will get the job dirtily done
Would be a way but unfortunately can't be used for what I'm needing it for...

I was bored, and some one asked to update the 'Vehicle Alarm' to use the new collision packets rather than just the speed...
So while I was re-writing it I though about making it more realistic by not allowing the alarm to be set while the engine was running...

Hence I was looking for a way to do it with insim, rather than having to connect to Outgauge too
I noticed that even if you are in neutral and apply the parking brake the values in the ComCar (MCI) still oscillate (AngVel in particular).

But once you shut off the engine this oscilation disappears and the AngVel becomes static, too... (unless you steer )
I got around this by reading the RPM values directly from memory, Makes it a little harder to update because the location of this value changes with every patch. Very easy to find so its not too much of a problem.
Quote from DavidTiger :I got around this by reading the RPM values directly from memory, Makes it a little harder to update because the location of this value changes with every patch. Very easy to find so its not too much of a problem.

Really! Reading RPM values directly from memory. Now this I'm very interested in as it was the basis for how AMX Mod worked for Counter-Strike. Source Mod thankfully had built in API controls for finding this information, but needed to be compiled against the latest source sdk version when there was an update, but I digress. Where is the RPM value, what's it's pointer location in the current patch?
RPM value for the current patch (z34) is in address: 008489E8


This is how the tweak programs worked, by editing values in memory. And also why it had taken time to update the tweak programs for each patch... Finding every single value one at a time, Although they were close together so when you found one value for the XFG most of the other values were close to that address

FGED GREDG RDFGDR GSFDG