SOLVED: Wii Remote ADS Script Request

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

Moderator: OFC-Giorgio

SOLVED: Wii Remote ADS Script Request

Postby Plague » Fri Aug 14, 2015 8:17 am

After researching the Titan One and interacting with the developers, I had no choice but to purchase it along with the Bluetooth dongle to connect my Wii Remote & Nunchuk on PS4.

Love this device. Plain and simple.

I would like to see if I can get help in incorporating OFC-Giorgio's ADS and Non-ADS sensitivities script into my script. I generated my script through MaxRemapper after customizing buttons and sensitivities. Would you guys be able to help me?

P.S. : I tried to copy and paste Lines 155-156 and Lines 274-294 from OFC-Giorgio's Call of duty wiimote (bravo settings) script and edit it into my script but I kept receiving an error. I need help!
User avatar
Plague
Private First Class
Private First Class
 
Posts: 3
Joined: Thu Jul 30, 2015 7:19 pm

Re: Wii Remote ADS Script Request

Postby J2Kbr » Fri Aug 14, 2015 10:50 am

Yes, it seems totally possible. :) Please post your script here, so we can work on that!
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Wii Remote ADS Script Request

Postby Plague » Sat Aug 15, 2015 2:45 am

Code: Select all
//
// 8/14/2015 10:35:15 PM
// Script generated by MaxRemapper Plugin
//----------------------------------------
unmap PS4_PS;
unmap PS4_SHARE;
remap WII_HOME -> PS4_OPTIONS;
remap WII_RIGHT -> PS4_R1;
remap WII_B -> PS4_R2;
remap WII_ACCX -> PS4_R3;
remap WII_LEFT -> PS4_L1;
remap WII_LT -> PS4_L3;
remap WII_IRX -> PS4_RX;
remap WII_IRY -> PS4_RY;
remap WII_PLUS -> PS4_UP;
remap WII_ONE -> PS4_DOWN;
remap WII_ACCNX -> PS4_LEFT;
remap WII_ACCNY -> PS4_RIGHT;
remap WII_DOWN -> PS4_TRIANGLE;
remap WII_A -> PS4_CIRCLE;
remap WII_MINUS -> PS4_CROSS;
remap WII_UP -> PS4_SQUARE;
unmap PS4_ACCX;
unmap PS4_ACCY;
unmap PS4_ACCZ;
remap WII_TWO -> PS4_TOUCH;

main {
    sensitivity(WII_ACCX, NOT_USE, 5);
    if(get_val(WII_LEFT)) set_val(WII_LEFT, 100);
    sensitivity(WII_LT, NOT_USE, 327);
    if(get_val(WII_LT)) set_val(WII_LT, 100);
    sensitivity(WII_IRX, 30, 71);
    deadzone(WII_IRX, WII_IRY, DZ_CIRCLE, 18);
    set_val(WII_IRX, inv(get_val(28)));
    sensitivity(WII_IRY, 32, 97);
    sensitivity(WII_LX, NOT_USE, 150);
    sensitivity(WII_LY, NOT_USE, 150);
    sensitivity(WII_ACCNX, NOT_USE, 2);
    sensitivity(WII_ACCNY, NOT_USE, 2);
    if(get_val(WII_A)) set_val(WII_A, 100);
    sensitivity(WII_TWO, NOT_USE, 20);
}
Attachments
Wii Remote FPS General.gpc
Plague's Wii Remote Controls Script
(1.21 KiB) Downloaded 262 times
User avatar
Plague
Private First Class
Private First Class
 
Posts: 3
Joined: Thu Jul 30, 2015 7:19 pm

Re: Wii Remote ADS Script Request

Postby Plague » Sat Aug 15, 2015 2:50 am

Thanks Jefferson! I even added the .gpc file in case it was easier to work with that way.
User avatar
Plague
Private First Class
Private First Class
 
Posts: 3
Joined: Thu Jul 30, 2015 7:19 pm

Re: Wii Remote ADS Script Request

Postby J2Kbr » Sat Aug 29, 2015 3:23 pm

Sorry for the late reply ...

I added the lines you pointed (from Call of duty wiimote script - bravo settings) into your script ... here is the result:

Code: Select all
//
// 8/14/2015 10:35:15 PM
// Script generated by MaxRemapper Plugin
//----------------------------------------
unmap PS4_PS;
unmap PS4_SHARE;
remap WII_HOME -> PS4_OPTIONS;
remap WII_RIGHT -> PS4_R1;
remap WII_B -> PS4_R2;
remap WII_ACCX -> PS4_R3;
remap WII_LEFT -> PS4_L1;
remap WII_LT -> PS4_L3;
remap WII_IRX -> PS4_RX;
remap WII_IRY -> PS4_RY;
remap WII_PLUS -> PS4_UP;
remap WII_ONE -> PS4_DOWN;
remap WII_ACCNX -> PS4_LEFT;
remap WII_ACCNY -> PS4_RIGHT;
remap WII_DOWN -> PS4_TRIANGLE;
remap WII_A -> PS4_CIRCLE;
remap WII_MINUS -> PS4_CROSS;
remap WII_UP -> PS4_SQUARE;
unmap PS4_ACCX;
unmap PS4_ACCY;
unmap PS4_ACCZ;
remap WII_TWO -> PS4_TOUCH;

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

int AIMING_DOWN_THE_SIGHTS = 0;

main {
    sensitivity(WII_ACCX, NOT_USE, 5);
    if(get_val(WII_LEFT)) set_val(WII_LEFT, 100);
    sensitivity(WII_LT, NOT_USE, 327);
    if(get_val(WII_LT)) set_val(WII_LT, 100);
    sensitivity(WII_IRX, 30, 71);
    deadzone(WII_IRX, WII_IRY, DZ_CIRCLE, 18);
    set_val(WII_IRX, inv(get_val(28)));
    sensitivity(WII_IRY, 32, 97);
    sensitivity(WII_LX, NOT_USE, 150);
    sensitivity(WII_LY, NOT_USE, 150);
    sensitivity(WII_ACCNX, NOT_USE, 2);
    sensitivity(WII_ACCNY, NOT_USE, 2);
    if(get_val(WII_A)) set_val(WII_A, 100);
    sensitivity(WII_TWO, NOT_USE, 20);
   

    // Console support for PS3, PS4, XBOX360 and XBOX1
    if(get_console() && get_console() != PIO_PS3)
    {
        // PS4, XBOX360 and XBOX1
        swap(WII_B, WII_PLUS);  // R1 <-> R2 swap buttons
        swap(WII_Z, WII_RT);    // L1 <-> L2 swap buttons
        AIMING_DOWN_THE_SIGHTS = WII_RT;
    }
    else
    {  // PS3
        AIMING_DOWN_THE_SIGHTS = WII_Z;
    }   

    // use different sensitivity for ADS (aiming down the sights) and non ADS
    if (get_val(AIMING_DOWN_THE_SIGHTS))
    {
        //set_led(LED_3, 1); // indicate ADS
        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);
    }
   
}
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to Wiimote, Nunchuk and Sensorbar

Who is online

Users browsing this forum: No registered users and 27 guests