Donimator

updated version with intimidation build in Sub on YT @ N Yo X B0x for newly release scripts before they come out
Version1.1
AuthorN_Yo_X_Box
Publish DateTue, 20 Oct 2020 - 15:47
Last UpdateTue, 20 Oct 2020 - 15:47
Downloads31
RATE


0

0

Release Notes: this is an updated script created by me to help you get better faster wins
Code: Select all
//Posted by dricon, a member of the device Community - https://consoletuner.com/forums
 
//Posted : Saturday 3rd of October, 2020 10:21 CST6CDT 
 
/*
Perfect Stick Shooting v1.1
 
 
Jumpshot Feature - HOLD Options(PS4)/View(Xbox) and Tap D-Pad Right.
Green LED - Jumpshot with Meter settings
No LED - Jumpshot without Meter settings
 
 
INFORMATION ABOUT USING JUMPSHOTS
 
**NO METER**
-HOLD L2 to shoot
-Moving jumpshots hit a different spot. Will update when I find it.
 
**JUMPSHOT WITH METER**
-TAP L2 to Shoot
 
Every shot will green BUT moving shots will miss every now and then even with the timing perfect.
Have added meter movement so it doesn't look robotic landing exactly at the spot every time.
 
Any Delayed shots will remove the meter movement unfortunately.
 
 
Since last patch, the meter spot has moved. If you come across an update and need to
move the needle placement in the meter, adjust "MeterPosition"
You can move the meter between -99 (Left of Meter) to 99 (Right of Meter)
*/

 
data( 1,                 
  2,0,0,0 , //1. Blue                 
  0,2,0,0 , //2. Red                   
  0,0,2,0 , //3. Green                 
  0,0,0,2 , //4. Pink                 
  2,0,2,0 , //5. SkyBlue               
  0,2,2,0 , //6. Yellow               
  2,2,2,2   //7. White                 
);
 
define Green         =  3;   
int LED_OFF       = -2;
 
unmap PS4_L1;
 
int OnOff=0
int MeterPosition = 41; //ADJUST METER PLACEMENT HERE
int delay = 38;
 
main
{
    if(OnOff)  LED_CM(Green);// ON             
    else     LED_CM(LED_OFF);// OFF   
 
    if(get_val(PS4_OPTIONS))
    {
        if(event_press(PS4_RIGHT))
        {
            OnOff=!OnOff;
            set_val(PS4_RIGHT, 0);
        }
    }
 
 
    if (OnOff == 1)
    { 
        if(event_press(PS4_L1))
        {
            combo_run(StickJumper);
        }
    }
 
 
    if (OnOff == 0)
    { 
        if(get_val(PS4_L1))
        {
            set_val(PS4_RY, 100);
            set_val(PS4_RX, 7);
        }
    }
 
 
/*   
        if(get_val(PS4_R2))
        {       
            if (event_press(PS4_L3))
            {
                combo_run(LHExplosiveBB);
            }
 
            if (event_press(PS4_R3))
            {
                combo_run(RHExplosiveBB);
            }
 
        }
 
        if(get_val(PS4_L3))
        {
            combo_run(LHSLIDE);
            set_val(PS4_L3, 0);
        }
 
        if(get_val(PS4_R3))
        {
            combo_run(RHSLIDE);
            set_val(PS4_R3, 0);
        }
 
        if(get_val(PS4_UP))
        {
            set_val(PS4_R3, 0);
        }
*/

 
         if(combo_running(StickJumper)){set_val(PS4_RY,100)}
 
 
        if(get_rumble(RUMBLE_A) || get_rumble(RUMBLE_B))
        {
            combo_run(wait_time);
        }
}
 
 
//=======================================
// Dribble Moves//=======================
//=======================================
/*
 
combo LHSLIDE
{
    set_val(PS4_RX, 100);
    set_val(PS4_RY, 50);
    wait(400);
}
 
 
combo RHSLIDE
{
    set_val(PS4_RX, -100);
    set_val(PS4_RY, 50);
    wait(400);
}
 
combo RHExplosiveBB
{
    set_val(PS4_RX, -75);
    set_val(PS4_RY, 75);
    wait(80);
    set_val(PS4_LX, -75);
    set_val(PS4_LY, -75);
    wait(100);
    set_val(PS4_LX, -75);
    set_val(PS4_LY, -75);
    wait(200);
}
 
combo LHExplosiveBB
{
    set_val(PS4_RX, 75);
    set_val(PS4_RY, 75);
    wait(80);
   set_val(PS4_RX, 75);
    set_val(PS4_RY, 75);
    set_val(PS4_LX, 75);
    set_val(PS4_LY, -75);
    wait(100);
    set_val(PS4_LX, 75);
    set_val(PS4_LY, -70);
    wait(200);
}
*/

 
//=======================================
// Stick Shooting//======================
//=======================================
 
combo wait_time
{
    wait(delay);
    set_val(PS4_L2, 100);
    set_val(PS4_SQUARE, 0):
    wait(100);
    set_val(PS4_L2, 0);
    wait(200):
}
 
combo StickMovement
{
 
    set_val(PS4_RX, MeterPosition);
    wait(60);
 
    set_val(PS4_RX, -40);
    wait(20);
    set_val(PS4_RX, -35);
    wait(20);
    set_val(PS4_RX, -30);
    wait(20);
 
    set_val(PS4_RX, -25);
    wait(20);
    set_val(PS4_RX, -20);
    wait(20);
    set_val(PS4_RX, -15);
    wait(20);
    set_val(PS4_RX, -10);
    wait(20);
    set_val(PS4_RX, -5);
    wait(20);
 
    set_val(PS4_RX, 0);
    wait(20);
    set_val(PS4_RX, 5);
    wait(20);
    set_val(PS4_RX, 6);
    wait(20);
    set_val(PS4_RX, 7);
    wait(20);
    set_val(PS4_RX, 8);
    wait(20);
 
    set_val(PS4_RX, 9);
    wait(20);
    set_val(PS4_RX, 10);
    wait(20);
    set_val(PS4_RX, 11);
    wait(20);
    set_val(PS4_RX, 12);
    wait(20);
    set_val(PS4_RX, 13);
    wait(20);
 
    set_val(PS4_RX, 14);
    wait(20);
    set_val(PS4_RX, 17);
    wait(20);
}
 
combo StickJumper
{
    call(StickMovement);
    set_val(PS4_RX, MeterPosition);
    wait(900);
}
 
combo LongStickJumper
{
    wait(700);
    call(StickMovement);
    set_val(PS4_RX, MeterPosition);
    wait(900);
}
 
 
//=========================================================
//LED COLOURS//============================================
//=========================================================
function LED_CM(Colour)
{           
    set_led(LED_1,dbyte(( Colour * 4)- 3     ));
    set_led(LED_2,dbyte(((Colour * 4)- 3) + 1));
    set_led(LED_3,dbyte(((Colour * 4)- 3) + 2));
    set_led(LED_4,dbyte(((Colour * 4)- 3) + 3));
}