Page 1 of 1

little Tut: Assigning Prop pitch to an axis with FSUIPC

Posted: Mon 8. Aug 2011, 15:28
by Guenseli
Hi Gents,

Mathias asked me about some info to assign the PropPitsch to an axis. Here it is:

Code: Select all

LVarSet = "L:Bf108PropVerstellung"
var = math.floor(((ipcPARAM*-1)+16384)/32768*100)

ipc.writeLvar(LVarSet, var)

- copy the code, open Editor and paste it
(be sure to use Editor, not Word, because Word destroys maybe the code!)

- save the file in the Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\Modules folder and name it "PropPitch.LUA";
the name is not important, but the file has to be a LUA

- start FSX, load a flight, open FSUIPC (registered of course), go to the axis section

- choose your Prop axis and assign with "send to FSX as normal axis" (or sth like that) and choose their the "LUA PropPitch".

- thats it, should work now!

Re: little Tut: Assigning Prop pitch to an axis with FSUIPC

Posted: Mon 8. Aug 2011, 16:50
by Mathias Pommerien
Thanks a lot, Günter!
This one's a sticky now. :D

Re: little Tut: Assigning Prop pitch to an axis with FSUIPC

Posted: Fri 11. Dec 2015, 15:33
by Ron Attwood
Thanks for that, it's appreciated. Is is possible to do the same thing for the gear lever? The axis I have assigned to the undercarriage triggers the sound effects but not the lever itself. I've nearly crashed several times looking down to find the click spot! :D

EDIT: Forget that, I've sorted it with FSUIPC4 ;)

Re: little Tut: Assigning Prop pitch to an axis with FSUIPC

Posted: Mon 14. Dec 2015, 17:23
by Mathias Pommerien
Hello Ron,

the gear lever just uses the default key ("G" on my German language keyboard).