Results 1 to 10 of 10

Thread: Key assignments TF 5.0

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Supporting Member Catseye's Avatar
    Join Date
    Oct 2011
    Location
    Vernon, BC, Canada
    Posts
    1,804
    Post Thanks / Like
    Total Downloaded
    53.93 MB

    Key assignments TF 5.0

    Hi Guys,
    Will the key assignments interface for TF 5.0 allow for DX HOTAS commands?

    It's the way to go instead of just the old key commands.
    "A life is like a garden. Perfect moments can be had,
    but not preserved, except in memory. LLAP"
    - Leonard Nimoy


  2. #2
    Ace 1lokos's Avatar
    Join Date
    Jan 2012
    Posts
    5,323
    Post Thanks / Like
    Total Downloaded
    1.04 GB

    Re: Key assignments TF 5.0

    "DX HOTAS commands" is not joystick/throttle buttons/HAT/Axes?

    The game accept joystick buttons/HAT/Axes as commands since release.

  3. #3
    Supporting Member Catseye's Avatar
    Join Date
    Oct 2011
    Location
    Vernon, BC, Canada
    Posts
    1,804
    Post Thanks / Like
    Total Downloaded
    53.93 MB

    Re: Key assignments TF 5.0

    Quote Originally Posted by 1lokos View Post
    "DX HOTAS commands" is not joystick/throttle buttons/HAT/Axes?

    The game accept joystick buttons/HAT/Axes as commands since release.
    An example of my DX commands in TM Target.tmh
    They do not work in Blitz but they work perfectly in DCS.



    include "targetdx128.tmh"
    int main()
    {
    Configure(&HCougar, MODE_EXCLUDED);
    Configure(&Joystick, MODE_EXCLUDED);
    Configure(&T16000, MODE_EXCLUDED);
    Configure(&T16000L, MODE_EXCLUDED);
    Configure(&LMFD, MODE_EXCLUDED);
    Configure(&RMFD, MODE_EXCLUDED);
    Configure(&TFRPRudder, MODE_EXCLUDED);
    Configure(&TWCSThrottle, MODE_EXCLUDED);
    if(Init(&EventHandle)) return 1;
    SetKBRate(50, 50);
    SetKBLayout(KB_ENG);
    SetShiftButton(0, 0, 0, 0, 0, 0);

    MapKey(&Throttle, SC, DX1);
    MapKey(&Throttle, MSU, DX2);
    MapKey(&Throttle, MSD, DX3);
    MapKey(&Throttle, MSL, DX4);
    MapKey(&Throttle, MSR, DX5);
    MapKey(&Throttle, MSP, DX6);
    MapKey(&Throttle, SPDF, DX7);
    MapKey(&Throttle, SPDM, PULSE+DX8);
    MapKey(&Throttle, SPDB, DX9);
    MapKey(&Throttle, BSF, PULSE+DX10);
    MapKeyR(&Throttle, BSF, PULSE+DX10);
    MapKey(&Throttle, BSM, DX11);
    MapKey(&Throttle, BSB, PULSE+DX12);
    MapKeyR(&Throttle, BSB, PULSE+DX12);
    MapKey(&Throttle, CHF, PULSE+DX13);
    MapKey(&Throttle, CHM, PULSE+DX14);
    MapKey(&Throttle, CHB, PULSE+DX15);
    MapKey(&Throttle, PSF, DX16);
    MapKey(&Throttle, PSM, PULSE+DX17);
    MapKey(&Throttle, PSB, DX18);
    MapKey(&Throttle, CSU, DX19);
    MapKey(&Throttle, CSD, DX20);
    MapKey(&Throttle, CSL, PULSE+DX21);
    MapKey(&Throttle, CSR, DX22);
    MapKey(&Throttle, LTB, PULSE+DX23);
    MapKey(&Throttle, EFLNORM, DX24);
    MapKey(&Throttle, EFLOVER, DX25);
    MapKey(&Throttle, EFRNORM, DX26);
    MapKey(&Throttle, EFROVER, DX27);
    MapKey(&Throttle, EOLIGN, DX28);
    MapKey(&Throttle, EOLNORM, PULSE+DX29);
    MapKey(&Throttle, EOLMOTOR, PULSE+DX30);
    MapKey(&Throttle, EORIGN, DX31);
    MapKey(&Throttle, EORNORM, PULSE+DX32);
    MapKey(&Throttle, EORMOTOR, PULSE+DX33);
    MapKey(&Throttle, APUON, DX34);
    MapKey(&Throttle, APUOFF, PULSE+DX35);
    MapKey(&Throttle, LDGH, DX36);
    MapKey(&Throttle, FLAPU, PULSE+DX37);
    MapKey(&Throttle, FLAPM, PULSE+DX38);
    MapKey(&Throttle, FLAPD, PULSE+DX39);

    ////MASTER ARM ON/SAFE////
    MapKey(&Throttle, EACON, PULSE+DX40);
    MapKey(&Throttle, EACOFF, PULSE+DX41);

    ////ALTITUDE BAROMETER/RADAR////
    MapKey(&Throttle, RDRNRM, PULSE+DX42);
    MapKey(&Throttle, RDRDIS, PULSE+DX43);
    MapKey(&Throttle, APPAT, PULSE+DX44);
    //MapKeyR (&Throttle, APPAT, PULSE+DX44);
    MapKey(&Throttle, APAH, PULSE+DX45);
    MapKey(&Throttle, APALT, PULSE+DX46);
    //MapKeyR (&Throttle, APALT, PULSE+DX46);
    MapKey(&Throttle, APENG, PULSE+DX47);
    MapKey(&Throttle, IDLELON, PULSE+DX48);
    MapKey(&Throttle, IDLERON, PULSE+DX49);
    MapKey(&Throttle, IDLEROFF, PULSE+DX50);
    MapKey(&Throttle, IDLELOFF, PULSE+DX51);
    MapAxis(&Throttle, SCX, DX_XROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
    SetSCurve(&Throttle, SCX, 0, 0, 0, 0, 0);
    MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
    SetSCurve(&Throttle, SCY, 0, 0, 0, 0, 0);
    MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
    SetSCurve(&Throttle, THR_RIGHT, 0, 0, 0, 0, 0);
    MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
    SetSCurve(&Throttle, THR_LEFT, 0, 0, 0, 0, 0);
    MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
    SetSCurve(&Throttle, THR_FC, 0, 0, 0, 0, 0);
    }

    int EventHandle(int type, alias o, int x)
    {
    DefaultMapping(&o, x);
    }
    "A life is like a garden. Perfect moments can be had,
    but not preserved, except in memory. LLAP"
    - Leonard Nimoy


  4. #4
    Ace 1lokos's Avatar
    Join Date
    Jan 2012
    Posts
    5,323
    Post Thanks / Like
    Total Downloaded
    1.04 GB

    Re: Key assignments TF 5.0

    Some people are able to use TARGET scrips in CLOD, example:

    https://theairtacticalassaultgroup.c...=TARGET+script

    May this don't work due the same issue of IL-2 Bo'X, in what is need insert "delay" between two keys, e.g. "LAlt + delay - A", etc.

  5. #5
    Supporting Member Catseye's Avatar
    Join Date
    Oct 2011
    Location
    Vernon, BC, Canada
    Posts
    1,804
    Post Thanks / Like
    Total Downloaded
    53.93 MB

    Re: Key assignments TF 5.0

    Quote Originally Posted by 1lokos View Post
    Some people are able to use TARGET scrips in CLOD, example:

    https://theairtacticalassaultgroup.c...=TARGET+script

    May this don't work due the same issue of IL-2 Bo'X, in what is need insert "delay" between two keys, e.g. "LAlt + delay - A", etc.
    Yes, I have also used key commands.

    However, the script I use allows for 128 DX keys so every key has an on/off without relying on a text key. Also, TM is limited to 24 (I think) DX keys and I have expanded it to 128. However, COD/Blitz utilizes ASC text instead. It will not recognize the input from target utilizing DX commands directly.

    Other sims do!

    That's my point - the interface is extremely old, cumbersome and outdated in its current state.
    "A life is like a garden. Perfect moments can be had,
    but not preserved, except in memory. LLAP"
    - Leonard Nimoy


  6. #6
    Ace 1lokos's Avatar
    Join Date
    Jan 2012
    Posts
    5,323
    Post Thanks / Like
    Total Downloaded
    1.04 GB

    Re: Key assignments TF 5.0

    CloD, like old IL-2:46 recognized up to 32 joy/throttle buttons (+ 1 POV HAT) per controller.

    DCS/X-Plane recognize up to 128 (IL-2:Bo'X" up to 64) buttons, probable is the reason why your 128 buttons script don't work in CloD, but others scripts work.

    Hence what CloD need is and updated Direct Input DLL, supporting more buttons, specially that now we have joysticks, e.g. VirPil, VKB with more than 32 buttons, both brand controllers can manage up to 128 buttons.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •