PDA

View Full Version : Work around for some TrackIR Vector support in IL-2/PF coming soon!



MattCFII
12-19-2004, 04:28 PM
I just wanted to let you guys know my Christmas present to the PF community is coming soon. You guys need some Christmas cheer after what's been happening lately.

I've been doing some leg work getting in contact with some people so that this could happen with 3rd party software. Hehe but by no means did I actually writing the needed software, that thanks goes to several great guys. This work around will involve 3rd party software that allows you to assign ingame axes and map keystrokes to the Vector's axes, it isn' as good as true 6DOF support So far I have field of view changing with leaning in and out and leaning left and right toggles the gunsite offset on and off. As soon as I sort out release and hosting issues, an article how to do this will be up on www.virtualflightproductions.com (http://www.virtualflightproductions.com)

BaylorMax
12-19-2004, 04:34 PM
Thank you Santa!!! http://forums.ubi.com/groupee_common/emoticons/icon_smile.gif

Charlie_52ndVFW
12-19-2004, 05:48 PM
I can concur with the top post. I have seen it in action. While it is not near as good as full 6DOF support, it will work for now.

More information soon.

jlhopwo01
12-19-2004, 08:34 PM
Sweet! My 6DOF will be delivered tomorrow! Anyone want to buy a slightly used TrackIR2?

TAGERT.
12-20-2004, 12:09 AM
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by MattCFII:
I just wanted to let you guys know my Christmas present to the PF community is coming soon. You guys need some Christmas cheer after what's been happening lately.

I've been doing some leg work getting in contact with some people so that this could happen with 3rd party software. Hehe but by no means did I actually writing the needed software, that thanks goes to several great guys. _This work around will involve 3rd party software that allows you to assign ingame axes and map keystrokes to the Vector's axes, it isn' as good as true 6DOF support _ So far I have field of view changing with leaning in and out and leaning left and right toggles the gunsite offset on and off. As soon as I sort out release and hosting issues, an article how to do this will be up on http://www.virtualflightproductions.com <HR></BLOCKQUOTE>WOW! This is the best news I have seen in a long time! Thanks for the heads up Matt! Keep Us Posted!!

Hunter82
12-20-2004, 05:32 AM
map 2 key?

Charlie_52ndVFW
12-20-2004, 07:35 AM
http://forums.ubi.com/images/smilies/16x16_smiley-wink.gif

Someone is getting warmer....

Hunter82
12-20-2004, 08:57 AM
hehe I used it for COD http://forums.ubi.com/images/smilies/16x16_smiley-surprised.gif

<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Charlie_52ndVFW:
http://forums.ubi.com/images/smilies/16x16_smiley-wink.gif

Someone is getting warmer.... <HR></BLOCKQUOTE>

Diablo310th
12-20-2004, 08:58 AM
Mine arrives in 2 days....that would be super.

PriK
12-20-2004, 09:50 AM
Great stuff!

NTESLA
12-20-2004, 10:34 AM
Could you make a video on how it works in PF?

Do you still need the 6DOF setup to make it work?

Thank you.

MattCFII
12-20-2004, 10:53 AM
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Hunter82:
map 2 key? <HR></BLOCKQUOTE>
Got a link to map 2 key? I'm trying to find the best joystick to keystroke converter for this project.
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by NTESLA:
Could you make a video on how it works in PF?

Do you still need the 6DOF setup to make it work?

Thank you. <HR></BLOCKQUOTE>
I'll see what I can do about getting a video. ANd yes you would still need the 6DOF Vector for it to work.

Hunter82
12-20-2004, 01:47 PM
yep let me look it it up...actually when Donald was at NP he turned me on to it for FPS games without TIR support.

Hunter82
12-20-2004, 01:56 PM
here's the link he gave me...it's called trackmapper. Was used for WW2OL


http://kaf.tri6.net/trackmapper/

MattCFII
12-20-2004, 02:43 PM
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Hunter82:
here's the link he gave me...it's called trackmapper. Was used for WW2OL


http://kaf.tri6.net/trackmapper/ <HR></BLOCKQUOTE>
Thanks for the link. We're not using trackmapper though http://forums.ubi.com/groupee_common/emoticons/icon_wink.gif However if the developer did add 6DOF support it would be a great program for this kind of stuff.

williek
12-21-2004, 09:21 AM
which FPS titles are you using it on? How well does it work?

Snoop_Baron
12-21-2004, 12:05 PM
Thank you Santa http://forums.ubi.com/groupee_common/emoticons/icon_biggrin.gif

Tell us more about using it for FPS http://forums.ubi.com/groupee_common/emoticons/icon_smile.gif

s!
Snoop

MattCFII
12-21-2004, 12:08 PM
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Snoop_Baron:
Thank you Santa http://forums.ubi.com/groupee_common/emoticons/icon_biggrin.gif

Tell us more about using it for FPS http://forums.ubi.com/groupee_common/emoticons/icon_smile.gif

s!
Snoop <HR></BLOCKQUOTE>

I haven't tried any FPSs yet (I only own Call of Duty), but if it supports Joystick inputs for movement and aiming, it could be very impressive!

marcocomparato
12-23-2004, 03:35 AM
im having an issue where my install (legit without a no-cd crack) of IL2/AEP/FB/PF doesnt engage the blue-light mode of my v4 software. trackIR3pro w/vector, but im just trying to run it in normal dot mode and still nothing.

most other games like LOMAC work just fine.

why wouldnt PF give me a blue light? how do i fix that? thanks for your help

Snoop_Baron
12-23-2004, 11:36 AM
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by MattCFII:
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by Snoop_Baron:
Thank you Santa http://forums.ubi.com/groupee_common/emoticons/icon_biggrin.gif

Tell us more about using it for FPS http://forums.ubi.com/groupee_common/emoticons/icon_smile.gif

s!
Snoop <HR></BLOCKQUOTE>

I haven't tried any FPSs yet (I only own Call of Duty), but if it supports Joystick inputs for movement and aiming, it could be very impressive! <HR></BLOCKQUOTE>

Thanks for the reply m8. I also have Call of Duty and will give it a try when I get a chance.

s!

SKULLS_Exec01
12-23-2004, 12:14 PM
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by MattCFII:
I just wanted to let you guys know my Christmas present to the PF community is coming soon. You guys need some Christmas cheer after what's been happening lately.

I've been doing some leg work getting in contact with some people so that this could happen with 3rd party software. Hehe but by no means did I actually writing the needed software, that thanks goes to several great guys. _This work around will involve 3rd party software that allows you to assign ingame axes and map keystrokes to the Vector's axes, it isn' as good as true 6DOF support _ So far I have field of view changing with leaning in and out and leaning left and right toggles the gunsite offset on and off. As soon as I sort out release and hosting issues, an article how to do this will be up on http://www.virtualflightproductions.com <HR></BLOCKQUOTE>

Hey MattCFII,
Whats the latest??
If you are still looking for host for the mapping software (if free DL) what about asking for the squadrons with web site space to host it - then publish a list of those working links (we would host, sure others would also) Of course if its a payed thing - we have no means of dealing with that and shopping cart stuff... Bump

Charlie_52ndVFW
12-23-2004, 03:46 PM
Hey Gents,

Sorry it took so long to get this all worked out. We had to get all the political junk out of the way with the 3rd party developer and all that good stuff.

The work around involves using PPJOY, TIR2JOY, and a keymapper that will register joystick movement. I am not sure if the keymapper listed above will do that at this time. We tested two different ones and they seem to work OK.

Using three different 3rd party applications gets tedious and some what annoying at times, but it works. Not as good as true 6DOF support, obviously, but it is something until a better solution is found.

Everything is use at your own risk too... so you will not find a full tutorial on how to do this at VFP. But it is fairly easy to figure out and there are always the forums to ask questions. http://forums.ubi.com/groupee_common/emoticons/icon_razz.gif

All the details and links to the software is on VFP however. So you can click the sig, get the info, and go to town.

~S

SKULLS_Exec01
12-23-2004, 05:00 PM
Thanks Charlie for the update - please keep us posted on any other changes... :-) Happy Holiday!

PriK
12-23-2004, 06:27 PM
<BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by marcocomparato:
im having an issue where my install (legit without a no-cd crack) of IL2/AEP/FB/PF doesnt engage the blue-light mode of my v4 software. trackIR3pro w/vector, but im just trying to run it in normal dot mode and still nothing.

most other games like LOMAC work just fine.

why wouldnt PF give me a blue light? how do i fix that? thanks for your help <HR></BLOCKQUOTE>

I'd suggest making a post in the NaturalPoint forums for Vector. Wayne will be glad to help you I'm sure!

Lethal_Hobo
12-23-2004, 11:35 PM
Ok guys, bare with me, I dont own any Track device, but plan to pick one up at Oshkosh's EAA airventure 2005. So, the normal track IR can control viewing as in left right up down, right? and adding 4 new directions, im guessing in and out, and maybe side to side, up or down? Im just interested in how this works, because to me, this could be my saving grace, eliminating me from that God-forbidden HAT SWITCH http://forums.ubi.com/groupee_common/emoticons/icon_mad.gif

Mave_FI
12-24-2004, 10:22 AM
Ok guys... Got bored spending christmas alone, so I started to check into this. Got everything to work, but sendin "inc zoom/dec zoom" was not the thing I wanted... Went to do some googleing and found software called " AutoHotkey (http://www.autohotkey.com/)", found a script that reported joy-axis... Ok.. Did some scripting and here's the result:
=============================================
<pre class="ip-ubbcode-code-pre">; TrackIR Zoom Script for IL2FB/AEP/PF
; http://www.lufthunden.com
; This script is used to send single keypresses to manage FOV in IL2.
; =LH=Mave's Xmas present for the IL2 community ;)

#SingleInstance
SetFormat, float, 03 ; Omit decimal point from axis position percentages.
JoystickNumber = 4 ; Increase this to test a joystick other than the first.
JoystickAxis = y ; Set this to the axis you want to use.
GetKeyState, axis_count, %JoystickNumber%JoyAxes
if axis_count < 1
{
MsgBox Joystick #%JoystickNumber% does not appear to be attached to the system.
ExitApp
}
Loop
{
GetKeyState, joystate, %JoystickNumber%Joy%JoystickAxis%
if joystate between 000 and 006
ifNotEqual, sent_button, 1
{
sent_button = 1
Send, +{Numpad0 1}
}
if joystate between 007 and 010
ifNotEqual, sent_button, 2
{
sent_button = 2
Send, +{Numpad9 1}
}
if joystate between 011 and 014
ifNotEqual, sent_button, 3
{
sent_button = 3
Send, +{Numpad8 1}
}
if joystate between 015 and 018
ifNotEqual, sent_button, 4
{
sent_button = 4
Send, +{Numpad7 1}
}
if joystate between 019 and 022
ifNotEqual, sent_button, 5
{
sent_button = 5
Send, +{Numpad6 1}
}
if joystate between 023 and 026
ifNotEqual, sent_button, 6
{
sent_button = 6
Send, +{Numpad5 1}
}
if joystate between 027 and 030
ifNotEqual, sent_button, 7
{
sent_button = 7
Send, +{Numpad4 1}
}
if joystate between 031 and 034
ifNotEqual, sent_button, 8
{
sent_button = 8
Send, +{Numpad3 1}
}
if joystate between 035 and 038
ifNotEqual, sent_button, 9
{
sent_button = 9
Send, +{Numpad2 1}
}
if joystate between 039 and 042
ifNotEqual, sent_button, 10
{
sent_button = 10
Send, +{Numpad1 1}
}
if joystate between 043 and 046
ifNotEqual, sent_button, 11
{
sent_button = 11
Send, +{NumpadMult 1}
}
if joystate between 047 and 050
ifNotEqual, sent_button, 12
{
sent_button = 12
Send, +{NumpadSub 1}
}
if joystate between 051 and 100
ifNotEqual, sent_button, 13
{
sent_button = 13
Send, +{NumpadAdd 1}
}
Sleep, 25
}
return</pre>
=============================================
So... What that actually does, when you have Tir2Joy active, you have created that evil virtual joystick, you can use the script above with the AutoHotkey software (Link above), just copy/paste that to empty txtfile and rename it to whatever.ahk and it's automatically registered to AutoHotkey. Fix the binds in that script so that it works with "FOV 35, FOV 40 etc." I used shift+numpad0 -> shift+numpad9, numpad*, numpad+ and numpad- ...
After you get everything as you like, you can "compile" that script to exefile if you like using AutoHotkey...

I won't go into telling you how it works, this whole "fov-bubblegum" with lots of different software required is so hard for n00bs to do anyway... http://forums.ubi.com/groupee_common/emoticons/icon_smile.gif

Conclusion: That script utilizes 0->100% of the trackir z-axis. 51+ is wide view and 0-50% of the axis has views from 85 degrees to gunsight.

Try to figure it out... http://forums.ubi.com/groupee_common/emoticons/icon_smile.gif
And a little demo: -*1234567890987654321*-+-*1234567890987654321*-+
^^^^^^ Moved my head twice to forward and back

Mave_FI
12-25-2004, 05:25 AM
Bump with updated code, now has also the "Precision mode" added http://forums.ubi.com/groupee_common/emoticons/icon_smile.gif
=========================================
<pre class="ip-ubbcode-code-pre">; TrackIR Zoom Script for IL2FB/AEP/PF
; http://www.lufthunden.com
; This script is used to send single keypresses to manage FOV in IL2.
; =LH=Mave's Xmas present for the IL2 community ;)

#SingleInstance
SetFormat, float, 03 ; Omit decimal point from axis position percentages.
JoystickNumber = 4 ; Increase this to test a joystick other than the first.
JoystickAxis = y ; Set this to the axis you want to use.
GetKeyState, axis_count, %JoystickNumber%JoyAxes
if axis_count < 1
{
MsgBox Joystick #%JoystickNumber% does not appear to be attached to the system.
ExitApp
}
Loop
{
GetKeyState, joystate, %JoystickNumber%Joy%JoystickAxis%
if joystate between 000 and 013
ifNotEqual, sent_button, 1
{
sent_button = 1
Send, +{Numpad0 1}
}
if joystate between 014 and 018
ifNotEqual, sent_button, 2
{
sent_button = 2
Send, +{Numpad9 1}
}
if joystate between 019 and 023
ifNotEqual, sent_button, 3
{
sent_button = 3
Send, +{Numpad8 1}
}
if joystate between 024 and 028
ifNotEqual, sent_button, 4
{
sent_button = 4
Send, +{Numpad7 1}
}
if joystate between 029 and 033
ifNotEqual, sent_button, 5
{
sent_button = 5
Send, +{Numpad6 1}
}
if joystate between 034 and 038
ifNotEqual, sent_button, 6
{
sent_button = 6
Send, +{Numpad5 1}
}
if joystate between 039 and 043
ifNotEqual, sent_button, 7
{
sent_button = 7
Send, +{Numpad4 1}
}
if joystate between 044 and 048
ifNotEqual, sent_button, 8
{
sent_button = 8
Send, +{Numpad3 1}
}
if joystate between 049 and 056
ifNotEqual, sent_button, 9
{
sent_button = 9
Send, +{Numpad2 1}
}
if joystate between 057 and 061
ifNotEqual, sent_button, 10
{
sent_button = 10
Send, +{Numpad1 1}
}
if joystate between 062 and 066
ifNotEqual, sent_button, 11
{
sent_button = 11
Send, +{NumpadMult 1}
}
if joystate between 067 and 071
ifNotEqual, sent_button, 12
{
sent_button = 12
Send, +{NumpadSub 1}
}
if joystate between 072 and 100
ifNotEqual, sent_button, 13
{
sent_button = 13
Send, +{NumpadAdd 1}
}
if joystate between 000 and 023 ;If state "023" or below, enable precision mode
ifNotEqual, precision_mode, 1
{
precision_mode = 1
Send, {F10 down}
}
if joystate between 024 and 100 ;If state "024" or more, disable precision mode
ifNotEqual, precision_mode, 0
{
precision_mode = 0
Send, {F10 up}
}
Sleep, 25
}
return</pre>
=========================================
I have precision mode bind to F10.
Remeber to remove the "Toggle" checkbox from Precision mode hotkey.

tracker45
12-26-2004, 09:11 PM
Seems kind of complicated.

Is there a step by step tutorial to do this?

I'd like to give it a try but I'm kind of thinking that it won't come close to the full 6Dof like in Fs2004.
Really breaks my heart to use it in Microsoft and not have it in Pacific Fighters!