little Tut: Assigning Prop pitch to an axis with FSUIPC

Seek support and talk about the Classics Hangar Me 108.
Unterstützung und Forum zur Classics Hangar Me 108.
Post Reply
Guenseli
Posts: 67
Joined: Tue 3. May 2011, 10:17

little Tut: Assigning Prop pitch to an axis with FSUIPC

Post 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!
Mathias Pommerien
Site Admin
Posts: 2966
Joined: Sat 30. Aug 2008, 08:32
Location: Uelzen/Germany
Contact:

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

Post by Mathias Pommerien »

Thanks a lot, Günter!
This one's a sticky now. :D
Mathias Pommerien (Classics Hangar)

Image
Ron Attwood
Posts: 3
Joined: Mon 1. Sep 2014, 12:34

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

Post 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 ;)
Mathias Pommerien
Site Admin
Posts: 2966
Joined: Sat 30. Aug 2008, 08:32
Location: Uelzen/Germany
Contact:

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

Post by Mathias Pommerien »

Hello Ron,

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

Image
Post Reply