Necesito ayuda con este script The las of us!!!!
10 posts
• Page 1 of 1
Necesito ayuda con este script The las of us!!!!
Necesito convertir este script a Titan 2, cambiar las funciones para L y R 1, también apuntar y disparar con L y R 1
- Code: Select all
// Made by JewFire aka JewishLuck// Thanks to Baby Cham for helping me put this together and fixing a few things.
// Tested With TLOU-Remastered and PS4 Controller
// colorled(0,0,0,0); // Off / No LED light
// colorled(1,0,0,0); // Dim Blue
// colorled(0,1,0,0); // Dim Red
// colorled(0,0,1,0); // Dim Lime/Green
// colorled(0,0,0,1); // Dim Fuchsia/Pink
// colorled(1,0,1,0); // Dim SkyBlue
// colorled(0,1,1,0); // Dim Yellow
// colorled(1,1,1,1); // Dim White
// colorled(2,0,0,0); // Blue
// colorled(0,2,0,0); // Red
// colorled(0,0,2,0); // Lime/Green
// colorled(0,0,0,2); // Fuchsia/Pink
// colorled(2,0,2,0); // SkyBlue
// colorled(0,2,2,0); // Yellow
// colorled(2,2,2,2); // White
// colorled(3,0,0,0); // Bright Blue
// colorled(0,3,0,0); // Bright Red
// colorled(0,0,3,0); // Bright Lime/Green
// colorled(0,0,0,3); // Bright Fuchsia/Pink
// colorled(3,0,3,0); // Bright SkyBlue
// colorled(0,3,3,0); // Bright Yellow
// colorled(3,3,3,3); // Bright white
// ColorLed (1) Dim light
// ColorLed (2) Normal/Medium
// ColorLed (3) Bright light
//DECLARARATIONS
//--------------------------------------------------------------
define SHOOT_BUTTON = PS4_R2;
define RAPIDFIRE_BUTTON = PS4_L2;
define RATE_OF_FIRE = 180; // Range: 1 to 25 RPS (Round/s)
define AUTOSPOT_BUTTON = PS4_L2;
define SPOT_BUTTON =PS4_R3;
//VARIABLES
//--------------------------------------------------------------
int AP = 22;
int AM = -22;
int Delay = 20
int Release = 23;
int GEN_SENS = 100;
int ADS_SENS = 100;
int FIRE_SENS = 100;
int ADS_FIRE_SENS = 100;
int USE_SENS;
// *DO NOT EDIT/DELETE THIS SECTION*
int hold_time;
int rest_time;
int Attack = FALSE;
int Timeout_Melee = 0;
int DbleClick_Square = 0;
define RT = PS4_R1;
define LT = PS4_L1;
define RX = PS4_RX;
define RY = PS4_RY;
int value = 27;
int value2 = -28;
int delay = 20;
//INITIALIZATION - init
//--------------------------------------------------------------
init {
hold_time = 5450 / RATE_OF_FIRE;
rest_time = hold_time - 5450;
if(rest_time < 23) rest_time = 0;
}
//MAIN BLOCK RUTINES
//--------------------------------------------------------------
main {
if(get_val(7)) combo_run(AS);
if(!get_val(7) && !get_val(4)) {
USE_SENS=GEN_SENS;}
else if(get_val(7) && !get_val(4)) {
USE_SENS=ADS_SENS;}
else if(!get_val(7) && get_val(4)) {
USE_SENS=FIRE_SENS;}
else if(get_val(7) && get_val(4)) {
USE_SENS=ADS_FIRE_SENS;}
sensitivity(10,NOT_USE,USE_SENS);
sensitivity(9,NOT_USE,USE_SENS);
// AIM ASSIST
if(get_val(LT)) {
combo_run(LT_C);
}
if(get_val(RT) && get_val(LT)) {
combo_stop(LT_C);
combo_run(RT_C);
}
if(get_val(RX) < value2 || get_val(RX) > value || get_val(RY) < value2 || get_val(RY) > value || get_val(RX) < value2 || get_val(RX) > value || get_val(RY) < value2 || get_val(RY) > value) {
combo_stop(LT_C);
combo_stop(RT_C);
}
// COLOR INDICATION FOR the RAPID FIRE ON / OFF
if(get_val(RAPIDFIRE_BUTTON) && get_val(SHOOT_BUTTON)) {
colorled(0,0,1,0); // OFF (Dim Lime/Green) *you can edit here*
colorled(3,3,3,3); // (White) *you can edit here*
combo_run(RapidFire);
} else if(combo_running(RapidFire)) {
combo_stop(RapidFire);
reset_leds(); }
// COLOR INDICATION FOR the RAPID SPOT ON / OFF
if(get_val(RAPIDFIRE_BUTTON)) {
combo_run(RapidSpot);
} else if(combo_running(RapidSpot)) {
combo_stop(RapidSpot);
reset_leds(); }
// Rapid fire on Square button.
if(get_val(PS4_SQUARE)) { combo_run(Action); }
else if(combo_running(Action)) { combo_stop(Action); }
}
//COMBO BLOCKS
//--------------------------------------------------------------
combo AS {
set_val(10,a_f(10,AP));
wait(Delay)
set_val(9,a_f(9,AP));
wait(Delay)
set_val(10,a_f(10,AM));
wait(Delay)
set_val(9,a_f(9,AM));
wait(Delay)}
combo RapidFire {
set_val(SHOOT_BUTTON, 150);
wait(hold_time);
set_val(SHOOT_BUTTON, 0);
wait(rest_time);
set_val(SHOOT_BUTTON, 0);
}
combo LT_C {
set_val(RY, -30);
wait(delay)
set_val(RX, 30);
set_val(RY, 20);
wait(delay)
set_val(RY, 20);
wait(delay)
set_val(RX, -30);
set_val(RY, 20);
wait(delay)
}
combo RT_C {
set_val(RY, -40);
wait(delay)
set_val(RX, 40);
set_val(RY, 30);
wait(delay)
set_val(RY, 30);
wait(delay)
set_val(RX, -40);
set_val(RY, 30);
wait(delay)
}
combo RapidSpot {
set_val(SPOT_BUTTON, 100);
wait(hold_time);
set_val(SPOT_BUTTON, 0);
wait(rest_time);
set_val(SPOT_BUTTON, 0);
}
combo Brawl {
set_val(PS4_SQUARE, 100);
set_led(LED_4, 2);
wait(80);
set_val(PS4_SQUARE, 0);
set_led(LED_2, 0);
wait(60);
set_val(PS4_SQUARE, 0);
set_led(LED_4, 0);
}
combo StrongAttack {
set_val(PS4_TRIANGLE, 100);
wait(100);
set_val(PS4_TRIANGLE, 0);
Timeout_Melee = 0;
}
combo Action {
set_val(PS4_SQUARE, 100);
wait(40);
set_val(PS4_SQUARE, 0);
wait(20);
set_val(PS4_SQUARE, 0);
}
function a_f(p,m) {
if(abs(get_val(p)) < Release)
return m;
return get_val(p);}
// COLOR LED INDICATION for PS4 *NO NEED TO EDIT BELOW*
//--------------------------------------------------------------
function colorled(a,b,c,d) {
set_led(LED_1,a);
set_led(LED_2,b);
set_led(LED_3,c);
set_led(LED_4,d); }
-
BrianRoby - Master Sergeant
- Posts: 26
- Joined: Tue Aug 06, 2019 12:46 am
Re: Necesito ayuda con este script The las of us!!!!
Necesito ayuda, intente convertirlo pero me da 1 error
-
BrianRoby - Master Sergeant
- Posts: 26
- Joined: Tue Aug 06, 2019 12:46 am
Re: Necesito ayuda con este script The las of us!!!!
- Code: Select all
#pragma METAINFO("brian.gpc", 1, 0, "Buffy's GPC Converter v0.25r3")
#include <titanone.gph>
// Made by JewFire aka JewishLuck// Thanks to Baby Cham for helping me put this together and fixing a few things.
// Tested With TLOU-Remastered and PS4 Controller
// colorled(0,0,0,0); // Off / No LED light
// colorled(1,0,0,0); // Dim Blue
// colorled(0,1,0,0); // Dim Red
// colorled(0,0,1,0); // Dim Lime/Green
// colorled(0,0,0,1); // Dim Fuchsia/Pink
// colorled(1,0,1,0); // Dim SkyBlue
// colorled(0,1,1,0); // Dim Yellow
// colorled(1,1,1,1); // Dim White
// colorled(2,0,0,0); // Blue
// colorled(0,2,0,0); // Red
// colorled(0,0,2,0); // Lime/Green
// colorled(0,0,0,2); // Fuchsia/Pink
// colorled(2,0,2,0); // SkyBlue
// colorled(0,2,2,0); // Yellow
// colorled(2,2,2,2); // White
// colorled(3,0,0,0); // Bright Blue
// colorled(0,3,0,0); // Bright Red
// colorled(0,0,3,0); // Bright Lime/Green
// colorled(0,0,0,3); // Bright Fuchsia/Pink
// colorled(3,0,3,0); // Bright SkyBlue
// colorled(0,3,3,0); // Bright Yellow
// colorled(3,3,3,3); // Bright white
// ColorLed (1) Dim light
// ColorLed (2) Normal/Medium
// ColorLed (3) Bright light
//DECLARARATIONS
//--------------------------------------------------------------
// Range: 1 to 25 RPS (Round/s)
//VARIABLES
//--------------------------------------------------------------
// *DO NOT EDIT/DELETE THIS SECTION*
//INITIALIZATION - init
//--------------------------------------------------------------
//MAIN BLOCK RUTINES
//--------------------------------------------------------------
// AIM ASSIST
// COLOR INDICATION FOR the RAPID FIRE ON / OFF
// OFF (Dim Lime/Green) *you can edit here*
// (White) *you can edit here*
// COLOR INDICATION FOR the RAPID SPOT ON / OFF
// Rapid fire on Square button.
//COMBO BLOCKS
//--------------------------------------------------------------
// COLOR LED INDICATION for PS4 *NO NEED TO EDIT BELOW*
//--------------------------------------------------------------
define SHOOT_BUTTON = PS4_R2;
define RAPIDFIRE_BUTTON = PS4_L2;
define RATE_OF_FIRE = 180;
define AUTOSPOT_BUTTON = PS4_L2;
define SPOT_BUTTON = PS4_R3;
define RT = PS4_R1;
define LT = PS4_L1;
define RX = PS4_RX;
define RY = PS4_RY;
int AP = 22;
int AM =- 22;
int Delay = 20;
int Release = 23;
int GEN_SENS = 100;
int ADS_SENS = 100;
int FIRE_SENS = 100;
int ADS_FIRE_SENS = 100;
int USE_SENS;
int hold_time;
int rest_time;
int Attack = FALSE;
int Timeout_Melee = 0;
int DbleClick_Square = 0;
int value = 27;
int value2 =- 28;
int delay = 20;
init {
hold_time = 5450 / RATE_OF_FIRE;
rest_time = hold_time - 5450;
if (rest_time < 23) rest_time = 0;
}
main {
if (get_val(7)) combo_run(c_AS);
if (!get_val(7) && !get_val(4)) {
USE_SENS = GEN_SENS;
}
else if (get_val(7) && !get_val(4)) {
USE_SENS = ADS_SENS;
}
else if (!get_val(7) && get_val(4)) {
USE_SENS = FIRE_SENS;
}
else if (get_val(7) && get_val(4)) {
USE_SENS = ADS_FIRE_SENS;
}
sensitivity(10, NOT_USE, USE_SENS);
sensitivity(9, NOT_USE, USE_SENS);
if (get_val(LT)) {
combo_run(c_LT_C);
}
if (get_val(RT) && get_val(LT)) {
combo_stop(c_LT_C);
combo_run(c_RT_C);
}
if (get_val(RX) < value2 || get_val(RX) > value || get_val(RY) < value2 || get_val(RY) > value || get_val(RX) < value2 || get_val(RX) > value || get_val(RY) < value2 || get_val(RY) > value) {
combo_stop(c_LT_C);
combo_stop(c_RT_C);
}
if (get_val(RAPIDFIRE_BUTTON) && get_val(SHOOT_BUTTON)) {
f_colorled(0, 0, 1, 0);
f_colorled(3, 3, 3, 3);
combo_run(c_RapidFire);
}
else if (combo_running(c_RapidFire)) {
combo_stop(c_RapidFire);
reset_leds();
}
if (get_val(RAPIDFIRE_BUTTON)) {
combo_run(c_RapidSpot);
}
else if (combo_running(c_RapidSpot)) {
combo_stop(c_RapidSpot);
reset_leds();
}
if (get_val(PS4_SQUARE)) {
combo_run(c_Action);
}
else if (combo_running(c_Action)) {
combo_stop(c_Action);
}
}
combo c_AS {
set_val(10, f_a_f(10, AP));
wait(Delay);
set_val(9, f_a_f(9, AP));
wait(Delay);
set_val(10, f_a_f(10, AM));
wait(Delay);
set_val(9, f_a_f(9, AM));
wait(Delay);
}
combo c_RapidFire {
set_val(SHOOT_BUTTON, 150);
wait(hold_time);
set_val(SHOOT_BUTTON, 0);
wait(rest_time);
set_val(SHOOT_BUTTON, 0);
}
combo c_LT_C {
set_val(RY, - 30);
wait(delay);
set_val(RX, 30);
set_val(RY, 20);
wait(delay);
set_val(RY, 20);
wait(delay);
set_val(RX, - 30);
set_val(RY, 20);
wait(delay);
}
combo c_RT_C {
set_val(RY, - 40);
wait(delay);
set_val(RX, 40);
set_val(RY, 30);
wait(delay);
set_val(RY, 30);
wait(delay);
set_val(RX, - 40);
set_val(RY, 30);
wait(delay);
}
combo c_RapidSpot {
set_val(SPOT_BUTTON, 100);
wait(hold_time);
set_val(SPOT_BUTTON, 0);
wait(rest_time);
set_val(SPOT_BUTTON, 0);
}
/* combo c_Brawl {
set_val(PS4_SQUARE, 100);
set_led(LED_4, 2);
wait(80);
set_val(PS4_SQUARE, 0);
set_led(LED_2, 0);
wait(60);
set_val(PS4_SQUARE, 0);
set_led(LED_4, 0);
}
*/
/* combo c_StrongAttack {
set_val(PS4_TRIANGLE, 100);
wait(100);
set_val(PS4_TRIANGLE, 0);
Timeout_Melee = 0;
}
*/
combo c_Action {
set_val(PS4_SQUARE, 100);
wait(40);
set_val(PS4_SQUARE, 0);
wait(20);
set_val(PS4_SQUARE, 0);
}
function f_a_f(p, m) {
if (abs(get_val(p)) < Release)
return m;
return get_val(p);
}
function f_colorled(a, b, c, d) {
set_led(LED_1, a);
set_led(LED_2, b);
set_led(LED_3, c);
set_led(LED_4, d);
}
-
sebascu - Sergeant Major
- Posts: 68
- Joined: Sat Aug 03, 2019 5:32 pm
Re: Necesito ayuda con este script The las of us!!!!
Para pasarlo a apuntar con L1 y R1 como quedaría
-
BrianRoby - Master Sergeant
- Posts: 26
- Joined: Tue Aug 06, 2019 12:46 am
Re: Necesito ayuda con este script The las of us!!!!
BrianRoby wrote:Necesito convertir este script a Titan 2, cambiar las funciones para L y R 1, también apuntar y disparar con L y R 1
Translation: I need to convert this script to Titan 2, change the functions for L and R 1, also point and shoot with L and R 1[
BrianRoby wrote:Para pasarlo a apuntar con L1 y R1 como quedaría
Translation: To pass it to point with L1 and R1 as it would be
I do not understand what you want to do.
No entiendo lo que quieres hacer.
-
DontAtMe - Captain
- Posts: 502
- Joined: Tue Oct 02, 2018 4:49 am
Re: Necesito ayuda con este script The las of us!!!!
Pasar las funciones para los botones L 1 y R 1 apuntar y disparar y aim assist
Creo que al convertirlo me quedo con error
Creo que al convertirlo me quedo con error
-
BrianRoby - Master Sergeant
- Posts: 26
- Joined: Tue Aug 06, 2019 12:46 am
Re: Necesito ayuda con este script The las of us!!!!
Ese script esta hecho para los gatillos, quiero pasarlo para los botones L1 y R1
-
BrianRoby - Master Sergeant
- Posts: 26
- Joined: Tue Aug 06, 2019 12:46 am
Re: Necesito ayuda con este script The las of us!!!!
- Code: Select all
#pragma METAINFO("brian 2.gpc", 1, 0, "Buffy's GPC Converter v0.25r3")
#include <titanone.gph>
// R2 - Change for different layout
// L2 - Change for different layout
//SENSITIVITY 1 - 4 ########################################
//SENSITIVITY 5 - 14 ########################################
//SENSITIVITY 14 MOUSE ##
// ##
//##########################################################################################################################################
// ##
// Raccommended values: from 30 to 40; Mouse users: 20
// ##
// ########################################
//Recommended Settings ########################################
//Stronger than Recommended ########################################
//Strongest Assist po
//##########################################################################################################################################
// ##
//SEMI AUTOMATIC GUNS ex. SHEIVA ########################################
//SUB MACHINE GUNS ex. VMP ########################################
//AUSSAULT RIFLES ex. MAN O WAR ########################################
// ########################################
// ##
//##########################################################################################################################################
// ##
//DECLARARATIONS
//--------------------------------------------------------------
// Range: 1 to 25 RPS (Round/s)
//VARIABLES
//--------------------------------------------------------------
// *DO NOT EDIT/DELETE THIS SECTION*
//INITIALIZATION - init
//--------------------------------------------------------------
//MAIN BLOCK RUTINES
//--------------------------------------------------------------
// COLOR INDICATION FOR the RAPID FIRE ON / OFF
// OFF (Dim Lime/Green) *you can edit here*
// (White) *you can edit here*
// COLOR INDICATION FOR the RAPID SPOT ON / OFF
// Double click Square to turn off/on Melee.
// Rapid fire on Square button.
// ##
//##########################################################################################################################################
// ##
// ##
//##########################################################################################################################################
// ##
// ##
//##########################################################################################################################################
// ##
// ##
//##########################################################################################################################################
// ##
// ##
//##########################################################################################################################################
// ##
//COMBO BLOCKS
//--------------------------------------------------------------
//##########################################################################################################################################
// ##
//
// COLOR LED INDICATION for PS4 *NO NEED TO EDIT BELOW*
//--------------------------------------------------------------
define RB = XB1_RB;
define LB = XB1_LB;
define RT = 4;
define LT = 7;
define RX = 9;
define RY = 10;
define SENSE_LOW = FALSE;
define SENSE_MID = TRUE;
define SENSE_MOUSE = FALSE;
define RECOMMENDED = FALSE;
define STRONGER = TRUE;
define INSANE = FALSE;
define SEMI = TRUE;
define SMG = FALSE;
define AR = FALSE;
define SHOOT_BUTTON = PS4_R2;
define RAPIDFIRE_BUTTON = PS4_L2;
define RATE_OF_FIRE = 180;
define AUTOSPOT_BUTTON = PS4_L2;
define SPOT_BUTTON = PS4_R3;
int delay = 11;
int value = 0;
int value2 = 0;
int value1 = 30;
int delay1 = 25;
int minT =- 20;
int pluT = 20;
int pluTN = 10;
int minTH =- 30;
int pluTH = 30;
int negative_value_rt_first = 0;
int positive_value_rt_first = 0;
int positive_value_rt_second = 0;
int negative_value_lt_first = 0;
int positive_value_lt_first = 0;
int positive_value_lt_second = 0;
int hold_time;
int rest_time;
int Attack = FALSE;
int Timeout_Melee = 0;
int DbleClick_Square = 0;
init {
hold_time = 5450 / RATE_OF_FIRE;
rest_time = hold_time - 5450;
if (rest_time < 23) rest_time = 0;
}
main {
swap(3, 4);
swap(6, 7);
if (get_val(RAPIDFIRE_BUTTON) && get_val(SHOOT_BUTTON)) {
f_colorled(0, 0, 1, 0);
f_colorled(3, 3, 3, 3);
combo_run(c_RapidFire);
}
else if (combo_running(c_RapidFire)) {
combo_stop(c_RapidFire);
reset_leds();
}
if (get_val(RAPIDFIRE_BUTTON)) {
combo_run(c_RapidSpot);
}
else if (combo_running(c_RapidSpot)) {
combo_stop(c_RapidSpot);
reset_leds();
}
if (DbleClick_Square > 0) DbleClick_Square = DbleClick_Square - get_rtime();
if (event_press(PS4_SQUARE) && DbleClick_Square <= 0) {
DbleClick_Square = 300;
}
else if (event_press(PS4_SQUARE) && DbleClick_Square > 0) {
Attack =! Attack;
Timeout_Melee = 0;
}
if (Attack) {
set_val(TRACE_1, Timeout_Melee);
Timeout_Melee = Timeout_Melee + get_rtime();
if (Timeout_Melee <= 350) combo_run(c_Brawl);
else combo_run(c_StrongAttack);
}
else if (combo_running(c_Brawl)) {
combo_stop(c_Brawl);
reset_leds();
}
if (get_val(PS4_SQUARE)) {
combo_run(c_Action);
}
else if (combo_running(c_Action)) {
combo_stop(c_Action);
}
if (SEMI == FALSE && SMG == FALSE && AR == TRUE && SENSE_MOUSE == TRUE && SENSE_MID == FALSE && SENSE_LOW == FALSE) {
negative_value_lt_first =- 16;
positive_value_lt_first = 16;
positive_value_lt_second = 16;
negative_value_rt_first =- 24;
positive_value_rt_first = 24;
positive_value_rt_second = 14;
}
if (SEMI == TRUE && SMG == FALSE && AR == FALSE && SENSE_MOUSE == TRUE && SENSE_MID == FALSE && SENSE_LOW == FALSE) {
negative_value_lt_first =- 14;
positive_value_lt_first = 14;
positive_value_lt_second = 14;
negative_value_rt_first =- 16;
positive_value_rt_first = 16;
positive_value_rt_second = 6;
}
if (SEMI == FALSE && SMG == TRUE && AR == FALSE && SENSE_MOUSE == TRUE && SENSE_MID == FALSE && SENSE_LOW == FALSE) {
negative_value_lt_first =- 22;
positive_value_lt_first = 22;
positive_value_lt_second = 12;
negative_value_rt_first =- 32;
positive_value_rt_first = 32;
positive_value_rt_second = 22;
}
if (SEMI == FALSE && SMG == FALSE && AR == TRUE && SENSE_MOUSE == FALSE && SENSE_MID == FALSE && SENSE_LOW == TRUE) {
negative_value_lt_first =- 22;
positive_value_lt_first = 22;
positive_value_lt_second = 22;
negative_value_rt_first =- 32;
positive_value_rt_first = 32;
positive_value_rt_second = 22;
}
if (SEMI == TRUE && SMG == FALSE && AR == FALSE && SENSE_MOUSE == FALSE && SENSE_MID == FALSE && SENSE_LOW == TRUE) {
negative_value_lt_first =- 20;
positive_value_lt_first = 20;
positive_value_lt_second = 20;
negative_value_rt_first =- 24;
positive_value_rt_first = 24;
positive_value_rt_second = 13;
}
if (SEMI == FALSE && SMG == TRUE && AR == FALSE && SENSE_MOUSE == FALSE && SENSE_MID == FALSE && SENSE_LOW == TRUE) {
negative_value_lt_first =- 30;
positive_value_lt_first = 30;
positive_value_lt_second = 20;
negative_value_rt_first =- 40;
positive_value_rt_first = 40;
positive_value_rt_second = 30;
}
if (SEMI == FALSE && SMG == FALSE && AR == TRUE && SENSE_MOUSE == FALSE && SENSE_MID == TRUE && SENSE_LOW == FALSE) {
negative_value_lt_first =- 17;
positive_value_lt_first = 17;
positive_value_lt_second = 17;
negative_value_rt_first =- 27;
positive_value_rt_first = 27;
positive_value_rt_second = 17;
}
if (SEMI == TRUE && SMG == FALSE && AR == FALSE && SENSE_MOUSE == FALSE && SENSE_MID == TRUE && SENSE_LOW == FALSE) {
negative_value_lt_first =- 16;
positive_value_lt_first = 16;
positive_value_lt_second = 16;
negative_value_rt_first =- 19;
positive_value_rt_first = 19;
positive_value_rt_second = 10;
}
if (SEMI == FALSE && SMG == TRUE && AR == FALSE && SENSE_MOUSE == FALSE && SENSE_MID == TRUE && SENSE_LOW == FALSE) {
negative_value_lt_first =- 25;
positive_value_lt_first = 25;
positive_value_lt_second = 15;
negative_value_rt_first =- 35;
positive_value_rt_first = 35;
positive_value_rt_second = 25;
}
if (INSANE == TRUE && STRONGER == FALSE && RECOMMENDED == FALSE) {
value = 45;
value2 =- 45;
}
if (INSANE == FALSE && STRONGER == TRUE && RECOMMENDED == FALSE) {
value = 39;
value2 =- 39;
}
if (SENSE_LOW == FALSE && SENSE_MID == TRUE && SENSE_MOUSE == FALSE && RECOMMENDED == TRUE && STRONGER == FALSE && INSANE == FALSE) {
value = 33;
value2 =- 33;
}
if (SENSE_LOW == TRUE && SENSE_MID == FALSE && SENSE_MOUSE == FALSE && RECOMMENDED == TRUE && STRONGER == FALSE && INSANE == FALSE) {
value = 33;
value2 =- 33;
}
if (SENSE_LOW == FALSE && SENSE_MID == FALSE && SENSE_MOUSE == TRUE && RECOMMENDED == TRUE && STRONGER == FALSE && INSANE == FALSE) {
value = 20;
value2 =- 20;
}
if (get_val(LB) && (SEMI == TRUE || AR == TRUE || SMG == TRUE)) {
combo_run(c_LB_C);
}
if (get_val(RB) && get_val(LB) && (SEMI == TRUE || AR == TRUE || SMG == TRUE)) {
combo_stop(c_LB_C);
combo_run(c_RB_C);
}
if (get_val(RX) < value2 || get_val(RX) > value || get_val(RY) < value2 || get_val(RY) > value || get_val(RX) < value2 || get_val(RX) > value || get_val(RY) < value2 || get_val(RY) > value) {
combo_stop(c_LB_C);
combo_stop(c_RB_C);
}
if (get_val(LT)) {
combo_run(c_LT_C);
}
if (get_val(RT) && get_val(LT)) {
combo_stop(c_LT_C);
combo_run(c_RT_C);
}
if (abs(get_val(10)) > value1 || abs(get_val(9)) > value1) {
combo_stop(c_LT_C);
combo_stop(c_RT_C);
}
}
combo c_LT_C {
set_val(RY, minT);
wait(delay1);
set_val(RX, pluT);
set_val(RY, pluTN);
wait(delay1);
set_val(RY, pluTN);
wait(delay1);
set_val(RX, minT);
set_val(RY, pluTN);
wait(delay1);
}
combo c_RT_C {
set_val(RY, minTH);
wait(delay1);
set_val(RX, pluTH);
set_val(RY, pluT);
wait(delay1);
set_val(RY, pluT);
wait(delay1);
set_val(RX, minTH);
set_val(RY, pluT);
wait(delay1);
}
combo c_RapidFire {
set_val(SHOOT_BUTTON, 150);
wait(hold_time);
set_val(SHOOT_BUTTON, 0);
wait(rest_time);
set_val(SHOOT_BUTTON, 0);
}
combo c_RapidSpot {
set_val(SPOT_BUTTON, 100);
wait(hold_time);
set_val(SPOT_BUTTON, 0);
wait(rest_time);
set_val(SPOT_BUTTON, 0);
}
combo c_Brawl {
set_val(PS4_SQUARE, 100);
set_led(LED_4, 2);
wait(80);
set_val(PS4_SQUARE, 0);
set_led(LED_2, 0);
wait(60);
set_val(PS4_SQUARE, 0);
set_led(LED_4, 0);
}
combo c_StrongAttack {
set_val(PS4_TRIANGLE, 100);
wait(100);
set_val(PS4_TRIANGLE, 0);
Timeout_Melee = 0;
}
combo c_Action {
set_val(PS4_SQUARE, 100);
wait(40);
set_val(PS4_SQUARE, 0);
wait(20);
set_val(PS4_SQUARE, 0);
}
combo c_LB_C {
set_val(RY, negative_value_lt_first);
wait(delay);
set_val(RX, positive_value_lt_first);
set_val(RY, positive_value_lt_second);
wait(delay);
set_val(RY, positive_value_lt_second);
wait(delay);
set_val(RX, negative_value_lt_first);
set_val(RY, positive_value_lt_second);
wait(delay);
}
combo c_RB_C {
set_val(RY, negative_value_rt_first);
wait(delay);
set_val(RX, positive_value_rt_first);
set_val(RY, positive_value_rt_second);
wait(delay);
set_val(RY, positive_value_rt_second);
wait(delay);
set_val(RX, negative_value_rt_first);
set_val(RY, positive_value_rt_second);
wait(delay);
}
function f_colorled(a, b, c, d) {
set_led(LED_1, a);
set_led(LED_2, b);
set_led(LED_3, c);
set_led(LED_4, d);
}
-
sebascu - Sergeant Major
- Posts: 68
- Joined: Sat Aug 03, 2019 5:32 pm
Re: Necesito ayuda con este script The las of us!!!!
prueba este script que tengo, para last of us (aim assist) (rapid fire) (auto ping), aunque tengo los botones de xbox one, trabaja para PS4. pruebalo =)
codigo
codigo
- Code: Select all
#pragma METAINFO("Last of Us Multicheats", 0, 1, "By Shygur")
#include <xb1.gph>
//-- Controller Layout --//
#define RB XB1_RB
#define RT XB1_RT
#define RS XB1_RS
#define LT XB1_LT
#define RX XB1_RX
#define RY XB1_RY
#define LX XB1_LX
#define LY XB1_LY
#define Y XB1_Y
#define B XB1_B
#define A XB1_A
#define X XB1_X
#define LS XB1_LS
//-- Settings --//
int AimAssist = TRUE; // hold L2 = run aim assist.
int RapidFire = TRUE; // hold L2 + R2 = run rapid fire.
int AutoPing = TRUE; // hold L2 = run auto ping / spawn R3.
//-- Main Block --//
main {
if(AimAssist){
if(get_val(LT)){
combo_run(Aim_Assist);
}
}
if(RapidFire){
if(get_val(LT) && get_val(RT)){
combo_run(Rapid_Fire);
}
}
if(AutoPing){
if(get_val(LT)){
combo_run(Auto_Ping);
}
}
}// Main End
//-- List of Combos --//
combo Aim_Assist { // circular aim assist.
set_val(RY, 20);
wait(20);
set_val(RX, 20);
wait(20);
set_val(RY,-20);
wait(20);
set_val(RX,-20);
wait(20);
}
combo Rapid_Fire { // spam fire (10/sec).
set_val(RT,100);
wait(50);
set_val(RT,0);
wait(50);
}
combo Auto_Ping { // auto-ping (10/sec).
set_val(RS,100);
wait(25);
wait(75);
}
// Functions (N/A)
// Script End!!!
- Attachments
-
- Last of Us v0.1 By Shygur (XB1 PS4 PC) (Titan2).gpc
- last of us (aim assist, rapid fire, auto ping)
- (1.19 KiB) Downloaded 53 times
-
shygur - Sergeant
- Posts: 8
- Joined: Wed Sep 11, 2019 12:36 am
Re: Necesito ayuda con este script The las of us!!!!
Is this script for L1 and R1?
-
BrianRoby - Master Sergeant
- Posts: 26
- Joined: Tue Aug 06, 2019 12:46 am
10 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 118 guests