Script Conversion Request Megathread
Re: Script Conversion Request Megathread
Convert to Titan One please, thank you!
- Attachments
-
- driconNov10.gpc
- (11.4 KiB) Downloaded 90 times
-
Tomhug - Sergeant
- Posts: 6
- Joined: Sun Oct 25, 2020 9:08 am
Re: Script Conversion Request Megathread
Tomhug wrote:Convert to Titan One please, thank you!
Done.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: Script Conversion Request Megathread
HI,
I am having issues compiling this script for T1 and keep running into syntax errors like "i" is not defined & unexpected token 'int' etc.
On face value the code and syntax does not vary significantly from a usual T1 script format.
Please help
I am having issues compiling this script for T1 and keep running into syntax errors like "i" is not defined & unexpected token 'int' etc.
On face value the code and syntax does not vary significantly from a usual T1 script format.
Please help
- Attachments
-
- NBA 2K21_Quick Stop Shoot + Adv Defense_DRICON.gpc
- (7.16 KiB) Downloaded 61 times
-
whiteindian - Sergeant First Class
- Posts: 18
- Joined: Sun May 03, 2020 4:39 pm
Re: Script Conversion Request Megathread
T1 thanks in advance
- Attachments
-
- Dricon_v3.0.gpc
- (24.87 KiB) Downloaded 75 times
-
RoyalLaws - Sergeant
- Posts: 6
- Joined: Fri Oct 30, 2020 2:24 am
Re: Script Conversion Request Megathread
whiteindian wrote:HI,
I am having issues compiling this script for T1 and keep running into syntax errors like "i" is not defined & unexpected token 'int' etc.
On face value the code and syntax does not vary significantly from a usual T1 script format.
Please help
Just converted this one here:
viewtopic.php?p=105502#p105502
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: Script Conversion Request Megathread
CONVERSIONE PER T1
- Attachments
-
- SNACK.gpc
- (8.36 KiB) Downloaded 76 times
-
Alfagamer - First Sergeant
- Posts: 60
- Joined: Fri Sep 04, 2020 7:58 am
Re: Script Conversion Request Megathread
Alfagamer wrote:CONVERSIONE PER T1
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Script Conversion Request Megathread
To T1
- Attachments
-
- Dricon_v3.0.gpc
- (24.87 KiB) Downloaded 57 times
-
RoyalLaws - Sergeant
- Posts: 6
- Joined: Fri Oct 30, 2020 2:24 am
Re: Script Conversion Request Megathread
CONVERSIONTE PER T1
-
Alfagamer - First Sergeant
- Posts: 60
- Joined: Fri Sep 04, 2020 7:58 am
Re: Script Conversion Request Megathread
SE LO ALLEGO MI DICE ERRORE, LO INVIO COSI' (CONVERTI PER T1)
- Code: Select all
//Posted by ItzSnack, a member of the device Community - https://device.com/forums
//Posted : Monday 16th of November, 2020 4:09 CST6CDT
//Posted by faheem786, a member of the community in the device Forums - <a href="https://device.com/forums" target="_blank">https://device.com/forums</a>
//Posted : Monday 9th of September, 2019 2:34 CST6CDT
define RECOIL_POWER=25;// Range: 1 to 25 RPS (Rounds)
define RT=XB1_RT;
define LT=XB1_LT;
define R_X=XB1_RX;
define R_Y=XB1_RY;
define L_X=XB1_LX;
define L_Y=XB1_LY;
define RIGHT_STICK_VERTIKAL=XB1_RY;
define RIGHT_STICK_HORIZONTAL=XB1_RX;
define TWENTY=20;
define ZERO=0;
define FIVEH=500;
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 RA=0;// Range: 1 to 25 RPS (Rounds)
int LX=0;
int LY=0;
int hold=0;
int rest=0;
int hold_time=0;
int rest_time=0;
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;
hold = FIVEH /
rest = hold - TWENTY;
if(rest < ZERO) rest = ZERO;
}
main{
//s1-Main
if(get_val(7) && get_val(4)) {
combo_run(RF_C);
}
if(get_val(RT) && get_val(LT)) {
combo_run(AR_C);
}
if(get_val(LT)) {
combo_run(Auto_Aimm);
}
else if(combo_running(Auto_Aimm)) {
combo_stop (Auto_Aimm);
}
else if(combo_running(Auto_Aimm2)) {
combo_stop (Auto_Aimm);
}
if (get_val(R_X)) {
combo_run(Auto_Aimm1);
}
else if(combo_running(Auto_Aimm)) {
combo_stop (Auto_Aimm1);
}
else if(combo_running(Auto_Aimm2)) {
combo_stop (Auto_Aimm1);
}
if (get_val(LT)>0 && get_val(RT)>0) {
combo_run(Auto_Aimm2);
}
else if(combo_running(Auto_Aimm2)) {
combo_stop (Auto_Aimm2);
}
if (get_val(LT)&& get_val(R_X)< -45) {
combo_stop(Auto_Aimm)
}
if (get_val(LT)&& get_val(R_X)> +45) {
combo_stop(Auto_Aimm)
}
if (get_val(LT)&& get_val(R_Y)< -45) {
combo_stop(Auto_Aimm)
}
if (get_val(LT)&& get_val(R_Y)> +45) {
combo_stop(Auto_Aimm)
}
if ( get_val(R_X)< -45) {
combo_stop(Auto_Aimm1)
}
if ( get_val(R_X)> +45){
combo_stop(Auto_Aimm1)
}
if ( get_val(R_Y)< -45){
combo_stop(Auto_Aimm1)
}
if ( get_val(R_Y)> +45){
combo_stop(Auto_Aimm1)
}
if ( get_val(R_X)< -45){
combo_stop(Auto_Aimm2)
}
if ( get_val(R_X)> +45){
combo_stop(Auto_Aimm2)
}
if ( get_val(R_Y)< -45){
combo_stop(Auto_Aimm2)
}
if ( get_val(R_Y)> +45){
combo_stop(Auto_Aimm2)
}
//s2-Main
// COLOR INDICATION FOR the RAPID FIRE ON / OFF
if(get_val(7) && get_val(4)) {
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); }
}
//s1-combos
combo Auto_Aimm {
set_val(R_Y,-25);
wait(25)
set_val(R_X,+25);
set_val(R_Y,+15);
wait(25)
set_val(R_Y,+15);
wait(25)
set_val(R_X,-25);
set_val(R_Y,+15);
wait(25)
}
combo Auto_Aimm1 {
set_val(R_Y,-20);
wait(25)
set_val(R_X,+20);
set_val(R_Y,+10);
wait(25)
set_val(R_Y,+10);
wait(25)
set_val(R_X,-20);
set_val(R_Y,+10);
wait(25)
}
combo Auto_Aimm2 {
set_val(R_Y,-25);
wait(25)
set_val(R_X,+25);
set_val(R_Y,+25);
wait(25)
set_val(R_Y,+25);
wait(25)
set_val(R_X,-25);
set_val(R_Y,+25);
wait(25)
}
combo RF_C {
set_val(RT, 100);
wait(hold);
set_val(RT, 0);
wait(rest);
set_val(RT, 100);
}
combo AR_C {
if(get_val(RIGHT_STICK_HORIZONTAL) > -50 && get_val(RIGHT_STICK_HORIZONTAL) < 50 && get_val(RIGHT_STICK_VERTIKAL) > -15 && get_val(RIGHT_STICK_VERTIKAL) < 15) {
set_val(RIGHT_STICK_VERTIKAL, RECOIL_POWER);
}
}
//s2-combos
combo RapidFire {
set_val(SHOOT_BUTTON, 150);
wait(hold_time);
set_val(SHOOT_BUTTON, 0);
wait(rest_time);
set_val(SHOOT_BUTTON, 0);
}
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);
}
// COLOR LED INDICATION for PS4 *NO NEED TO EDIT BELOW*
//--------------------------------------------------------------
//s1-funcs
//s2-funcs
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); }
-
Alfagamer - First Sergeant
- Posts: 60
- Joined: Fri Sep 04, 2020 7:58 am
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 67 guests