Script Conversion Request Megathread
Re: Script Conversion Request Megathread
- Code: Select all
Code:
*/
define Blue = 1;
define Green = 3;
define LED_OFF = -2;
define Red = 2;
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
)
int MeterPosition = 18;
int CareerShooting = 0;
int release = 21;
int defenseOnOff = TRUE;
int blockButton;
int timeBetweenTriggers;
define MAX_RANGE = 330;
main
{
if(get_rumble(RUMBLE_A) || get_rumble(RUMBLE_B)) {combo_run(wait_time);}
// -- Advanced Defense
if(get_val(PS4_L2) && get_val(PS4_R2))
{
if(FindMax(abs(get_val(PS4_LX)),abs(get_val(PS4_LY))) > 15)
{
timeBetweenTriggers = MAX_RANGE - (FindMax(abs(get_val(XB1_LX)),abs(get_val(XB1_LY))) * 3);
combo_run(ALTERNATE_TRIGGERS);
}
LED_CM(Red);
}
if(event_release(PS4_R2) || event_release(PS4_L2))
{
LED_CM(Blue);
}
// -- Toggles
if(get_val(PS4_OPTIONS))
{
if(event_press(PS4_L1))
{
CareerShooting=!CareerShooting;
set_val(PS4_L1, 0);
}
}
// -- Shooting
if (CareerShooting == 1)
{
if(get_val(PS4_R2))
{
if(get_val(PS4_L1))
{
set_val(PS4_RX, MeterPosition);
set_val(PS4_RY, 100);
}
}
}
if (CareerShooting == 0)
{
if(get_val(PS4_L1))
{
set_val(PS4_RX, MeterPosition);
set_val(PS4_RY, 100);
}
}
// -- Dribbles
if(get_val(PS4_R2))
{
if (event_press(PS4_L3))
{
combo_run(LHSpinBack);
}
if (event_press(PS4_R3))
{
combo_run(Takeover);
combo_run(RHSpinBack);
}
if (event_press(PS4_LEFT))
{
combo_run(LHDribbleFreeze);
blockButton = PS4_LEFT;
}
if (event_press(PS4_RIGHT))
{
combo_run(RHDribbleFreeze);
blockButton = PS4_RIGHT;
}
}
if(get_val(PS4_L3))
{
combo_run(LHSLIDE);
set_val(PS4_L3, 0);
}
if(get_val(PS4_R3))
{
combo_run(Takeover);
combo_run(RHSLIDE);
set_val(PS4_R3, 0);
}
if(combo_running(RHSpinBack) || combo_running(LHSpinBack))
{
combo_stop(LHSLIDE);
combo_stop(RHSLIDE);
set_val(PS4_R2, 0);
}
//--block output
if(blockButton)
{
if(event_release(blockButton))
{
blockButton = 0;
}
else
{
set_val(blockButton,0);
}
}
}
//=======================================
// Dribble Moves//=======================
//=======================================
combo LHSLIDE
{
set_val(PS4_RX, 75);
set_val(PS4_RY, 75);
wait(400);
}
combo RHSLIDE
{
set_val(PS4_RX, -75);
set_val(PS4_RY, 75);
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_LX, 75);
set_val(PS4_LY, -75);
wait(100);
set_val(PS4_LX, 75);
set_val(PS4_LY, -75);
wait(200);
}
*/
combo LHDribbleFreeze
{
set_val(PS4_RX, 100);
wait(100);
wait(150);
set_val(PS4_R2, 100);
set_val(PS4_LY, 100);
wait(500);
set_val(PS4_LX, -75);
set_val(PS4_LY, -75);
wait(700);
set_val(PS4_L2, 100);
set_val(PS4_L3, 100);
wait(1500);
}
combo RHDribbleFreeze
{
set_val(PS4_RX, -100);
wait(100);
wait(150);
set_val(PS4_R2, 100);
set_val(PS4_LY, 100);
wait(500);
set_val(PS4_LX, 75);
set_val(PS4_LY, -75);
wait(700);
set_val(PS4_L2, 100);
set_val(PS4_L3, 100);
wait(1500);
}
combo RHSpinBack
{
set_val(PS4_RY, -100); // 12 'o Clock
wait(60);
set_val(PS4_RX, 100); // 3 'o Clock
wait(60);
set_val(PS4_RY, 100);// 6 'o Clock
wait(120);
set_val(PS4_LY, 100);
wait(800);
}
combo LHSpinBack
{
set_val(PS4_RY, -100); // 12 'o Clock
wait(60);
set_val(PS4_RX, -100); // 9 'o Clock
wait(60);
set_val(PS4_RY, 100);// 6 'o Clock
wait(120);
set_val(PS4_LY, 100);
wait(800);
}
combo QuickStopLeftHand
{
set_val(PS4_RX, 100);
wait(100);
}
combo QuickStopRightHand
{
set_val(PS4_RX, -100);
wait(100);
}
//=======================================
// Stick Shooting//======================
//=======================================
combo wait_time
{
wait(release);
set_val(PS4_L2, 100);
set_val(PS4_SQUARE, 0):
wait(100);
set_val(PS4_L2, 0);
wait(200):
}
combo Takeover
{
set_val(PS4_R3, 100);
wait(100);
set_val(PS4_R3, 0);
}
combo RUMBLE
{
set_rumble(RUMBLE_A, 50);
wait(200);
set_rumble(RUMBLE_A, 0);
}
/*
============================================================================================================================
Defense
============================================================================================================================
*/
combo ALTERNATE_TRIGGERS {
set_val(XB1_LT,100);
set_val(XB1_RT,0);
wait(30);
set_val(XB1_LT,0);
set_val(XB1_RT,0);
wait(timeBetweenTriggers);
set_val(XB1_RT,100);
set_val(XB1_LT,0);
wait(30);
set_val(XB1_LT,0);
set_val(XB1_RT,0);
wait(timeBetweenTriggers);
}
/*
============================================================================================================================
FindMax
============================================================================================================================
*/
function FindMax(a,b) {
if(a > b){
return a;
}
return b;
}
//=========================================================
//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));
}
Please convert to titan one. Thanks!
Last edited by Tomhug on Sun Nov 22, 2020 11:52 pm, edited 1 time in total.
-
Tomhug - Sergeant
- Posts: 6
- Joined: Sun Oct 25, 2020 9:08 am
Re: Script Conversion Request Megathread
T1
- Attachments
-
- Dricon_v3.0.gpc
- (24.87 KiB) Downloaded 104 times
-
RoyalLaws - Sergeant
- Posts: 6
- Joined: Fri Oct 30, 2020 2:24 am
Re: Script Conversion Request Megathread
CONVERSIONE T1
- Attachments
-
- GOOD.gpc
- (15.72 KiB) Downloaded 117 times
-
Alfagamer - First Sergeant
- Posts: 60
- Joined: Fri Sep 04, 2020 7:58 am
Re: Script Conversion Request Megathread
Alfagamer wrote:CONVERSIONE 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
can someone please convert this to T1 (i link me on how to do it myself)
- Attachments
-
- BigBucksJEFE_NEXT_GEN_SCRIPT.gpc
- (3.03 KiB) Downloaded 108 times
-
Hamishboii - Sergeant First Class
- Posts: 16
- Joined: Tue Nov 10, 2015 5:13 am
Re: Script Conversion Request Megathread
Hamishboii wrote:can someone please convert this to T1 (i link me on how to do it myself)
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
MI DICE ERRORE, QUINDI LO POSTO IN QUESTO MODO SCUSATE
CONVERTIRE PER T1
CONVERTIRE PER T1
- Code: Select all
//Posted by wesleyaraujo, a member of the device Community - https://device.com/forums
//Posted : Monday 23rd of November, 2020 1:46 UTC
//Posted by Sensei, a member of the device Community - <a href="https://device.com/forums" target="_blank">https://device.com/forums</a>
//Posted : Saturday 18th of July, 2020 10:30 CST6CDT
//Posted by Sensei, a member of the device Community - <a href="https://device.com/forums" target="_blank">https://device.com/forums</a>
//Posted : Saturday 23rd of November, 2019 16:42 UTC
// GPC Online Library// black_ops_3_multiplayer_3.0_full_xbox_one_->_ps4_crossover_(incl._elite_controller)_-_deafult_by_gio_lokks.gpc
// BLACK OPS 3 Multiplayer 2.0 Full Xbox ONE -> PS4 Crossover (incl. Elite Controller) - DEAFULT by Gio Lokks
//--------------------------------------------------------------
// Authors : Gio Lokks
// GamerTAG : Gio Lokks
// Game : CoD BLACK OPS III - Multiplayer Mode
// Device : device PLUS
// Console : XBOX ONE, XBOX 360, PS 4, PS 3
// Game pads: All supported Game pads
//--------------------------------------------------------------
//
/****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************Read This Carefully Before Using**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
Instructions and Features : * AUTO SPRINT BY MOVING FORWARD(PRESS SENSITIVITY)
DO NOT PRESS SPRINT BUTTON FOR SPRINTING
AS IT ACTIVATES G-Slide(SEE BELOW)
* EASY DOUBLE JUMP BY PRESSING AND HOLDING JUMP BUTTON
(RELEASE TO STOP HOVERING) !!!!!!DO NOT DOUBLE TAP JUMP BUTTON
AS IT ACTIVATES LONG JUMP UNLESS YOU WANT A LONG JUMP !!!!!
* ENHANCED AIM ASSIST ALLOWS AIM ASSIST FEATURE
TO BE ACTIVATED EVEN IF STANDING STILL
(ACTIVATED BY DEAFULT)
* EASY SUPER BY PRESSING RIGHT STICK
* INDEPENDENT RAPID FIRE FOR FIRE BUTTON,
LETHAL GRENADE BUTTON,AND MELEE BUTTON
* TOGGLE FIRE BUTTON RAPID FIRE BY PRESSING AND HOLDING
ADS BUTTON AND PRESSING DOWN ON D-PAD
(ACTIVATED BY DEAFULT)
* TOGGLE ENHANCED AIM ASSIST BY PRESSING AND HOLDING
ADS BUTTON AND PRESSING LEFT ON D-PAD
* G-SLIDE BY MOVING ANY DIRECTION AND PRESSING AND HOLDING
LEFT STICK UNTIL CONTROLLER VIBRATES
* LED MOD LIGHTING FOR YOUR ENJOYMENT
/* Full Xbox ONE -> PS4 Crossover Script /
/////////////////////////////////////////////////
///////////////////INCLUDES://///////////////////
/////////////////////////////////////////////////
*Share Button Re-Map + Use Script
Xbox One View button is remapped to PS4 Touch-Pad button
Press View(Select)+RS Click to use the PS4 Share Button
/////////////////////////////////////////////////
*PS(Home) Button Use Script
Press Menu(Start)+View(Select) to use the PS4 PS(Home) button
//////////////////////////////////////////////////
*Touch-Pad Axis Re-Assign
Press View(Select)+B to enable Left Stick as the Touch-Pad
/////////////////////////////////////////////////
/////////////* Button Defenitions *//////////////
/////////////////////////////////////////////////
/*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************CHANGELOG**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
Version 1.0 * ININTIAL RELEASE
*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************MESSAGE ME HERE OR ON XBOX FOR IDEAS OR BUGS (GAMERTAG:Gio Lokks) *********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************KEEP AN EYE ON THESE SCRIPTS, THEY WILL GET UPDATES*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** LATEST UPDATE ON 2/25/2016
----------------------------------------------------------------
Fire Button RAPID FIRE
//1. Fire Button RAPID FIRE turn On / Off => ADS button + D pad Down
********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
////////////////////////////////////////////////////////
// BUTTONS definitions
define FIRE_BTN = XB1_RB; // default RT
define ADS_BTN = XB1_LB; // LT
define SPRINT_BTN = XB1_LS; // LS
define PRONE_BTN = XB1_B; // B
define JUMP_BTN = XB1_A; // A
define SWITCH_WEAPON = XB1_Y; // Y
define RELOAD_BTN = XB1_X; // X
define MELEE = XB1_RS; // RS/R3
define LETHAL = XB1_RB; // RB
define TACTICAL = XB1_LB; // LB
define Up = XB1_UP;
define Right = XB1_RIGHT;
define Down = XB1_DOWN;
define Left = XB1_LEFT;
define R_X = XB1_RX;
define R_Y = XB1_RY;
define L_X = XB1_LX;
define L_Y = XB1_LY;
define BTTN_PS = PS4_PS;
define BTTN_SHARE = PS4_SHARE; //CEMU_EXTRA1;
define BTTN_VIEW = XB1_VIEW;
define BTTN_RS = XB1_RS;
define BTTN_START = XB1_MENU;
define BTTN_B = XB1_B;
//define BTTN_EXTRA1 = CEMU_EXTRA1;
//define BTTN_EXTRA2 = CEMU_EXTRA8;
define SHOOT_BUTTON = PS4_R1;
define RAPIDFIRE_BUTTON = PS4_L1;
define RATE_OF_FIRE = 25; // Range: 1 to 25 RPS (Round/s)
define AUTOSPOT_BUTTON = PS4_L1;
define SPOT_BUTTON =PS4_R3;
//VARIABLES
//--------------------------------------------------------------
// *DO NOT EDIT/DELETE THIS SECTION*
int Attack = FALSE;
int Timeout_Melee = 0;
int DbleClick_Square = 0;
//INITIALIZATION - init
//--------------------------------------------------------------
init {
hold_time = 500 / RATE_OF_FIRE;
rest_time = hold_time - 20;
if(rest_time < 0) rest_time = 0;
}
define TP_X = PS4_TOUCHX;
define TP_Y = PS4_TOUCHY;
////////////////////////////////////////////////////////
//
define Blue = 1;
define Red = 2;
define Green = 3;
define Pink = 4;
define SkyBlue = 5;
define Yellow = 6;
define White = 7;
data(1,// begin of data segment--------
2,0,0,0, //1. Blue
0,2,0,0, //2. Red
0,0,2,0, //3. Lime/Green
0,0,0,2, //4. Fuchsia/Pink
2,0,2,0, //5. SkyBlue
0,2,2,0, //6. Yellow
2,2,2,2 //7. White
); // end of data segment--------------
////////////////////////////////////////////////////////
//
define dropDelay =600;
define timelimit =300;
define NotUse = 0;
////////////////////////////////////////////////////////
//
int RA;
int LX;
int LY;
int hold_time = 30; // All Weapons
int rest_time = 10;
int hold_timeP = 30; // Primary Weapon
int rest_timeP = 10;
int hold_timeS = 30; // secondary
int rest_timeS = 10; // secondary
int hold_time_B = 30;
int rest_time_B = 10;
int tpremap = 0;
int PSButtonOnOff = FALSE;
///////////////////////////////////////
// variables
int Col_ind;
int onoff;// toggle mode ON/OFF
// remap CEMU_EXTRA1 -> PS4_SHARE;
////////////////////////////////////////////////////////
// Boolean Variables
int rapid_onoff = FALSE;
int RF_ALL_weapons = FALSE;
int rapid1_onoff = FALSE;
int RF1_ALL_weapons = FALSE;
int burst_onoff =FALSE; // On/Off Burst Fire
int hold_breath_On_Off = FALSE;
int Invert = 1;
int b_hold_ADS =FALSE; // if Toggle ADS in use * / need to be reset
int JumpActive =FALSE;
int InstantDrop =FALSE; // Slide or instant drop
int b_switch;
int NotReloading = FALSE;
int TimeToJump;
int LongJump = FALSE;
int b_running;
int b_tap ; // boolean variable
int timerLJump;
int wait_sec_tap = 300;
int loop_slide;
//////////////////////////////////////////////////////////
//
int timer;
int Sens = 20;
int SlideOrDrop = 20;
int DelayScope = 20;
int ADS_Delay = 150;// ADS delay value
//INITIALIZATION - init
//--------------------------------------------------------------
//MAIN BLOCK RUTINES
//--------------------------------------------------------------
main { // Start of MAIN BLOCK
//--------------------------------------------------------------
// FIND DIRECTION of Left Analogue
if(get_val(L_X)<-20 || get_val(L_X)>20)LX=get_val(L_X);
//--------------------------------------------------------------
if (tpremap){
swap(R_X,TP_X);
swap(R_Y,TP_Y);
sensitivity(TP_X, NOT_USE, 35);
sensitivity(TP_Y, NOT_USE, 35);
}
if (get_val(BTTN_VIEW) && get_val(BTTN_B)) {
tpremap = !tpremap
}
/////////////////////////////////////////////////
/////////////////* Share Button *////////////////
/////////////////////////////////////////////////
if (get_val(BTTN_VIEW) && get_val(BTTN_RS)) {
set_val(BTTN_SHARE,100)
set_val(PS4_SHARE,0)
set_val(PS4_R3,0)
}
/////////////////////////////////////////////////
//////////////////* PS Button*///////////////////
/////////////////////////////////////////////////
if (PSButtonOnOff) {
if (get_val(BTTN_START) && get_val(BTTN_VIEW)) {
set_val(BTTN_PS,100)
set_val(PS4_OPTIONS,0)
set_val(PS4_SHARE,0)
}
}
////////////////////////////////////////////
if(abs(get_val(L_Y))>=60 || abs(get_val(L_X))>=60 ){
/////////////////////////////////////////////////
if( get_val(SPRINT_BTN) && get_ptime(SPRINT_BTN)>=50){
}
}
/////////////////////////////////////////////////
// HOLD BREATH
if(hold_breath_On_Off) {
if(get_val(TACTICAL) || b_hold_ADS) { set_val(SPRINT_BTN,100); }
}
///////////////////////////////////////////////////////////////////////////
/////////// AUTO SPRINT ////////////////////////
///////////////////////////////////////////////////////////////////////////
// AUTO SPRINT START
if (get_val(L_Y)<=-95 && NotReloading && !get_val(TACTICAL)){
}else if(get_val(L_Y) > -95) {
}else if(combo_running(ADS_FIRE)){
}else if(get_val(TACTICAL)>0) {
}
// AUTO SPRINT END
//--------------------------------------------------------------
if(get_val(JUMP_BTN)>0) {
}
// RAPIDEVERYTHING
if(get_val(MELEE)>0 && !burst_onoff ) {
combo_run(MELEE_FIRE);
}else if(combo_running(MELEE_FIRE)){
combo_stop(MELEE_FIRE);
}
if(get_val(FIRE_BTN)>0 && !burst_onoff ) {
}
///////////////////////////////////////////////////////////////////////////
// RAPID FIRE On-Off ////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
// turn RF OFF if switch to special weapon/ Ability
// ON / OFF RAPID FIRE (ADS button + Dpad UP )
if(get_val(TACTICAL) && event_press(Down ))
{
rapid_onoff =!rapid_onoff;
RF_ALL_weapons=!RF_ALL_weapons;
}
// RAPIDFIRE
if(rapid_onoff){//----------------------------------------
if(get_val(LETHAL)>0 && !burst_onoff ) {
combo_run(RAPID_FIRE);
}else if(combo_running(RAPID_FIRE)){
combo_stop(RAPID_FIRE);
}
}
{//---------------------------------
////////////////////////////////
// ON/OFF mode
if(get_val(TACTICAL) && event_press(Down ))
{
onoff = !onoff;
}
////////////////////////////////
// LED color indication
if(onoff) colourled(Red); // ON
else colourled(SkyBlue); // OFF
//////////////////////////////////////////////////////////////////////////
// RELOAD WITH SLIDE ///////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
// RUNNING OR STANDING STILL
if(abs(get_val(11))>60 || abs(get_val(12))>80){
b_running= TRUE;
}else{
b_running=FALSE;
}
// Reload with Slide
if(b_running){//-----------------------
}
}//------------------------------------
///////////////////////////////////////////////////////////////////////////
// RAPID FIRE On-Off ////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
// turn RF OFF if switch to special weapon/ Ability
// ON / OFF RAPID FIRE (ADS button + Dpad UP )
if(get_val(TACTICAL) && event_press(Left ))
{
rapid1_onoff =!rapid1_onoff;
RF1_ALL_weapons=!RF1_ALL_weapons;
}
//RAPIDAIMM
if(rapid1_onoff){//----------------------------------------
if (get_val(TACTICAL)){
combo_run(Auto_Aimm);
}else if(combo_running(Auto_Aimm)){
combo_stop (Auto_Aimm);
}
if (get_val(R_X)){
combo_run(Auto_Aimm1);
}else if(combo_running(Auto_Aimm)){
combo_stop (Auto_Aimm1);
}
if (get_val(TACTICAL)&& get_val(R_X)< -45){
combo_stop(Auto_Aimm)
}
if (get_val(TACTICAL)&& get_val(R_X)> +45){
combo_stop(Auto_Aimm)
}
if (get_val(TACTICAL)&& get_val(R_Y)< -45){
combo_stop(Auto_Aimm)
}
if (get_val(TACTICAL)&& 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(TACTICAL) && event_press(Down ))
{
}
if(get_val(TACTICAL) && event_press(Left ))
{
}
//////////////////////////////////////////////////////////////////////////
// LONG JUMP /////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////
// LONG JUMP
if(get_val(Up)){
if(event_press(JUMP_BTN)) {
LongJump =!LongJump;// ON / OFF Long Jump
}
}
/////////////////////////////////////////////
// timer for second tap
if(timerLJump>0) {//---------------------
timerLJump= timerLJump -get_rtime();
if(timerLJump <= 0) b_tap=FALSE;
}//--------------------------------------
if(LongJump ){
//----------------------------------------------------------- Long Jump ------------
/////////////////////////////////////////////////
// First tap
if (event_press(JUMP_BTN) && !b_tap) {
b_tap=FALSE;
timerLJump = wait_sec_tap;
// Second tap
}else if (event_press(JUMP_BTN) && b_tap ){
TimeToJump=1500;
JumpActive=FALSE;
b_tap=FALSE;
}
}//------------------------------------
}//-----------------------------------------
main {
// COLOR INDICATION FOR the RAPID FIRE ON / OFF
if(get_val(RAPIDFIRE_BUTTON) && get_val(SHOOT_BUTTON)) {
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(); }
// Double click Square to turn off/on Melee.
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();
reset_leds(); }
// Rapid fire on Square button.
}
//--------------------------------------------------------------
///////////////////////////////////////////////////////////////////////////
//COMBO BLOCKS //////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
//RAPID FIRE
combo RAPID_FIRE {
set_val(LETHAL,100);
colourled(Red);
wait(hold_time);
set_val(LETHAL,0);
colourled(White)
wait(rest_time);
set_val(LETHAL,0);
colourled(White)
wait(rest_time);
}
// RAPIDFIRE1
combo ADS_FIRE {
set_val(TACTICAL,100);
colourled(Red);
wait(hold_time);
set_val(TACTICAL,0);
colourled(Red);
wait(rest_time);
set_val(TACTICAL,0);
colourled(Red);
wait(rest_time);
}
// RAPIDEVERYTHING
combo MELEE_FIRE {
set_val(ADS_BTN,100);
set_val(FIRE_BTN,100);
set_val(MELEE,0);
colourled(Yellow);
wait(100);
}
combo FIRE_FIRE {
set_val(FIRE_BTN,100);
colourled(Green);
wait(25);
set_val(FIRE_BTN,0);
colourled(Blue);
wait(25);
set_val(FIRE_BTN,0);
colourled(SkyBlue);
wait(25);
}
//RAPIDAIMM
combo Auto_Aimm {
set_val(R_Y,-25);//1
wait(25)
set_val(R_X,+25);//1
wait(25)
set_val(R_Y,+25);//1
wait(25)
set_val(R_X,-25);//1
wait(25)
}
combo Auto_Aimm1 {
set_val(R_Y,-20);//1
wait(25)
set_val(R_X,+20);//1
wait(25)
set_val(R_Y,+20);//1
wait(25)
set_val(R_X,-20);//1
wait(25)
}//end
function colourled(Colour) {
Col_ind=(Colour* 4) - 3;
set_led(LED_1,dbyte(Col_ind ));
set_led(LED_2,dbyte(Col_ind + 1));
set_led(LED_3,dbyte(Col_ind + 2));
set_led(LED_4,dbyte(Col_ind + 3));
}
combo RapidFire {
set_val(SHOOT_BUTTON, 100);
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 StrongAttack {
set_val(PS4_TRIANGLE, 100);
wait(100);
set_val(PS4_TRIANGLE, 0);
Timeout_Melee = 0;
}
// end of script
-
Alfagamer - First Sergeant
- Posts: 60
- Joined: Fri Sep 04, 2020 7:58 am
Re: Script Conversion Request Megathread
Alfagamer wrote:MI DICE ERRORE, QUINDI LO POSTO IN QUESTO MODO SCUSATE
CONVERTIRE 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
Is this a script that can be converted? please and thank you
- Attachments
-
- DoGzTheFiGhTeR.gpc
- (21.97 KiB) Downloaded 109 times
-
SwedishPrxck - Private First Class
- Posts: 2
- Joined: Mon Nov 23, 2020 7:13 pm
Re: Script Conversion Request Megathread
SwedishPrxck wrote:Is this a script that can be converted? please and thank you
Converted.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 141 guests