Search the Community
Showing results for tags 'payload'.
Hey, guys! I'm a beginner in applications with FSUIPC, and I'm pretty sure this is a stupid question but, how do I set the payload of an aircraft? The plane in question is an Embraer 195, with 3 sectores: crew, passengers and cargo. I can read and set the fuel levels, but got nowhere close with the payload. Here's what I'm doing so far, fuelwise: double targetFuel = 2134; double maxFuel = 6495.225; int formula = (int)((targetFuel * 100 / maxFuel) * (128 * 65536) / 100); result = fsuipc.FSUIPC_Write(0x0B94, formula, ref token, ref dwResult); result = fsuipc.FSUIPC_Write(0x0B7C, formula, ref token, ref dwResult); result = fsuipc.FSUIPC_Process(ref dwResult); This works as a charm, but I have no idea how to work on offset 1400. Any help at all would be greatly appreciated. Thank you!