//!!!!!PLEASE READ THE FOLLOWING VERY CAREFULLY BEFORE ATTEMPTING TO CHANGE ANYTHING!!!!!
//!!!!!MUST SWITCH YOUR BUTTON LAYOUT IN GAME TO TATICAL!! IF YOU DONT THIS WILL NOT WORK RIGHT!!!!!
//!!!!!MUST SWITCH YOUR BUTTON LAYOUT IN GAME TO TATICAL!! IF YOU DONT THIS WILL NOT WORK RIGHT!!!!!
//!!!!!MUST SWITCH YOUR BUTTON LAYOUT IN GAME TO TATICAL!! IF YOU DONT THIS WILL NOT WORK RIGHT!!!!!
//--------------------------------------------------------------
// ADS SENS++, ANTI RECOIL(SCOPED IN ONLY), RAPID FIRE(NO JAM), FAST RELOAD(WORKING), BUTTONS REMAPED FOR EASY USE IN "PARTY GAMES" & OTHER GAME MODES
//--------------------------------------------------------------
//*** DESCRIPTIONS - INSTRUCTIONS ***
//***********************************
// Hold SELECT-V V V V V V V V V V(V = GO TO NEXT STEP =p)
// Then HOLD "X" or "SQUARE" while reloading to set your weapon
// Keep BOTH buttons HELD
// Watch your ammo fill up, then RELEASE both buttons(I FIND X OR CORSS WORKS BEST)
// You have now calibrated your weapon
// Tap your reload button and every reload will be perfect.. depending on your reaction time that is
/*********************************************************************
* SPECIAL THANKS TO LEX, TOKEN, GL0ZZ3N AND ALL OTHER CODE *
* + MANIPUL WRITERS, WITHOUT YOU I COULD NOT HAVE DONE THIS! *
* *
* Author: KNIIGHTMAARE *
* System: PS3 BUT EASY CONVERT *
* Controller: PS3 BUT EASY CONVERT *
* GAME: COD series- Black Ops2 series *
* *
**********************************************************************/
//--------------------------------------------------------------
remap PS3_TRIANGLE -> PS3_TRIANGLE; //DONT CHANGE
remap PS3_SQUARE -> PS3_SQUARE; //DONT CHANGE
remap PS3_R1 -> PS3_R1; //DONT CHANGE
remap PS3_L2 -> PS3_R2; //MAKES L2 ACT LIKE R2
unmap PS3_L2; //DONT CHANGE
remap PS3_R2 -> PS3_CIRCLE; //MAKES R2 ACT LIKE CIRCLE
remap PS3_CIRCLE -> PS3_L2; //MAKES CIRCLE ACT L2
unmap 1; //NEEDED TO ACTIVATE RELOAD CALIBRATION
//--------------------------------------------------------------
define SENSITIVITY_INCREASE_BY=10; //This is the amount you want to add to your primary sens, while ADS.
define fire_button = 3;
define ANTI_RECOIL=5; //change this value to compensate to the vertical recoil
define ANTI_RECOIL_LEFT=2; //change this value to compensate to the left
define ANTI_RECOIL_RIGHT=2; //change this value to compensate to the right
define ONLY_WITH_SCOPE=TRUE; //Use Anti-recoil only when scoping
//--------------------------------------------------------------
int FIRE_BUTTON;
int scope_button;
int reloadtime;
int PVAR;
int check = TRUE;
int RATE_OF_FIRE = 220; //ADJUST THIS HOW YOU WANT- 1 being SLOWEST and 200+(210,220,222,231....ECT....) being FASTEST gun jams around 250
int MyRate = 0;
int MyBit;
int MyResult;
int hold_time;
int rest_time;
int anti_recoil;
int anti_recoil_left;
int anti_recoil_right;
//--------------------------------------------------------------
init {
if(get_console() == PIO_PS3) {
FIRE_BUTTON = 3; //3 = R1
scope_button = 6;} //6 = L1
else { // Natural Trigger & Bumper
FIRE_BUTTON = 4; //4 = R2
scope_button = 7;} //7 = L2
PVAR = get_pvar(SPVAR_1, 0, 4000, 4000);
}
//--------------------------------------------------------------
main {
if(get_val(scope_button)){
sensitivity(9, NOT_USE, 100 + SENSITIVITY_INCREASE_BY);
sensitivity(10, NOT_USE, 100 + SENSITIVITY_INCREASE_BY);}
if (get_val(1) &&(get_val(20))) combo_run(getreloadtime) combo_run(setpvar);
if (get_val(20) && (get_val(1) < 100)) combo_run(quickreload);
else if (combo_running(getreloadtime)){ combo_stop(quickreload);}
set_bits(MyBit, 0, 15, 255*257);
MyResult = (MyBit - ((1500*10)+536))*-1;
hold_time = MyResult / RATE_OF_FIRE;
rest_time = hold_time - 20;
if(rest_time < 0) rest_time = 0;
MyRate = MyRate - get_rtime()*2;
if(event_press(fire_button)) {set_val(fire_button, 100); check = TRUE; MyRate = hold_time;}
else if(get_val(fire_button) && check) {set_val(fire_button, 100);}
else if(!check) {set_val(fire_button, 0);}
if(!get_val(fire_button) && MyRate<=0 && check == FALSE) {MyRate = hold_time; check =TRUE;}
if(MyRate<=0 && check == TRUE) {MyRate = rest_time; check =FALSE;}
if(!ONLY_WITH_SCOPE || get_val(scope_button)) {combo_run(AntiRecoil);}
}
//--------------------------------------------------------------
combo getreloadtime {reloadtime = get_ptime(20);}
combo setpvar {set_pvar(PVAR_1, (reloadtime));}
combo quickreload {
wait (PVAR);
set_val(17,100);
wait(20);
//
wait(20);
set_val(17,100);
wait(20);
//
}
//Antirecoil This combo must be the last one
combo AntiRecoil {
if(get_val(fire_button)) {
anti_recoil = get_val(10) + ANTI_RECOIL;
if(anti_recoil > 100) anti_recoil = 100;
set_val(10, anti_recoil);
anti_recoil_left = get_val(9) -ANTI_RECOIL_LEFT;
if(anti_recoil_left > 100) anti_recoil_left = 100;
set_val(9, anti_recoil_left);
anti_recoil_right = get_val(9) +ANTI_RECOIL_RIGHT;
if(anti_recoil_right > 100) anti_recoil_right = 100;
set_val(9, anti_recoil_right);}
}