Hello all. I have been working on an external FMS for FS9/FSX/P3D. I am at the point where I can fly an FMS route using FSUIPC offsets for Prev and Next waypoints:
FSUIPC_Write(0x6080, 1, &valid, &dwResult);
FSUIPC_Write(0x6004, 4, &gpsFlags, &dwResult);
FSUIPC_Write(0x6081, 6, &prevWpName, &dwResult);
FSUIPC_Write(0x608C, 8, &prevWp.lat, &dwResult);
FSUIPC_Write(0x6094, 8, &prevWp.lon, &dwResult);
FSUIPC_Write(0x60A4, 6, &nextWpName, &dwResult);
FSUIPC_Write(0x60B4, 8, &nextWp.lon, &dwResult);
FSUIPC_Write(0x60AC, 8, &nextWp.lat, &dwResult);
This (should) allow me to fly the waypoints without loading a flightplan into FS. This works great in FS9, however it does not work at all in FSX or P3D. The FSUIPC documentation states that these values are write only for FSX, but when I write them to FSUIPC, they do actually write and can be seen in FSInterrogate.
However, the aircraft does not respond to the waypoint change. And the waypoint does not show on the HSI.
Does anyone have experience with these variables for FSX/P3D? Why would MS change this between FS9 and FSX?
Thanks for any help!
J
FSUIPC_Write(0x6080, 1, &valid, &dwResult);
FSUIPC_Write(0x6004, 4, &gpsFlags, &dwResult);
FSUIPC_Write(0x6081, 6, &prevWpName, &dwResult);
FSUIPC_Write(0x608C, 8, &prevWp.lat, &dwResult);
FSUIPC_Write(0x6094, 8, &prevWp.lon, &dwResult);
FSUIPC_Write(0x60A4, 6, &nextWpName, &dwResult);
FSUIPC_Write(0x60B4, 8, &nextWp.lon, &dwResult);
FSUIPC_Write(0x60AC, 8, &nextWp.lat, &dwResult);
This (should) allow me to fly the waypoints without loading a flightplan into FS. This works great in FS9, however it does not work at all in FSX or P3D. The FSUIPC documentation states that these values are write only for FSX, but when I write them to FSUIPC, they do actually write and can be seen in FSInterrogate.
However, the aircraft does not respond to the waypoint change. And the waypoint does not show on the HSI.
Does anyone have experience with these variables for FSX/P3D? Why would MS change this between FS9 and FSX?
Thanks for any help!
J
