View Single Post
  #3  
Old 04-23-2011, 03:01 PM
MadBlaster MadBlaster is offline
Approved Member
 
Join Date: Oct 2010
Posts: 666
Default

yes. first...did u try to map it in game yet? I would be surprised if you couldn't do it directly. go to controls/aircraft/axis, find prop pitch axis...etc.

If that doesn't work you can follow this thread http://forum.1cpublishing.eu/showthr...200#post271200, then write a script to do it, or I will give you one to do it. but u will have to do all that stuff in the thread (i.e. get glovpie, ppjoy...etc).

the script would be something like this (not tested):

//proppitch for mousewheel

if mouse.wheelup=true then
var.proppitch=var.proppitch+.2
elseif mouse.wheeldown=true then
var.proppitch-.2
endif

if var.proppitch>1 then
var.proppitch=1
elseif var.proppitch<-1 then
var.proppitch=-1
endif

//.2 will give you 10% change on the axis.

//map the variable "var.proppitch" to a PPJOY virtual axis. like below

ppjoy1.analog0=var.proppitch

//happy days
Reply With Quote