Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik

IL-2 Sturmovik The famous combat flight simulator.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #32  
Old 05-18-2008, 08:09 AM
lelek lelek is offline
Registered Member
 
Join Date: May 2008
Posts: 6
Default Alternative to zoomtracker

Hi, I had the same problem as above with zoomtracker so I did a bit of code in GlovePie http://carl.kenner.googlepages.com/glovepie_download.

Code:
PIE.FrameRate = 120 Hz
If (var.x=0) then
 var.min=-5
 var.max=9
EndIf
var.t=(RealTrackIR.z*50)
if (key.Delete) then
 var.min=-13
 var.max=1
 var.x=1
ElseIf (key.End) then
 var.min=-5
 var.max=9
 var.x=1
ElseIf (key.PageDown) then
 var.min=-1
 var.max=13
 var.x=1
EndIf
if (var.t<var.min) var.t=var.min
if (var.t>var.max) var.t=var.max
if (key.Multiply) var.z=0
if ((var.t-var.z)>1) then
 key.f12=true
 key.f12=false
 var.z=var.z+1
ElseIf ((var.t-var.z)<-1) then
 key.f11=true
 key.f11=false
 var.z=var.z-1
EndIf
Instructions:

1. Copy - paste the above code into GlovePIE and save
2. Start your TrackIR / FreeTrack software and set (*) as the recenter key (or change key.Multiply in the code into what ever you have set as recenter)
3. RUN the GlovePIE code
4. Start il2 Sturmovik and set f11, f12 as increaseFOV, decreaseFOV respectively (or change key.f11, key.f12 in the code into what ever you have set for FOV - increase / decrease in il2)
5. Play!

If you want to change sensitivity of zooming you can do it by changing the number 50 in 'var.t=(RealTrackIR.z*50)'
Increasing the number will increase sensitivity and vice versa.

Last edited by lelek; 05-18-2008 at 08:13 AM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:53 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.