Operation Flashpoint: Dragon Rising is a direct sequel to 2001's hit combat simulation game Operation Flashpoint: Cold War Crisis and the expansion pack Operation Flashpoint: Resistance.
Thanks to The Silver for making me aware of the TrackIR fixer patch from FreeTrack its all possible!
I have tried all sorts of things to get this to work, but have had no luck in the past. I tried GlovePie a while ago, but without success, now, thanks to The Silver for making me aware of the TrackIR fixer patch from FreeTrack its all possible!
Firstly, download these two files :
* You might want to save the script so you can just load it up later!*
KÓD: VYBRAT VŠE
var.resx = 1360; //horizontal resolution in gameThings to note about the script :
var.resy = 768; //vertical resolution in game
var.centre = 1; //0 = do not recentre view 1 = centre view
if key.LeftAlt then
if var.firststep == 0 then //this centres the mouse on the first frame
mouse.CursorPosX = var.resx/2;
mouse.CursorPosY = var.resy/2;
var.firststep = 1;
//the following converts the mouse to trackir data
FakeTrackIR.yaw = MapRange(mouse.CursorPosX, 0, var.resx,-180,180);
FakeTrackIR.pitch = MapRange(mouse.CursorPosY, 0, var.resy,180,-180);
if var.centre == 1 then //recenters trackir
FakeTrackIR.yaw = 0;
FakeTrackIR.pitch = 0;
var.firststep = 0;
When in a helicopter, the mouse is also used by to control pitch and roll, and so both viewing and pitching/rolling happen at the same time. I am currently trying to figure out how to stop this via a fake mouse input to the game, but no luck so far