TrackIR poor man's mod
5 posters
Page 1 of 1
TrackIR poor man's mod
Does this still work with OFPDR?
I tried the old thing using GlovePie, trackirfix and templars script.
Didnt work for me atleast.
Anyone else stumpled across some problems with it?
I tried the old thing using GlovePie, trackirfix and templars script.
Didnt work for me atleast.
Anyone else stumpled across some problems with it?
p3nnyw1s3- Points : 40
Reputation : 1
Join date : 2013-07-31
Re: TrackIR poor man's mod
You also need the freelook.xml mod to make that work. You need to make sure you're running everything as admin to make it work. I have another script that allows you to toggle freelook on/off.
You must change the 2 vars at the top of the script to match your screen resolution.
You can also change the look speed by messing with the numbers in the bottom of the script in the MapRange part. I'm not sure where the freelook.xml file would be available on the internet, but it was released with IW2 so if you find a repository for that it will likely be in there. Hope this helps a bit.
Cheers
- Code:
var.resx = 1600 //horizontal resolution in game
var.resy = 900 //vertical resolution in game
var.centre = 1 //0 = do not recentre view 1 = centre view
if key.LeftAlt then
if var.freelook == 0
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
end if
var.freelook = 1
else
var.freelook = 0
end if
wait 500ms
end if
if var.freelook == 0 then
if var.centre == 1 then //recenters trackir
if FakeTrackIR.yaw > 0 then
FakeTrackIR.yaw = FakeTrackIR.yaw - ((FakeTrackIR.yaw/10)+0.1)
if FakeTrackIR.yaw < 0 then
FakeTrackIR.yaw = 0
end if
end if
if FakeTrackIR.yaw < 0 then
FakeTrackIR.yaw = FakeTrackIR.yaw - ((FakeTrackIR.yaw/10)-0.1)
if FakeTrackIR.yaw > 0 then
FakeTrackIR.yaw = 0
end if
end if
if FakeTrackIR.pitch > 0 then
FakeTrackIR.pitch = FakeTrackIR.pitch - ((FakeTrackIR.pitch/10)+0.1)
if FakeTrackIR.pitch < 0 then
FakeTrackIR.pitch = 0
end if
end if
if FakeTrackIR.pitch < 0 then
FakeTrackIR.pitch = FakeTrackIR.pitch - ((FakeTrackIR.pitch/10)-0.1)
if FakeTrackIR.pitch > 0 then
FakeTrackIR.pitch = 0
end if
end if
end if
var.firststep = 0
else //the following converts the mouse to trackir data
FakeTrackIR.yaw = MapRange(mouse.CursorPosX, 0, var.resx,-65,65)
FakeTrackIR.pitch = MapRange(mouse.CursorPosY, 0, var.resy,60,-60)
end if
You must change the 2 vars at the top of the script to match your screen resolution.
You can also change the look speed by messing with the numbers in the bottom of the script in the MapRange part. I'm not sure where the freelook.xml file would be available on the internet, but it was released with IW2 so if you find a repository for that it will likely be in there. Hope this helps a bit.
Cheers

ThePhantomMenace- Points : 31
Reputation : 8
Join date : 2013-05-20
Re: TrackIR poor man's mod
https://www.youtube.com/watch?feature=player_detailpage&v=wz4UKwLM2AI&t=56
wonder if this could be adapted for DR?
Gonna get one of these when released
wonder if this could be adapted for DR?
Gonna get one of these when released
dewi316- Veteran
- Location : swansea
Points : 178
Reputation : 21
Join date : 2012-12-19
Re: TrackIR poor man's mod
Tx Phantom!
Gonna look into that right now..
*EDIT*
Was it the freelookconfigs.xml?
Gonna look into that right now..
*EDIT*
Was it the freelookconfigs.xml?
p3nnyw1s3- Points : 40
Reputation : 1
Join date : 2013-07-31
Re: TrackIR poor man's mod
Not working!
Does the system still have to be english?
Because i remember some problem if windows wasnt english...
Does the system still have to be english?
Because i remember some problem if windows wasnt english...
p3nnyw1s3- Points : 40
Reputation : 1
Join date : 2013-07-31
Re: TrackIR poor man's mod
ThePhantomMenace wrote:You also need the freelook.xml mod to make that work. You need to make sure you're running everything as admin to make it work. I have another script that allows you to toggle freelook on/off.
- Code:
var.resx = 1600 //horizontal resolution in game
var.resy = 900 //vertical resolution in game
var.centre = 1 //0 = do not recentre view 1 = centre view
if key.LeftAlt then
if var.freelook == 0
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
end if
var.freelook = 1
else
var.freelook = 0
end if
wait 500ms
end if
if var.freelook == 0 then
if var.centre == 1 then //recenters trackir
if FakeTrackIR.yaw > 0 then
FakeTrackIR.yaw = FakeTrackIR.yaw - ((FakeTrackIR.yaw/10)+0.1)
if FakeTrackIR.yaw < 0 then
FakeTrackIR.yaw = 0
end if
end if
if FakeTrackIR.yaw < 0 then
FakeTrackIR.yaw = FakeTrackIR.yaw - ((FakeTrackIR.yaw/10)-0.1)
if FakeTrackIR.yaw > 0 then
FakeTrackIR.yaw = 0
end if
end if
if FakeTrackIR.pitch > 0 then
FakeTrackIR.pitch = FakeTrackIR.pitch - ((FakeTrackIR.pitch/10)+0.1)
if FakeTrackIR.pitch < 0 then
FakeTrackIR.pitch = 0
end if
end if
if FakeTrackIR.pitch < 0 then
FakeTrackIR.pitch = FakeTrackIR.pitch - ((FakeTrackIR.pitch/10)-0.1)
if FakeTrackIR.pitch > 0 then
FakeTrackIR.pitch = 0
end if
end if
end if
var.firststep = 0
else //the following converts the mouse to trackir data
FakeTrackIR.yaw = MapRange(mouse.CursorPosX, 0, var.resx,-65,65)
FakeTrackIR.pitch = MapRange(mouse.CursorPosY, 0, var.resy,60,-60)
end if
You must change the 2 vars at the top of the script to match your screen resolution.
You can also change the look speed by messing with the numbers in the bottom of the script in the MapRange part. I'm not sure where the freelook.xml file would be available on the internet, but it was released with IW2 so if you find a repository for that it will likely be in there. Hope this helps a bit.
Cheers
How exactly are making this work?
What version of the game are u using?
p3nnyw1s3- Points : 40
Reputation : 1
Join date : 2013-07-31
Re: TrackIR poor man's mod
1. Copy the freelookconfig.xml file or whatever it's called into data_win/media/vehicles folder. If it doesn't exist create it, but it should be in the proper folder structure in the download from IW2.
2. Start glove pie and copy the script I posted into the window. Save it as whatever you want to call it. I call it togglefreelook.
3. Start the TrackIRFixer.exe or whatever it's called. It will wait to detect OFDR.
4. Start OFDR. When the game starts the trackIR fixer should detect it and patch it. You may need to restart the game again.
5. Go back to Glove Pie and press the button to run the script.
6. Go back in to DR or restart it if you haven't already and start a mission. If everything worked right, when you jump in a vehicle press the left alt key to toggle the freelook on/off. When you toggle it off it will automatically return to center.
I have the Acid mod patched version of the 1.02 exe. Although I haven't used the freelook mod since my last install, this is the procedure that has yielded the desired result for me in the past. Hopefully this will work for you as well.
Cheers
2. Start glove pie and copy the script I posted into the window. Save it as whatever you want to call it. I call it togglefreelook.
3. Start the TrackIRFixer.exe or whatever it's called. It will wait to detect OFDR.
4. Start OFDR. When the game starts the trackIR fixer should detect it and patch it. You may need to restart the game again.
5. Go back to Glove Pie and press the button to run the script.
6. Go back in to DR or restart it if you haven't already and start a mission. If everything worked right, when you jump in a vehicle press the left alt key to toggle the freelook on/off. When you toggle it off it will automatically return to center.
I have the Acid mod patched version of the 1.02 exe. Although I haven't used the freelook mod since my last install, this is the procedure that has yielded the desired result for me in the past. Hopefully this will work for you as well.
Cheers

ThePhantomMenace- Points : 31
Reputation : 8
Join date : 2013-05-20
Re: TrackIR poor man's mod
Thx bro!
Even using your howto i couldnt get it to work.
Guess I need to have an english installed OS.
Even using your howto i couldnt get it to work.
Guess I need to have an english installed OS.
p3nnyw1s3- Points : 40
Reputation : 1
Join date : 2013-07-31
Re: TrackIR poor man's mod
You have done everything right. I have tried the same thing for years and it has not worked for me either
Re: TrackIR poor man's mod
I wonder if it would be possible for someone that successfully patched the OFDR.exe to upload a copy of it to see if it will work for you guys.
ThePhantomMenace- Points : 31
Reputation : 8
Join date : 2013-05-20
Re: TrackIR poor man's mod
I think glovepie has a part in getting this to work. If you go on youtube and search templars videos, he got this work but it only works in vehicles. See if there is any info there. I'll dig around and see ifi can find the original post and whether i saved his thread from the old forums. Not home right now so youll have to hang fire forthw time being.
Re: TrackIR poor man's mod
I remember me and templar having a discussion about this. And the conclusion we made was that the os had to be an english install. However this was the vanilla 1.0 version of DR. No patches etc, back when we could extract the .000 files etc. Even if we couldnt use the files we extracted it gave some knowledge about the structure.
Ive tried to get hold of the extractor and the scripts. But the guy who made them thought he did more harm releasing them so they're pretty much gone. And i've lost my old backup with everything ofdr related.
Back on topic; How many of you got this working are using an english installed os? Have anyone else got this working who arent using english installed os?
Ive tried to get hold of the extractor and the scripts. But the guy who made them thought he did more harm releasing them so they're pretty much gone. And i've lost my old backup with everything ofdr related.
Back on topic; How many of you got this working are using an english installed os? Have anyone else got this working who arent using english installed os?
p3nnyw1s3- Points : 40
Reputation : 1
Join date : 2013-07-31
Re: TrackIR poor man's mod
I'm on an english os.
ThePhantomMenace- Points : 31
Reputation : 8
Join date : 2013-05-20
Re: TrackIR poor man's mod
https://www.youtube.com/watch?feature=player_detailpage&v=OKwA_wDO3o0
Something for you racing fans,
Could anyone say if the RIFT could be used with DR
Something for you racing fans,
Could anyone say if the RIFT could be used with DR
dewi316- Veteran
- Location : swansea
Points : 178
Reputation : 21
Join date : 2012-12-19
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|