SOLVED: HELP...trying to mimic the accuracy of the wiimote

Wiimote tutorials, configurations and GPC scripts (FPS like in Nintendo Wii/WiiU).

Moderator: OFC-Giorgio

SOLVED: HELP...trying to mimic the accuracy of the wiimote

Postby ashep49017 » Wed Oct 15, 2014 8:22 am

Any scripting help to mimic the accuracy the wiimote has on WII U on the PS3. I have tried some suggestions from this forum and others plus tweaking myself but I still cant get the precise aim and movements like when on the WII U. I mostly play COD/BO/Ghost.

for example I can play with iron sites using a remington rifle and kill a moving target at sniper range. but nothing close to that precise aim on the PS3 once mapped from wiimote. I have also adjusted the sensitivity of both L/R sticks plus ADS but still nothing close to the accuracy of the WII U.


thanks ahead of time for any advice.

Shep
User avatar
ashep49017
Sergeant First Class
Sergeant First Class
 
Posts: 24
Joined: Wed Oct 15, 2014 7:54 am

Re: HELP...trying to mimic the accuracy of the wiimote on PS

Postby OFC-Giorgio » Wed Oct 15, 2014 10:31 am

Here's the cod script I use:

Code: Select all


    /*
       Changelog

       20140917-1
                 • Removed crouch/prone macro (standard wii C button works fine).
                  • Use different sensitivity for ADS (aiming down the sights) and non ADS (hip fire)
                    via ADS_SENSITIVITY and NON_ADS_SENSITIVITY parameters
                  • Led 3 indicates ADS.
                  • Led 4 indicates wiimote is out of reach of sensorbar and
                    IRX & IRY are set to 0 to prevent spinning around.
                  • RUMBLE_ENABLED parameter to enable/disable vibrating
                  • Documented all wii keys (including non nunchuk) and keys for dummy mappings

       Script to mimic the "bravo" settings wiimote+nunchuck of the wii(u)
       cod games (ghosts, blackops 2, modern warfare 3, black ops, modern warfare reflex and world at war).

       From the wiiu manual:
       • Z Button – ADS
       • C Button – Crouch/Prone
       • Control Stick – Move
       • Up on the +Control Pad – Jump
       • Right on the +Control Pad – Switch Weapon
       • Left on the +Control Pad – Inventory
       • Down on the +Control Pad – Melee Attack
       • A Button – Use/Sprint/Lock Camera
       • - Button – Throw Tacticals
       • + Button – Throw Lethals
       • 1 Button – Objectives/Menu
       • 2 Button – Scoreboard
       • B Button (underneath controller) – Fire Weapon
       • Shake Nunchuk – Reload

       Hold Wii-Left and select with Nunchuck stick up, down, left or right (for next-killstreak, previous-killstreak,
       use killstreak, switch to rifle grenadelauncher attachment respectively).

       Bravo settings:
       • shake nunchuk / reload is disabled,
       • - is used for reload and
       • + is still used to throw lethals but + while twisting the wiimote is used for throwing tacticals
    */


    define ADS_SENSITIVITY     = 45; // a lower value than the standard 50 value means more sensitive
    define NON_ADS_SENSITIVITY = 50; // a lower value than the standard 50 value means more sensitive

    //define RUMBLE_ENABLED = TRUE; // vibratiing enabled
    define RUMBLE_ENABLED = FALSE; // vibrating disabled

    unmap ALL_REMAPS;
       
    remap  WII_MINUS    -> PS3_SQUARE;   // Bravo settings: reload
    remap  WII_HOME     -> PS3_PS;       // home menu
    remap  WII_PLUS     -> PS3_R2;       // lethal grenade
    remap  WII_ONE      -> PS3_START;    // menu/map
    remap  WII_TWO      -> PS3_SELECT;   // score
    remap  WII_A        -> PS3_L3;       // "use" action difference:
                                         // in wii: A:use/sprint   -:reload
                                         // in ps3: square=use/reload and L3=sprint
                                         // for now: assign the wii A button to sprinting
                                         //          and use the wii minus (reload) button also
                                         //          to use/take dropped care packages
    remap  WII_B        -> PS3_R1;       // fire
    remap  WII_UP       -> PS3_CROSS;    // jump/mantle
    remap  WII_DOWN     -> PS3_R3;       // melee
    remap  WII_RIGHT    -> PS3_TRIANGLE; // switch weapon
    remap  WII_C        -> PS3_CIRCLE;   // crouch/prone
    remap  WII_Z        -> PS3_L1;       // zoom/aiming down the sights (ADS)
    remap  WII_NX       -> PS3_LX;       // move
    remap  WII_NY       -> PS3_LY;       // move
    remap  WII_IRX      -> PS3_RX;       // look
    remap  WII_IRY      -> PS3_RY;       // look

    unmap PS3_ACCX;
    unmap PS3_ACCY;
    unmap PS3_ACCZ;

    // wiimote+nunchuk only buttons:
    // WII_ONE/WII_TWO/WII_ACCX/WII_ACCY/WII_ACCZ/WII_ACCNX/WII_ACCNY/WII_ACCNZ/WII_IRX/WII_IRY

    // Common identical (classic) controller (pro) and wiimote+nunchuk buttons:
    // WII_HOME/WII_MINUS/WII_PLUS/WII_UP/WII_DOWN/WII_LEFT/WII_RIGHT/WII_A/WII_B

    // Overlapping (classic) controller (pro) with wiimote+nunchuk:
    // (classic) controller (pro) button WII_LT = nunchuk WII_C
    // (classic) controller (pro) button WII_ZL = nunchuk WII_Z
    // (classic) controller (pro) button WII_LX = nunchuk WII_NX
    // (classic) controller (pro) button WII_LY = nunchuk WII_NY

    // (classic) controller (pro) buttons that are not used in wiimote+nunchuk mode:
    // WII_RT
    // WII_ZR
    // WII_RX
    // WII_RY
    // WII_X
    // WII_Y
    // used to bind them to PS3 button and force the wii buttons to trigger the PS3 button
    // by the setval commands in the script (see (1) & (2)):

    // (1)
    //Macro by Wiimote Fuzzy. Hold Wii-Left and select with Nunchuck stick up, down, left or right.
    //phantom buttons choosen by macro or shaking nunchuck
    remap WII_X  -> PS3_LEFT// left
    remap WII_RX -> PS3_RIGHT; // right
    remap WII_Y  -> PS3_UP;    // up
    remap WII_RY -> PS3_DOWN// down
    //Macro by Wiimote Fuzzy. Hold Wii-Left and select with Nunchuck stick up, down, left or right.

    // (2)
    // dummy mapping for lethal grenades
    remap  WII_RT -> PS3_L2;       

    init
    {
      if(!RUMBLE_ENABLED)
      {
        block_rumble();
      }
    }

    main
    {
       // PS3 RXY = Wiimote IRXY by Wiimot3 (Wiimote Fuzzy: adjusted mid point & removed stickize)
       set_val(WII_IRX, inv(get_val(WII_IRX)));
       // PS3 RXY = Wiimote IRXY by Wiimot3 (Wiimote Fuzzy: adjusted mid point & removed stickize)

       // use different sensitivity for ADS (aiming down the sights) and non ADS
       if (get_val(WII_Z))
       {
         set_led(LED_3, 1);
         sensitivity(WII_IRX , ADS_SENSITIVITY, 100);
         sensitivity(WII_IRY , ADS_SENSITIVITY, 100);
       }
       else
       {
         set_led(LED_3, 0);
         sensitivity(WII_IRX , NON_ADS_SENSITIVITY, 100);
         sensitivity(WII_IRY , NON_ADS_SENSITIVITY, 100);
       }

       deadzone(WII_IRX, WII_IRY, DZ_CIRCLE, 30);

       // PS3 LXY = Nunchuck NXY by Wiimot3
       sensitivity(WII_NX , NOT_USE, 150);
       sensitivity(WII_NY , NOT_USE, 150);
       deadzone(WII_NX, WII_NY, DZ_CIRCLE, 5);
       // PS3 LXY = Nunchuck NXY by Wiimot3

       //Macro by Wiimote Fuzzy. Hold Wii-Left and select with Nunchuck stick up, down, left or right.
       if(get_val(WII_LEFT) && get_val(WII_NX) < -90) set_val(WII_X100);  // left
       if(get_val(WII_LEFT) && get_val(WII_NX) >  90) set_val(WII_RX, 100);  // right
       if(get_val(WII_LEFT) && get_val(WII_NY) < -90) set_val(WII_Y100);  // up
       if(get_val(WII_LEFT) && get_val(WII_NY) >  90) set_val(WII_RY, 100);  // down
       //Macro by Wiimote Fuzzy. Hold Wii-Left and select with Nunchuck stick up, down, left or right.


       // Bravo settings  + while twisting the wiimote is used for throwing tacticals
       if(get_val(WII_PLUS) && get_val(WII_ACCX) > 20)
       {
         set_val(WII_PLUS, 0); // stop/prevent throwing tacticals
         //set_val(PS3_L2, 100); // throw lethal
         set_val(WII_RT, 100); // throw lethal
       }

    if(wiir_offscreen())
    {
       set_val(WII_IRX, 0); // prevent camera from spinning
       set_val(WII_IRY, 0); // prevent camera from spinning
       set_led(LED_4, 1);
    }
    else
    {
        set_led(LED_4, 0);
    }

    } // end of main() function


Make sure your sensorbar is not off by the sleep powersaving mode of the wii(u) and it's good quality (the battery operated sensorbars are mostly too low quality). I hooked my good quality nintendo sensorbar to an ac/dc adapter.
User avatar
OFC-Giorgio
Lieutenant
Lieutenant
 
Posts: 344
Joined: Mon Sep 15, 2014 4:26 pm

Re: HELP...trying to mimic the accuracy of the wiimote on PS

Postby ashep49017 » Thu Oct 16, 2014 7:01 am

Fransie,

thanks again for the script. I tried it and it definitely improved the WIImote accuracy to something closer to the WII U. I will experiment more with sensitivity settings to produce optimum performance. The big difference seems your "set_led" commands. Im not sure why.
User avatar
ashep49017
Sergeant First Class
Sergeant First Class
 
Posts: 24
Joined: Wed Oct 15, 2014 7:54 am

Re: HELP...trying to mimic the accuracy of the wiimote on PS

Postby OFC-Giorgio » Thu Oct 16, 2014 7:36 am

The far most right light on the bottom of the wiimote (that is led 4) will be turned on if the wiimote is not seeing the sensorbar. So keep an eye on that to see if you do not point too far (just aim around and see when the light goes on to see the range).

Code: Select all
if(wiir_offscreen())
    {
       set_val(WII_IRX, 0); // prevent camera from spinning
       set_val(WII_IRY, 0); // prevent camera from spinning
       set_led(LED_4, 1);
    }


In that case I also disable the x and y aiming of the wiimote to prevent spinning or watching to the ceiling.

Stay tuned for more info (as this weekend I am gonna do some more testing).
User avatar
OFC-Giorgio
Lieutenant
Lieutenant
 
Posts: 344
Joined: Mon Sep 15, 2014 4:26 pm

Re: HELP...trying to mimic the accuracy of the wiimote on PS

Postby OFC-Giorgio » Sat Oct 18, 2014 6:57 pm

I tested the Titan One. My cod script just works. I got software updates of firmware, gtuner and maxaim di. The publish script function works fine (while the CM version failed) and I managed to published my cod script to the online library.
User avatar
OFC-Giorgio
Lieutenant
Lieutenant
 
Posts: 344
Joined: Mon Sep 15, 2014 4:26 pm

Re: HELP...trying to mimic the accuracy of the wiimote on PS

Postby Baby Cham » Sat Oct 18, 2014 8:02 pm

OFC-Giorgio wrote:I tested the Titan One. My cod script just works. I got software updates of firmware, gtuner and maxaim di. The publish script function works fine (while the CM version failed) and I managed to published my cod script to the online library.


Welcome to the team. Glad you found out the truth that WE ARE THE REAL DEAL. :)
ConsoleTuner Support Team
User avatar
Baby Cham
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 235
Joined: Thu Dec 15, 2011 3:39 pm

Re: HELP...trying to mimic the accuracy of the wiimote on PS

Postby OFC-Giorgio » Sat Oct 18, 2014 8:13 pm

Thanks. I just posted my wiimote articles. I did see that the CM gtuner/website library does show your destiny script.
Did you publish them 2 times (via CM and via TO)?
User avatar
OFC-Giorgio
Lieutenant
Lieutenant
 
Posts: 344
Joined: Mon Sep 15, 2014 4:26 pm

Re: HELP...trying to mimic the accuracy of the wiimote on PS

Postby Baby Cham » Sat Oct 18, 2014 9:17 pm

I did see that the CM gtuner/website library does show your destiny script.
Did you publish them 2 times (via CM and via TO)?


Glad you ask. No, I ONLY publish them here at Console Tuner via Titan One. But as usual they stole my s@%t, edit, copied and paste it on their website as if it was their own. That is just what they do and been doing. Hack any new software updates that Jefferson makes for Gtuner Pro and any and or all of its plugins as if they're the ones behind the scenes doing all the work and developing all the new updates and features just to fool people.

Jeff is a good man, and his hard work and dedication towards his invention DOES NOT deserve any of this BS they're doing. To put it bluntly, they're just common thieves.
ConsoleTuner Support Team
User avatar
Baby Cham
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 235
Joined: Thu Dec 15, 2011 3:39 pm

Re: HELP...trying to mimic the accuracy of the wiimote on PS

Postby OFC-Giorgio » Sat Oct 18, 2014 9:21 pm

Wow...not cool. Did you contact them or posted a topic at the CM forums?
User avatar
OFC-Giorgio
Lieutenant
Lieutenant
 
Posts: 344
Joined: Mon Sep 15, 2014 4:26 pm

Re: HELP...trying to mimic the accuracy of the wiimote on PS

Postby Baby Cham » Sat Oct 18, 2014 9:30 pm

OFC-Giorgio wrote:Wow...not cool. Did you contact them or posted a topic at the CM forums?


No. I didn't, because I know they would either edit or delete my post just to hide the truth so why bother. I'm not loosing sleep over it either, but all it proves is that they cannot come up with anything as their own.
ConsoleTuner Support Team
User avatar
Baby Cham
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 235
Joined: Thu Dec 15, 2011 3:39 pm

Next

Return to Wiimote, Nunchuk and Sensorbar

Who is online

Users browsing this forum: No registered users and 45 guests