Can this be adapted to titan one 1?
4 posts
• Page 1 of 1
Can this be adapted to titan one 1?
- Code: Select all
define BTN1 = 17; // TRIANGLE, Y
define BTN2 = 18; // CIRCLE, B
define BTN3 = 19; // CROSS, A
define BTN4 = 20; // SQUARE, X
define BTN5 = 3; // R1, RB
define BTN6 = 4; // R2, RT
define BTN7 = 6; // L1, LB
define BTN8 = 7; // L2, LT
define TOUCH = 27; // TOUCH PAD
define UP = 13; // DPAD UP
define DOWN = 14; // DPAD DOWN
define LEFT = 15; // DPAD LEFT
define RIGHT = 16; // DPAD RIGHT
define MOVE_X = 11; // LEFT ANALOG X
define MOVE_Y = 12; // LEFT ANALOG Y
//-----------------------------------------------------
define BACK = 128; // BACK FLAG
define FORWARD = 129; // FORWARD FLAG
// End Flags. 254 and 255 should never be used in the
// data segment for other purposes.
//-----------------------------------------------------
define EOC = 254; // End of Combo
define EOD = 255; // End of Data Segment
//-----------------------------------------------------
define Geese2 = 0;/// COMBOS ARE WRITTEN IN GREEN NEXT TO GEESES
define GeeseJump4 = 1;
define GeeseF12 = 2;
define GeeseFCDF1 = 3;
define Geese2MaxMid = 4;
define Geese2MaxLow = 5;
define GeeseF12Max = 6;
define GeeseB32Max = 7;
define GeeseUniversal = 8;
define GeeseMaxUniversal = 9;
define GeeseRagingStorm = 10;
define GeeseHighParry = 11;
define GeeseMidParry = 12;
define GeeseLowParry = 13;
define iWR = 14;
define KBD = 15;
define SidestepForeground = 16;
define SidestepBackground = 17;
define DeadlyRave = 18;
define GeeseLowcombo = 19;
define Touch = 20;
data(
Touch,///L2 +TOUCHPAD ANYWHERE //10 HIT
1,BACK,
2,0,2,
1,FORWARD,
4,0,4,
1,FORWARD,
4,
0,10,
1,BTN1,
6,0,7,
1,BTN4,
6,0,7,
1,BTN1,
6,0,20,
1,BTN1,
9,0,20,
1,BTN3,
21,0,14,
1,BTN2,
20,0,19,
1,BTN2,
20,0,19,
1,BTN4,
20,0,10,
1,BTN1,
23,0,25,
1,BTN4,
4,0,10,
1,BTN4,
4,0,10,
1,BTN4,
4,0,100,
EOC,
GeeseLowcombo,///////////////////////R stick LEFT = FF2 - wont connect if done when super close to opponent, also no ender connection with small characters chloe/ling
1,BACK,
4,
1,FORWARD,
4,0,4,
1,FORWARD,
4,
1,BTN1,
4,0,85,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,50,
2,FORWARD,
BTN1,
4,0,10,
1,BTN3,
4,0,76,//
1,BACK,
4,0,4,//
2,FORWARD,
BTN1,
5,0,20,
1,BTN3,
4,0,95,/////
3,FORWARD,
BTN3,
BTN2,
4,0,10,///
1,BTN1,
4,0,30,
1,BTN4,
4,0,100,
EOC,
Geese2,//////////////////RS RIGHT = EWGF COMBO
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,60,
2,FORWARD,
BTN3,
4,0,60,
3,DOWN,
FORWARD,
BTN4,
4,0,60,
2,BACK,
BTN4,
4,0,10,
1,BTN1,
4,0,90,
1,FORWARD,
4,0,4,
1,FORWARD,
4,
1,FORWARD,
4,0,5,
1,FORWARD,
4,0,5,
1,FORWARD,
5,0,5,
1,DOWN,
2,
3,DOWN,
FORWARD,
BTN2,
4,0,15,
1,BTN4,
8,0,100,
EOC,
GeeseF12,///////////////////////// RS UP = UP 3+4 COMBO
1,BACK,
4,0,2,
3,UP,
FORWARD,
BTN3,
4,0,10,
1,BTN2,
4,0,120,
1,FORWARD,
4,0,5,
1,FORWARD,
4,0,15,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
3,DOWN,
FORWARD,
BTN2,
4,0,35,
1,BTN4,
70,0,30,
2,BTN4,
BTN1,
4,0,100,
EOC,
GeeseFCDF1,////////////////////////////////////RS DOWN = HELLSWEEP
1,BACK,
4,0,2,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
3,DOWN,
FORWARD,
BTN2,
4,0,35,
1,BTN2,
4,0,80,
1,BACK,
4,0,5,
2,FORWARD,
BTN1,
4,0,35,
1,BTN3,
4,0,80,
1,FORWARD,
4,0,5,
1,FORWARD,
4,0,15,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
3,DOWN,
FORWARD,
BTN2,
4,0,35,
1,BTN4,
70,0,100,
EOC,
/////////////////////////----------------------------------------------------------------------- L1 ON/OFF FOR FOUR NEW COMBOS WITH THE RS STICK--------------------//////////
Geese2MaxMid,///////////////////////// L1 on/off then RS right - OMEN TGF START RAGE DRIVE
1,BACK,
2,0,2,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,80,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,60,
2,FORWARD,
BTN1,
4,0,10,
1,BTN3,
4,0,74,
1,BACK,
4,0,5,
2,FORWARD,
BTN1,
4,0,20,
1,BTN3,
4,0,100,
1,FORWARD,
4,0,4,
1,FORWARD,
4,0,4,
1,FORWARD,
4,0,4,
2,BACK,
BTN1,
4,0,20,
3,FORWARD,
BTN1,
BTN4,
4,0,105,///
1,FORWARD,
2,0,2,
2,DOWN,
BTN2,
6,0,30,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
Geese2MaxLow,///////////////L1 on/off then RS LEFT - EWGF X 3
1,BACK,
4,0,2,
1,FORWARD,
6,0,3,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,60,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,50,
1,FORWARD,
3,0,4,
1,FORWARD,
3,0,3,
1,DOWN,
3,
3,FORWARD,
DOWN,
BTN1,
4,0,100,
EOC,
GeeseF12Max,/////////////////////////// L1 on/off then RS UP = EWGF x 2 into rage drive
1,BACK,
4,0,2,
1,FORWARD,
6,0,3,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,60,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,50,//
1,BACK,
2,0,2,
1,BTN4,
4,0,4,
2,BACK,
BTN1,
4,0,30,
3,FORWARD,
BTN1,
BTN4,
4,0,140,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
GeeseB32Max,/////////////////////////////////L1 on/off then RS DOWN - HELLSWEEP TO RAGE DRIVE
1,BACK,
4,0,2,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
3,DOWN,
FORWARD,
BTN2,
4,0,35,
1,BTN2,///
4,0,80,
1,BACK,
2,0,2,
1,BTN4,
4,0,4,
2,BACK,
BTN1,
4,0,30,
3,FORWARD,
BTN1,
BTN4,
4,0,150,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
///---------------------------------------------------------------------UNIVERSALS ALWAYS R1 --------------------------------------------------------
GeeseUniversal,//////////////R1//FF3 COMBO *on small characters use EWGF as ender
1,BACK,
2,0,2,
1,FORWARD,
7,0,5,
1,FORWARD,
4,
2,FORWARD,
BTN3,
12,0,68,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,4,
1,BTN2,
4,0,66,
1,BACK,
4,0,5,
2,FORWARD,
BTN1,
4,0,20,
1,BTN3,
4,0,100,
3,FORWARD,
BTN3,
BTN2,
4,0,10,///
1,BTN1,
4,0,30,
1,BTN4,
4,0,100,
EOC,
GeeseMaxUniversal,//R1//FF3 combo - on small characters the ender wont work - use EWGF
1,BACK,
2,0,2,
1,FORWARD,
7,0,5,
1,FORWARD,
4,
2,FORWARD,
BTN3,
12,0,68,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,4,
1,BTN2,
4,0,66,
1,BACK,
4,0,5,
2,FORWARD,
BTN1,
4,0,20,
1,BTN3,
4,0,100,
3,FORWARD,
BTN3,
BTN2,
4,0,10,///
1,BTN1,
4,0,30,
1,BTN4,
4,0,100,
EOC,
//////////////////////////////------------------------------------------------------L2+ buttons = 4 NEW COMBOS ---------------------------------------------L2+ buttons
GeeseRagingStorm,///L2 + Circle///2 EWGF COMBO
1,BACK,
4,0,2,
1,FORWARD,
6,0,3,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,60,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,50,
2,BACK,
BTN4,
4,0,20,
1,BTN1,
4,0,90,///CAN FORWARD DASH TO RAGE ART
1,FORWARD,
4,0,4,
1,FORWARD,
4,0,5,
1,FORWARD,
4,0,10,
1,FORWARD,
4,0,2,
1,DOWN,
2,
3,DOWN,
FORWARD,
BTN2,
4,0,10,
3,DOWN,
FORWARD,
BTN2,
4,0,10,
1,BTN4,
4,0,100,
EOC,
GeeseHighParry,///L2 + Triangle = punch1 into RAGE DRIVE, OMEN UPPERCUT FINISH
1,BACK,
2,0,2,
1,BTN4,
4,0,4,
2,BACK,
BTN1,
4,0,30,
3,FORWARD,
BTN1,
BTN4,
4,0,140,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
GeeseMidParry,////////////////L2 + Square = OTGFX2 122DMG COMBO when in rage or wall bounce ender (83dmge) when not in rage
1,BACK,
4,0,2,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,80,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,80,
3,DOWN,
FORWARD,
BTN4,
4,0,10,
3,DOWN,
FORWARD,
BTN4,
4,0,60,
2,BACK,
BTN4,
4,0,20,
1,BTN1,
4,0,78,///
1,FORWARD,
2,0,2,
1,FORWARD,
4,0,2,
1,FORWARD,
30,
2,BACK,
BTN1,
4,0,20,
3,FORWARD,
BTN1,
BTN4,
4,0,105,///
1,FORWARD,
2,0,2,
2,DOWN,
BTN2,
6,0,30,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
GeeseLowParry,///////////////L2 + X SS 1 2 COMBO
1,BACK,
4,0,2,
1,DOWN,
10,0,20,
1,BTN1,
4,0,20,
1,BTN4,
4,0,135,///
1,FORWARD,
13,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
1,BTN2,
4,0,80,///
2,BACK,
BTN4,
4,0,5,
1,BTN1,
4,0,100,////
1,FORWARD,
4,0,4,
1,FORWARD,
4,0,5,
1,FORWARD,
4,0,10,
1,FORWARD,
4,0,2,
2,FORWARD,
BTN1,
4,0,20,
1,BTN3,
4,0,100,
EOC,
DeadlyRave, //WALL COMBO SHORT - one hellsweep into ws4 into 1+2
1,BACK,
4,0,2,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
1,BTN2,
4,0,40,
2,BTN1,
BTN4,
4,0,10,
2,BTN1,
BTN4,
4,0,10,
2,BTN1,
BTN4,
4,0,10,
2,BTN1,
BTN4,
5,0,100,
EOC,
//-----------------------------------------------------------------------------------------------------------LEFT STICK CONTROLS-----------------------
iWR,///LS RIGHT - iWR
1,FORWARD,
2,
0,2,
1,FORWARD,
2,
0,2,
1,FORWARD,
2,
0,50,
EOC,
KBD,//LS LEFT
1,BACK,
2,
0,2,
1,BACK,
19,
2,BACK,
DOWN,
2,
0,2,
EOC,
SidestepForeground,/////LS DOWN = DB1,WS1 into OMEN TGF
1,BACK,
4,0,2,
3,DOWN,
BACK,
BTN1,
20,0,40,
1,DOWN,
15,
0,5,
1,BTN4,
10,0,70,
1,FORWARD,
8,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
SidestepBackground,///LS up - Wavedash
1,FORWARD,
2,0,2,
1,DOWN,
2,
2,DOWN,
FORWARD,
2,
1,FORWARD,
2,0,13,
EOC,
EOD );
int i = -1, b, v;
int back = LEFT, forward = RIGHT;
int button_1, button_2, button_3, button_4, button_5;
int wait_time;
int switch;
int delay_t;
int RUMBLE_TYPE=RUMBLE_A;
int cancel;
int EndOfCombo;
int CanStart;
int SWITCH
int MaxMode
main {
// Determine Back and Forward
if(get_val(PS4_L3)) {
back = LEFT; forward = RIGHT;
} else if(get_val(PS4_R3)) {
back = RIGHT; forward = LEFT;
}//----------------------------------------------
// Determine Back and Forward for Combos
if(get_val(PS4_L3)) {
SWITCH = TRUE;
} else if(get_val(PS4_R3)) {
SWITCH = FALSE;
}
if(event_press(PS4_L1)){
MaxMode = !MaxMode;
}
// If there is a combo to be executed
if(i >= 0 && delay_t<=0) {
// Execute the combo step-by-step
if(!combo_running(execute_step)) {
if(get_step_values()) {
if(wait_time == 0) {
combo_run(execute_step_no_wait);
} else {
combo_run(execute_step);
}
} else { // the combo finished
i = -1;
}
}
if(cancel==1){
if ( (abs(get_val (9)) <= 20 && abs(get_val (10)) <= 20) && (abs(get_val (11)) <= 20 && abs(get_val (12)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==2){
if (!get_val(PS4_L1) && !get_val(PS4_L2) && !get_val(PS4_R1) && !get_val(PS4_R2) ) {
i = -1;
combo_stop(execute_step);
}
}
// Make sure the user inputs does not interfere in the combo
set_val(BTN1 , 0);
set_val(BTN2 , 0);
set_val(BTN3 , 0);
set_val(BTN4 , 0);
set_val(BTN5 , 0);
set_val(BTN6 , 0);
set_val(BTN7 , 0);
set_val(BTN8 , 0);
set_val(UP , 0);
set_val(DOWN , 0);
set_val(LEFT , 0);
set_val(RIGHT , 0);
set_val(MOVE_X , 0);
set_val(MOVE_Y , 0);
// if no combo execute - look for combo activation
} else {
// EDIT THIS PART OF SCRIPT for combo run ---------------------------
//////////////////////////////////////////////////////////////////////////
if(SWITCH) {
// Left Stick LEFT
if (get_val (11) <= -80) { //combo KoreanBackdash
cancel=1;
i = get_combo_index(KBD);
}
// Left Stick RIGHT
if (get_val (11) >= 80) { //combo iWR
cancel=1;
i = get_combo_index(iWR);
}
}else if(!SWITCH) { // Left Stick LEFT
if (get_val (11) > 80) { //combo KoreanBackdash
cancel=1;
i = get_combo_index(KBD);
}
// Left Stick RIGHT
if (get_val (11) < -80) { //combo iWR
cancel=1;
i = get_combo_index(iWR);
}
}// Left Stick UP
if (get_val (12) <= -80) { //combo SidestepBackground
cancel=1;
i = get_combo_index(SidestepBackground);
}
// Left Stick DOWN
if (get_val (12) >= 80) { //combo SidestepForeground
cancel=1;
i = get_combo_index(SidestepForeground);
}
if(!MaxMode) {
// Right Stick RIGHT
if (get_val (9) >= 80) { //combo Geese2
cancel=1;
i = get_combo_index(Geese2);
}
// Right Stick LEFT
if (get_val (9) <= -80) { //combo Geese jumping 4
cancel=1;
i = get_combo_index(GeeseLowcombo);
}
// Right Stick UP
if (get_val (10) <= -80) { //combo Geese f+1+2
cancel=1;
i = get_combo_index(GeeseF12);
}
// Right Stick DOWN
if (get_val (10) >= 80) { //combo Geese FC d/f+1
cancel=1;
i = get_combo_index(GeeseFCDF1);
}
}
else if(MaxMode) {
// Right Stick RIGHT
if (get_val (9) >= 80) { //combo Geese2MaxMid
cancel=1;
i = get_combo_index(Geese2MaxMid);
}
// Right Stick LEFT
if (get_val (9) <= -80) { //combo Geese 2 MaxLow
cancel=1;
i = get_combo_index(Geese2MaxLow);
}
// Right Stick UP
if (get_val (10) <= -80) { //combo Geese f+1+2 MAX
cancel=1;
i = get_combo_index(GeeseF12Max);
}
// Right Stick DOWN
if (get_val (10) >= 80) { //combo Geese b+3,2 MAX
cancel=1;
i = get_combo_index(GeeseB32Max);
}
}
// Press R1
if (get_val (PS4_R1)) {
cancel=2;
i = get_combo_index(GeeseUniversal);
}
// Press R2
if (get_val (PS4_R2)) { //combo Deadly Rave
cancel=2;
i = get_combo_index(DeadlyRave);
}
// Press L2
if (get_val (PS4_L2)) {
set_val(PS4_TRIANGLE,0);
cancel=2;
if(get_lval(PS4_TRIANGLE)) i = get_combo_index(GeeseHighParry);
}
// Press L2
if (get_val (PS4_L2)) {
set_val(PS4_SQUARE,0);
cancel=2;
if(get_lval(PS4_SQUARE)) i = get_combo_index(GeeseMidParry);
}
// Press L2
if (get_val (PS4_L2)) {
set_val(PS4_CROSS,0);
cancel=2;
if(get_lval(PS4_CROSS)) i = get_combo_index(GeeseLowParry);
}
// Press L2
if (get_val (PS4_L2)) {
set_val(PS4_CIRCLE,0);
cancel=2;
if(get_lval(PS4_CIRCLE)) i = get_combo_index(GeeseRagingStorm);
}
// Press L2/R1
if (get_val (PS4_L2)) {
set_val(PS4_R1,0);
cancel=2;
if(get_lval(PS4_R1)) i = get_combo_index(GeeseLowcombo);
}
// TOUCH PAD
if (get_val (PS4_TOUCH)) { //1,1,db2,3
cancel=2;
i = get_combo_index(Touch);
}
}// <combo activation> end
}//<main> block end
// This combo will run a step with wait
combo execute_step {
set_buttons_values();
wait(wait_time);
set_buttons_values();
}
// This combo will run a step without wait
combo execute_step_no_wait {
set_buttons_values();
}
combo RUMBLE_NOTIFICATION {
set_rumble(RUMBLE_TYPE, 100);
wait(300);
reset_rumble ();
}
// Returns the starting index of a combo
function get_combo_index(combo_id) {
i = 0;
while(TRUE) {//-----------------------
v = dbyte(i);
if(v == combo_id) {
return(i + 1);
} else {//====================
while(v != EOC && v != EOD) {//#
i = i + 1;
v = dbyte(i);
}//#
if(v == EOD) break;
else i = i + 1;
}//=============================
}//-----------------------------------
return(-1);
}
// Set the buttons, values and wait time of a step
function get_step_values() {
b = dbyte(i); i = i + 1;
if(b > 5) return(FALSE);
if(b >= 1) {
button_1 = convert_back_forward(dbyte(i)); i = i + 1;
} else { button_1 = -1; }
if(b >= 2) {
button_2 = convert_back_forward(dbyte(i)); i = i + 1;
} else { button_2 = -1; }
if(b >= 3) {
button_3 = convert_back_forward(dbyte(i)); i = i + 1;
} else { button_3 = -1; }
if(b >= 4) {
button_4 = convert_back_forward(dbyte(i)); i = i + 1;
} else { button_4 = -1; }
if(b >= 5) {
button_5 = convert_back_forward(dbyte(i)); i = i + 1;
} else { button_5 = -1; }
wait_time = dbyte(i); i = i + 1;
wait_time = (wait_time - 1) * 10;
if(wait_time < 0) wait_time = 0;
return(TRUE);
}
// If the step has FORWARD and BACK buttons, set the correct value.
function convert_back_forward(button) {
if(button == FORWARD) {
return(forward);
} else if(button == BACK) {
return(back);
}
return(button);
}
// Set the buttons and values, function used on the combos.
function set_buttons_values() {
if(button_1 != -1) set_val(button_1, 100);
if(button_2 != -1) set_val(button_2, 100);
if(button_3 != -1) set_val(button_3, 100);
if(button_4 != -1) set_val(button_4, 100);
if(button_5 != -1) set_val(button_5, 100);
}
(and this too please)
- Code: Select all
1,BACK,
4,0,2,
3,FORWARD,
BTN3,
BTN2,
4,0,10,
1,BTN4,//
4,0,125,
1,FORWARD,
8,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
1,BTN2,
4,0,80,///
2,BACK,
BTN4,
4,0,5,
1,BTN1,
4,0,100,////
1,FORWARD,
4,0,4,
1,FORWARD,
4,0,5,
1,FORWARD,
4,0,10,
1,FORWARD,
4,0,2,
2,FORWARD,
BTN1,
4,0,20,
1,BTN3,
4,0,100,
-
Gerarkimux - Sergeant First Class
- Posts: 18
- Joined: Sun Jul 24, 2016 4:07 pm
Re: Can this be adapted to titan one 1?
Errors fixed:
- Code: Select all
define BTN1 = 17; // TRIANGLE, Y
define BTN2 = 18; // CIRCLE, B
define BTN3 = 19; // CROSS, A
define BTN4 = 20; // SQUARE, X
define BTN5 = 3; // R1, RB
define BTN6 = 4; // R2, RT
define BTN7 = 6; // L1, LB
define BTN8 = 7; // L2, LT
define TOUCH = 27; // TOUCH PAD
define UP = 13; // DPAD UP
define DOWN = 14; // DPAD DOWN
define LEFT = 15; // DPAD LEFT
define RIGHT = 16; // DPAD RIGHT
define MOVE_X = 11; // LEFT ANALOG X
define MOVE_Y = 12; // LEFT ANALOG Y
//-----------------------------------------------------
define BACK = 128; // BACK FLAG
define FORWARD = 129; // FORWARD FLAG
// End Flags. 254 and 255 should never be used in the
// data segment for other purposes.
//-----------------------------------------------------
define EOC = 254; // End of Combo
define EOD = 255; // End of Data Segment
//-----------------------------------------------------
define Geese2 = 0;/// COMBOS ARE WRITTEN IN GREEN NEXT TO GEESES
define GeeseJump4 = 1;
define GeeseF12 = 2;
define GeeseFCDF1 = 3;
define Geese2MaxMid = 4;
define Geese2MaxLow = 5;
define GeeseF12Max = 6;
define GeeseB32Max = 7;
define GeeseUniversal = 8;
define GeeseMaxUniversal = 9;
define GeeseRagingStorm = 10;
define GeeseHighParry = 11;
define GeeseMidParry = 12;
define GeeseLowParry = 13;
define iWR = 14;
define KBD = 15;
define SidestepForeground = 16;
define SidestepBackground = 17;
define DeadlyRave = 18;
define GeeseLowcombo = 19;
define Touch = 20;
data(
Touch,///L2 +TOUCHPAD ANYWHERE //10 HIT
1,BACK,
2,0,2,
1,FORWARD,
4,0,4,
1,FORWARD,
4,
0,10,
1,BTN1,
6,0,7,
1,BTN4,
6,0,7,
1,BTN1,
6,0,20,
1,BTN1,
9,0,20,
1,BTN3,
21,0,14,
1,BTN2,
20,0,19,
1,BTN2,
20,0,19,
1,BTN4,
20,0,10,
1,BTN1,
23,0,25,
1,BTN4,
4,0,10,
1,BTN4,
4,0,10,
1,BTN4,
4,0,100,
EOC,
GeeseLowcombo,///////////////////////R stick LEFT = FF2 - wont connect if done when super close to opponent, also no ender connection with small characters chloe/ling
1,BACK,
4,
1,FORWARD,
4,0,4,
1,FORWARD,
4,
1,BTN1,
4,0,85,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,50,
2,FORWARD,
BTN1,
4,0,10,
1,BTN3,
4,0,76,//
1,BACK,
4,0,4,//
2,FORWARD,
BTN1,
5,0,20,
1,BTN3,
4,0,95,/////
3,FORWARD,
BTN3,
BTN2,
4,0,10,///
1,BTN1,
4,0,30,
1,BTN4,
4,0,100,
EOC,
Geese2,//////////////////RS RIGHT = EWGF COMBO
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,60,
2,FORWARD,
BTN3,
4,0,60,
3,DOWN,
FORWARD,
BTN4,
4,0,60,
2,BACK,
BTN4,
4,0,10,
1,BTN1,
4,0,90,
1,FORWARD,
4,0,4,
1,FORWARD,
4,
1,FORWARD,
4,0,5,
1,FORWARD,
4,0,5,
1,FORWARD,
5,0,5,
1,DOWN,
2,
3,DOWN,
FORWARD,
BTN2,
4,0,15,
1,BTN4,
8,0,100,
EOC,
GeeseF12,///////////////////////// RS UP = UP 3+4 COMBO
1,BACK,
4,0,2,
3,UP,
FORWARD,
BTN3,
4,0,10,
1,BTN2,
4,0,120,
1,FORWARD,
4,0,5,
1,FORWARD,
4,0,15,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
3,DOWN,
FORWARD,
BTN2,
4,0,35,
1,BTN4,
70,0,30,
2,BTN4,
BTN1,
4,0,100,
EOC,
GeeseFCDF1,////////////////////////////////////RS DOWN = HELLSWEEP
1,BACK,
4,0,2,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
3,DOWN,
FORWARD,
BTN2,
4,0,35,
1,BTN2,
4,0,80,
1,BACK,
4,0,5,
2,FORWARD,
BTN1,
4,0,35,
1,BTN3,
4,0,80,
1,FORWARD,
4,0,5,
1,FORWARD,
4,0,15,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
3,DOWN,
FORWARD,
BTN2,
4,0,35,
1,BTN4,
70,0,100,
EOC,
/////////////////////////----------------------------------------------------------------------- L1 ON/OFF FOR FOUR NEW COMBOS WITH THE RS STICK--------------------//////////
Geese2MaxMid,///////////////////////// L1 on/off then RS right - OMEN TGF START RAGE DRIVE
1,BACK,
2,0,2,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,80,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,60,
2,FORWARD,
BTN1,
4,0,10,
1,BTN3,
4,0,74,
1,BACK,
4,0,5,
2,FORWARD,
BTN1,
4,0,20,
1,BTN3,
4,0,100,
1,FORWARD,
4,0,4,
1,FORWARD,
4,0,4,
1,FORWARD,
4,0,4,
2,BACK,
BTN1,
4,0,20,
3,FORWARD,
BTN1,
BTN4,
4,0,105,///
1,FORWARD,
2,0,2,
2,DOWN,
BTN2,
6,0,30,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
Geese2MaxLow,///////////////L1 on/off then RS LEFT - EWGF X 3
1,BACK,
4,0,2,
1,FORWARD,
6,0,3,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,60,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,50,
1,FORWARD,
3,0,4,
1,FORWARD,
3,0,3,
1,DOWN,
3,
3,FORWARD,
DOWN,
BTN1,
4,0,100,
EOC,
GeeseF12Max,/////////////////////////// L1 on/off then RS UP = EWGF x 2 into rage drive
1,BACK,
4,0,2,
1,FORWARD,
6,0,3,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,60,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,50,//
1,BACK,
2,0,2,
1,BTN4,
4,0,4,
2,BACK,
BTN1,
4,0,30,
3,FORWARD,
BTN1,
BTN4,
4,0,140,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
GeeseB32Max,/////////////////////////////////L1 on/off then RS DOWN - HELLSWEEP TO RAGE DRIVE
1,BACK,
4,0,2,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
3,DOWN,
FORWARD,
BTN2,
4,0,35,
1,BTN2,///
4,0,80,
1,BACK,
2,0,2,
1,BTN4,
4,0,4,
2,BACK,
BTN1,
4,0,30,
3,FORWARD,
BTN1,
BTN4,
4,0,150,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
///---------------------------------------------------------------------UNIVERSALS ALWAYS R1 --------------------------------------------------------
GeeseUniversal,//////////////R1//FF3 COMBO *on small characters use EWGF as ender
1,BACK,
2,0,2,
1,FORWARD,
7,0,5,
1,FORWARD,
4,
2,FORWARD,
BTN3,
12,0,68,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,4,
1,BTN2,
4,0,66,
1,BACK,
4,0,5,
2,FORWARD,
BTN1,
4,0,20,
1,BTN3,
4,0,100,
3,FORWARD,
BTN3,
BTN2,
4,0,10,///
1,BTN1,
4,0,30,
1,BTN4,
4,0,100,
EOC,
GeeseMaxUniversal,//R1//FF3 combo - on small characters the ender wont work - use EWGF
1,BACK,
2,0,2,
1,FORWARD,
7,0,5,
1,FORWARD,
4,
2,FORWARD,
BTN3,
12,0,68,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,4,
1,BTN2,
4,0,66,
1,BACK,
4,0,5,
2,FORWARD,
BTN1,
4,0,20,
1,BTN3,
4,0,100,
3,FORWARD,
BTN3,
BTN2,
4,0,10,///
1,BTN1,
4,0,30,
1,BTN4,
4,0,100,
EOC,
//////////////////////////////------------------------------------------------------L2+ buttons = 4 NEW COMBOS ---------------------------------------------L2+ buttons
GeeseRagingStorm,///L2 + Circle///2 EWGF COMBO
1,BACK,
4,0,2,
1,FORWARD,
6,0,3,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,60,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN1,
4,0,50,
2,BACK,
BTN4,
4,0,20,
1,BTN1,
4,0,90,///CAN FORWARD DASH TO RAGE ART
1,FORWARD,
4,0,4,
1,FORWARD,
4,0,5,
1,FORWARD,
4,0,10,
1,FORWARD,
4,0,2,
1,DOWN,
2,
3,DOWN,
FORWARD,
BTN2,
4,0,10,
3,DOWN,
FORWARD,
BTN2,
4,0,10,
1,BTN4,
4,0,100,
EOC,
GeeseHighParry,///L2 + Triangle = punch1 into RAGE DRIVE, OMEN UPPERCUT FINISH
1,BACK,
2,0,2,
1,BTN4,
4,0,4,
2,BACK,
BTN1,
4,0,30,
3,FORWARD,
BTN1,
BTN4,
4,0,140,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
GeeseMidParry,////////////////L2 + Square = OTGFX2 122DMG COMBO when in rage or wall bounce ender (83dmge) when not in rage
1,BACK,
4,0,2,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,80,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,80,
3,DOWN,
FORWARD,
BTN4,
4,0,10,
3,DOWN,
FORWARD,
BTN4,
4,0,60,
2,BACK,
BTN4,
4,0,20,
1,BTN1,
4,0,78,///
1,FORWARD,
2,0,2,
1,FORWARD,
4,0,2,
1,FORWARD,
30,
2,BACK,
BTN1,
4,0,20,
3,FORWARD,
BTN1,
BTN4,
4,0,105,///
1,FORWARD,
2,0,2,
2,DOWN,
BTN2,
6,0,30,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
GeeseLowParry,///////////////L2 + X SS 1 2 COMBO
1,BACK,
4,0,2,
1,DOWN,
10,0,20,
1,BTN1,
4,0,20,
1,BTN4,
4,0,135,///
1,FORWARD,
13,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
1,BTN2,
4,0,80,///
2,BACK,
BTN4,
4,0,5,
1,BTN1,
4,0,100,////
1,FORWARD,
4,0,4,
1,FORWARD,
4,0,5,
1,FORWARD,
4,0,10,
1,FORWARD,
4,0,2,
2,FORWARD,
BTN1,
4,0,20,
1,BTN3,
4,0,100,
EOC,
DeadlyRave, //WALL COMBO SHORT - one hellsweep into ws4 into 1+2
1,BACK,
4,0,2,
1,FORWARD,
4,0,2,
1,DOWN,
4,
3,DOWN,
FORWARD,
BTN2,
10,0,2,
1,BTN2,
4,0,40,
2,BTN1,
BTN4,
4,0,10,
2,BTN1,
BTN4,
4,0,10,
2,BTN1,
BTN4,
4,0,10,
2,BTN1,
BTN4,
5,0,100,
EOC,
//-----------------------------------------------------------------------------------------------------------LEFT STICK CONTROLS-----------------------
iWR,///LS RIGHT - iWR
1,FORWARD,
2,
0,2,
1,FORWARD,
2,
0,2,
1,FORWARD,
2,
0,50,
EOC,
KBD,//LS LEFT
1,BACK,
2,
0,2,
1,BACK,
19,
2,BACK,
DOWN,
2,
0,2,
EOC,
SidestepForeground,/////LS DOWN = DB1,WS1 into OMEN TGF
1,BACK,
4,0,2,
3,DOWN,
BACK,
BTN1,
20,0,40,
1,DOWN,
15,
0,5,
1,BTN4,
10,0,70,
1,FORWARD,
8,
1,FORWARD,
4,0,2,
3,DOWN,
FORWARD,
BTN4,
5,0,100,
EOC,
SidestepBackground,///LS up - Wavedash
1,FORWARD,
2,0,2,
1,DOWN,
2,
2,DOWN,
FORWARD,
2,
1,FORWARD,
2,0,13,
EOC,
EOD );
int i = -1, b, v;
int back = LEFT, forward = RIGHT;
int button_1, button_2, button_3, button_4, button_5;
int wait_time;
int switch;
int delay_t;
int RUMBLE_TYPE=RUMBLE_A;
int cancel;
int EndOfCombo;
int CanStart;
int SWITCH;
int MaxMode;
main {
// Determine Back and Forward
if(get_val(PS4_L3)) {
back = LEFT; forward = RIGHT;
} else if(get_val(PS4_R3)) {
back = RIGHT; forward = LEFT;
}//----------------------------------------------
// Determine Back and Forward for Combos
if(get_val(PS4_L3)) {
SWITCH = TRUE;
} else if(get_val(PS4_R3)) {
SWITCH = FALSE;
}
if(event_press(PS4_L1)){
MaxMode = !MaxMode;
}
// If there is a combo to be executed
if(i >= 0 && delay_t<=0) {
// Execute the combo step-by-step
if(!combo_running(execute_step)) {
if(get_step_values()) {
if(wait_time == 0) {
combo_run(execute_step_no_wait);
} else {
combo_run(execute_step);
}
} else { // the combo finished
i = -1;
}
}
if(cancel==1){
if ( (abs(get_val (9)) <= 20 && abs(get_val (10)) <= 20) && (abs(get_val (11)) <= 20 && abs(get_val (12)) <= 20) ) {
i = -1;
combo_stop(execute_step);
}
}else if(cancel==2){
if (!get_val(PS4_L1) && !get_val(PS4_L2) && !get_val(PS4_R1) && !get_val(PS4_R2) ) {
i = -1;
combo_stop(execute_step);
}
}
// Make sure the user inputs does not interfere in the combo
set_val(BTN1 , 0);
set_val(BTN2 , 0);
set_val(BTN3 , 0);
set_val(BTN4 , 0);
set_val(BTN5 , 0);
set_val(BTN6 , 0);
set_val(BTN7 , 0);
set_val(BTN8 , 0);
set_val(UP , 0);
set_val(DOWN , 0);
set_val(LEFT , 0);
set_val(RIGHT , 0);
set_val(MOVE_X , 0);
set_val(MOVE_Y , 0);
// if no combo execute - look for combo activation
} else {
// EDIT THIS PART OF SCRIPT for combo run ---------------------------
//////////////////////////////////////////////////////////////////////////
if(SWITCH) {
// Left Stick LEFT
if (get_val (11) <= -80) { //combo KoreanBackdash
cancel=1;
i = get_combo_index(KBD);
}
// Left Stick RIGHT
if (get_val (11) >= 80) { //combo iWR
cancel=1;
i = get_combo_index(iWR);
}
}else if(!SWITCH) { // Left Stick LEFT
if (get_val (11) > 80) { //combo KoreanBackdash
cancel=1;
i = get_combo_index(KBD);
}
// Left Stick RIGHT
if (get_val (11) < -80) { //combo iWR
cancel=1;
i = get_combo_index(iWR);
}
}// Left Stick UP
if (get_val (12) <= -80) { //combo SidestepBackground
cancel=1;
i = get_combo_index(SidestepBackground);
}
// Left Stick DOWN
if (get_val (12) >= 80) { //combo SidestepForeground
cancel=1;
i = get_combo_index(SidestepForeground);
}
if(!MaxMode) {
// Right Stick RIGHT
if (get_val (9) >= 80) { //combo Geese2
cancel=1;
i = get_combo_index(Geese2);
}
// Right Stick LEFT
if (get_val (9) <= -80) { //combo Geese jumping 4
cancel=1;
i = get_combo_index(GeeseLowcombo);
}
// Right Stick UP
if (get_val (10) <= -80) { //combo Geese f+1+2
cancel=1;
i = get_combo_index(GeeseF12);
}
// Right Stick DOWN
if (get_val (10) >= 80) { //combo Geese FC d/f+1
cancel=1;
i = get_combo_index(GeeseFCDF1);
}
}
else if(MaxMode) {
// Right Stick RIGHT
if (get_val (9) >= 80) { //combo Geese2MaxMid
cancel=1;
i = get_combo_index(Geese2MaxMid);
}
// Right Stick LEFT
if (get_val (9) <= -80) { //combo Geese 2 MaxLow
cancel=1;
i = get_combo_index(Geese2MaxLow);
}
// Right Stick UP
if (get_val (10) <= -80) { //combo Geese f+1+2 MAX
cancel=1;
i = get_combo_index(GeeseF12Max);
}
// Right Stick DOWN
if (get_val (10) >= 80) { //combo Geese b+3,2 MAX
cancel=1;
i = get_combo_index(GeeseB32Max);
}
}
// Press R1
if (get_val (PS4_R1)) {
cancel=2;
i = get_combo_index(GeeseUniversal);
}
// Press R2
if (get_val (PS4_R2)) { //combo Deadly Rave
cancel=2;
i = get_combo_index(DeadlyRave);
}
// Press L2
if (get_val (PS4_L2)) {
set_val(PS4_TRIANGLE,0);
cancel=2;
if(get_lval(PS4_TRIANGLE)) i = get_combo_index(GeeseHighParry);
}
// Press L2
if (get_val (PS4_L2)) {
set_val(PS4_SQUARE,0);
cancel=2;
if(get_lval(PS4_SQUARE)) i = get_combo_index(GeeseMidParry);
}
// Press L2
if (get_val (PS4_L2)) {
set_val(PS4_CROSS,0);
cancel=2;
if(get_lval(PS4_CROSS)) i = get_combo_index(GeeseLowParry);
}
// Press L2
if (get_val (PS4_L2)) {
set_val(PS4_CIRCLE,0);
cancel=2;
if(get_lval(PS4_CIRCLE)) i = get_combo_index(GeeseRagingStorm);
}
// Press L2/R1
if (get_val (PS4_L2)) {
set_val(PS4_R1,0);
cancel=2;
if(get_lval(PS4_R1)) i = get_combo_index(GeeseLowcombo);
}
// TOUCH PAD
if (get_val (PS4_TOUCH)) { //1,1,db2,3
cancel=2;
i = get_combo_index(Touch);
}
}// <combo activation> end
}//<main> block end
// This combo will run a step with wait
combo execute_step {
set_buttons_values();
wait(wait_time);
set_buttons_values();
}
// This combo will run a step without wait
combo execute_step_no_wait {
set_buttons_values();
}
combo RUMBLE_NOTIFICATION {
set_rumble(RUMBLE_TYPE, 100);
wait(300);
reset_rumble ();
}
// Returns the starting index of a combo
function get_combo_index(combo_id) {
i = 0;
while(TRUE) {//-----------------------
v = dbyte(i);
if(v == combo_id) {
return(i + 1);
} else {//====================
while(v != EOC && v != EOD) {//#
i = i + 1;
v = dbyte(i);
}//#
if(v == EOD) break;
else i = i + 1;
}//=============================
}//-----------------------------------
return(-1);
}
// Set the buttons, values and wait time of a step
function get_step_values() {
b = dbyte(i); i = i + 1;
if(b > 5) return(FALSE);
if(b >= 1) {
button_1 = convert_back_forward(dbyte(i)); i = i + 1;
} else { button_1 = -1; }
if(b >= 2) {
button_2 = convert_back_forward(dbyte(i)); i = i + 1;
} else { button_2 = -1; }
if(b >= 3) {
button_3 = convert_back_forward(dbyte(i)); i = i + 1;
} else { button_3 = -1; }
if(b >= 4) {
button_4 = convert_back_forward(dbyte(i)); i = i + 1;
} else { button_4 = -1; }
if(b >= 5) {
button_5 = convert_back_forward(dbyte(i)); i = i + 1;
} else { button_5 = -1; }
wait_time = dbyte(i); i = i + 1;
wait_time = (wait_time - 1) * 10;
if(wait_time < 0) wait_time = 0;
return(TRUE);
}
// If the step has FORWARD and BACK buttons, set the correct value.
function convert_back_forward(button) {
if(button == FORWARD) {
return(forward);
} else if(button == BACK) {
return(back);
}
return(button);
}
// Set the buttons and values, function used on the combos.
function set_buttons_values() {
if(button_1 != -1) set_val(button_1, 100);
if(button_2 != -1) set_val(button_2, 100);
if(button_3 != -1) set_val(button_3, 100);
if(button_4 != -1) set_val(button_4, 100);
if(button_5 != -1) set_val(button_5, 100);
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: Can this be adapted to titan one 1?
thanks I worked the first one but the second one did not put it on me
-
Gerarkimux - Sergeant First Class
- Posts: 18
- Joined: Sun Jul 24, 2016 4:07 pm
Re: Can this be adapted to titan one 1?
The second one is not a complete script. It seems to be just a combo sequence copied from the the data segment.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 203 guests