Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello folks

Although i've had FSUIPC for a number of years, i've only just started trying it's other features.... I have the CH Yoke and would like to programme it with FSUIPC.

On 4 engine aircraft I'd like to have one throttle control for 1 & 2, the other for 3 & 4. Then for two engine aircraft, have just one for each.

Worked out how to do that for individual aircraft, but is it not possible to apply that to a whole type of aircraft - like ALL PMDG744 etc, not just individual paints?

Makes it REAL hard work.

Posted

Hi Dougal

This is covered in the FSUIPC advanced user guide page 15. If you use: "ShortAircraftNameOK=Yes" (or "ShortAircraftNameOK=Substring") and use something like "PMDG" that would select all PMDG aircraft. For example in my FSUIPC.ini file the following entry "[Axes.Cessna]" (edited from "Axes=Cessna Skyhawk 172SP") using the above ShortAircraftNameOK=Substring will allow me to say assign and calibrate all my controls to the default C172 but will be valid for all airplanes where Cessna is included in the aircraft.cfg file under "title", eg for the carenado C182 this is the title from the aircarft.cfg file: "title=Cessna Skylane 182Q1".

Hope this is clear

Regards

PeterH

Posted

Thanks Peter

that's brilliant! I'd read that several times, but for some reason, just did not understand it - Duh!

Mucho work to do now.

When i've got all settings as i want them, will saving the INI file protect them?

Posted

Hi Dougal

Yes, saving the ini file will save the settings I have a back up of the ini file as well in a folder called "MASTER INI & CFG files"

This is the section from my FSUIPC.ini file which I initially assigned to the default C172

Where it says "[Axes.Cessna] it orginally said [Axes.Cessna Skyhawk 172SP] which is what is recorded in the C172 aircraft.cfg file "title" of the FS2004 C172.

If you put this line in the FSUIPC.ini :"ShortAircraftNameOk=Substring"' it will pick up any aircraft with the name "Cessna" in the title in the aircraft.cfg file. For example if you look at the Carenado C182Q aircraft.cfg file the title says: "title=Cessna Skylane 182Q" so that gets "picked up the FSUIPC.ini because of the word Cessna. Another example is the Wilco/Feelthere C208 the title states: "title=Cessna Grand Caravan! Deluxe", so again it is picked up from the word "Cessna". The beauty of this line of Code is that Cessna could appear anywhere in the title. Obviously you need to be careful if you have 2-engine Cessnas or a Citation then according to PeteD you could add a word to the aircraft.cfg title and then use that word in the FSUIPC.ini file.

[Axes.Cessna]

0=0X,256,D,7,0,0,0

1=0Y,256,D,8,0,0,0

2=0R,256,D,3,0,0,0

3=1X,256,D,9,0,0,0

4=1Y,256,D,10,0,0,0

5=1Z,256,D,17,0,0,0

6=1R,256,D,18,0,0,0

7=1U,256,D,13,0,0,0

8=1V,256,D,14,0,0,0

9=2X,256,D,1,0,0,0

10=2Y,256,D,2,0,0,0

11=2Z,256,D,22,0,0,0

12=2U,256,D,29,0,0,0

[buttons.Cessna]

0=R2,11,Cx32000BC0,x3FFF0080

1=R2,10,Cx42000BC0,xC0010080

2=P2,5,C66080,0

3=P2,4,C66079,0

4=P2,7,C65758,0

5=P2,6,C65759,0

6=P2,0,K66,8

7=P2,1,K68,8

8=R2,2,C66276,0

9=R2,3,C66277,0

10=R2,32,C65734,0

11=R2,33,C65856,4500

12=R2,34,C65672,9000

13=R2,35,C65857,13500

14=R2,36,C65735,18000

15=R2,37,C65855,22500

16=R2,38,C65671,27000

17=R2,39,C65854,31500

18=U2,32,C66415,0

19=U2,33,C66415,0

20=U2,34,C66415,0

21=U2,35,C66415,0

22=U2,36,C66415,0

23=U2,37,C66415,0

24=U2,38,C66415,0

25=U2,39,C66415,0

26=P2,8,K71,9

27=R1,0,C65588,0

28=P1,1,C65752,0

29=U1,1,C65588,0

30=P1,2,C65791,0

31=P1,3,C65792,0

32=P1,4,C66060,0

33=P1,5,C66059,0

34=P1,6,C66053,0

35=P1,7,C66052,0

36=P1,8,C66531,0

37=P1,9,C66224,0

38=P1,10,K83,8

39=P1,11,K80,9

40=P2,9,K87,9

[JoystickCalibration.Cessna]

ExclThrottleSet=No

SepRevsJetsOnly=No

ApplyHeloTrim=No

FlapsSetControl=0

FlapDetents=No

ReverserControl=66292

Reverser1Control=66422

Reverser2Control=66425

Reverser3Control=66428

Reverser4Control=66431

MaxThrottleForReverser=256

AileronTrimControl=0

RudderTrimControl=0

CowlFlaps1Control=0

CowlFlaps2Control=0

CowlFlaps3Control=0

CowlFlaps4Control=0

MaxSteerSpeed=60

Aileron=-16253,-910,640,16256

Elevator=-16384,-1040,128,16256

Rudder=-16319,-2709,2176,16320

LeftBrake=-16384,16383/16

RightBrake=-16384,16383/16

Throttle1=-16384,-14043,-11963,16383

Throttle2=-16384,-14693,-11572,16383

Mixture1=-16384,-14433,-11833,16383

Mixture2=-16384,-14693,-11572,16254

PropPitch1=-16384,-13913,-11963,16383

PropPitch2=-16384,-12873,-11833,16383

Mixture=-16384,16383

LeftBrake=-16384,16383

RightBrake=-16384,16383

I hope that this has made it a little clearer.

Regards

PeterH

Posted

Thanks for help so far guys. Doing really well progamming all my aircraft types now. Seems then i have absolutely NO NEED to 'enable joystick' at all?

One glitch though..... i can't seem to asign any axis for 'slew' mode? Where do i do that?

Posted

Hi Dougal

Have a look at p39 of the User Guide: "1. For most axes, you need to be in normal flight mode (i.e. not Slew). However, if you wish to calibrate your joystick for slew movements, you must enter slew mode (e.g. press Y) before entering the FSUIPC options. FSUIPC like FS itself only sees slew axes when in slew mode, and only sees normal flight axes when not in slew mode."

. . . . and subsequent pages.

Regards

PeterH

Posted

Aahhhhhg!

Going nuts here.... what can i be doing wrong?

When I set the axis while in Slew mode, it removes the settings for normal flight! I then reset them in spot or cockpit mode, and the Slew setting are gone again!!!

Thanks

Posted

Hi Dougal

Can't help you there - I never use "slew" mode but reading all of PeteD's documents what you describe shouldn't happen. A possible Workaround that I would use - Set up in normal mode save and make a back-up copy of FSUIPC.ini. Do your thing in slew mode save the new FSUIPC.ini and back up. Then copy the the relevant slew section from this "SLEW" version and overwite the slew section in your first "normal" FSUIPC.ini and see if that works OK.

PeteD may hve a better solution when he returns from holiday

Regards

PeterH

Posted

When I set the axis while in Slew mode, it removes the settings for normal flight! I then reset them in spot or cockpit mode, and the Slew setting are gone again!!!

AhI'm afraid the FSUIPC axis assignments only work to assign one axis to one control. There's no provision for having two or more different controls assigned according to the mode of FS.

The Slew calibrations in the Joystick Calibs section work fine for calibrating FS's own assignments, but of course it is expecting FS to do the switching between slew axis and normal axis controls.

This is a good point and I will make a note to add the Slew/Normal switching action to FSUIPC's assignments facility -- look out for this in an update which I will work on as soon as I have caught up after my holidays.

Regards

Pete

Posted
Thanks very much Pete. Thought i was going mad there. It will be of great help for me - look forward to the update.

I've had a look at this, and it is not immediately straight-forward, but I will fit it in. I don't want to make it occur automatically, without option, as many folks (myself included) simply don't want to use the yoke/pedals for slewing as that way you tend to have much less control and calibration is much much more important. I find the keyboard always best for slew control.

Rather than have a toggle option, I will add three new assignable axis controls:

Ailerons / Side Slew

Elevator / Ahead Slew

Rudder / Heading Slew

These controls will switch according to the FS mode, but the current ones won't. I'll need to add these to both the "via FS" and the "direct to FSUIPC Calibs" lists.

Regards

Pete

Posted
Thanks very much Pete. Thought i was going mad there. It will be of great help for me - look forward to the update.

Actually, though I will proceed with the addition I mentioned (though only for the Direct To FSUIPC Calibs list -- I checked and the other way, via FS, is too complicated), there is already a solution which only just occurred to me.

On the Axis assignments tab, you will see you can assign up to 4 controls for each axis. All you need to do is assign both the normal control (aileron, elevator, rudder) AND the relevant Slew control (Slew Side, Slew Ahead, Slew Heading) to each relevant axis.

Both controls will be sent all the time you are moving the axes, which is not excellent efficiency (though I'd doubt you'd notice), but the Slew ones will only work in slew mode, and vice versa, so no harm is done.

Oh, incidentally, just to complete the set, I'll make the Throttle axis pair with slew altitude too.

Regards

Pete

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.