Gear change by InSim
(7 posts, started )
Gear change by InSim
It is possible to change gear by InSim or only in C#? I wonna write new automatic gearbox in c# for cruisers.
What about IS_SCH?

struct IS_SCH // Single CHaracter - send to simulate single character
{
byte Size; // 8
byte Type; // ISP_SCH
byte ReqI; // 0
byte Zero;

byte CharB; // key to press
byte Flags; // bit 0 : SHIFT / bit 1 : CTRL
byte Spare2;
byte Spare3;
};

Should simulate a gear change in LFS, if you know the button it's mapped to. Unless I'm reading IS_SCH wrong
Well yeah, I forgot about that. My bad.
I don't think it'll work using SCHs, only non-driving related buttons (horn, hazard warning lights, etc.) can be SCH'ed afaik. Probably some sort of anti-cheating precaution.
But when I setted Z as gear_up and i go on sequential on G25 the gear can't be changed by C# but keyboard Z works!
Quote from morpha :I don't think it'll work using SCHs, only non-driving related buttons (horn, hazard warning lights, etc.) can be SCH'ed afaik. Probably some sort of anti-cheating precaution.

Ah OK, didn't know that, haven't used SCH before
-
(gru) DELETED by gru

Gear change by InSim
(7 posts, started )
FGED GREDG RDFGDR GSFDG