PS4 Bf4 Meine Aufklärer Einstellung

1. Tasten Share, Touchpad, R3 aus. 2. Taste PS Messern 3. Auto markieren wenn R1 betätigt wird. 4. Auto blenden 5. Auto Dauerfeuer 6. Auto Luft anhalten
Version1
Authortinahady
Publish DateSat, 3 May 2014 - 15:07
Last UpdateSat, 3 May 2014 - 15:07
Downloads90
RATE


0

0

Code: Select all
// GPC Online Library
// Geklaut von Hady
// PS4_Bf4_Meine_Aufkl�rer_Einstellung.gpc
unmap PS4_PS;
unmap PS4_SHARE;
remap PS4_PS -> PS4_R3;
unmap PS4_TOUCH;
int PADUP = 13; // 13 is dpad up. You don't need to use numbers e.g(XB360_A) will work
int RIGHTTRIGGER =4; // 4 is right trigger or R2. You don't need to use numbers e.g(PS4_TRIANGLE) will work
define SPOT = 900 ; // auto-spot modifier
define SPOT_BUTTON = 3; // tap SPOTBUTTON 1 TIME to turn on/off "AutoSpot" or hold down the SPOTBUTTON to Commo rose
define FIRE_BUTTON=4;
define RATE_OF_FIRE1 = 20// Range: 1 to 25 RPS (Round/s)
// VARIABLES
// ---------------------------------------------------------
int autospot = FALSE;
int hold_time1, rest_time1;
int fire_button;
// INITIALIZATION
// ---------------------------------------------------------
init {
    if(get_console() == PIO_PS3) { // PS3 Trigger & Bumper
       fire_button = 3;
      } else { // Natural Trigger & Bumper
       fire_button = 4;
             }
      hold_time1 = 500 / RATE_OF_FIRE1;
      rest_time1 = hold_time1 - 20;
      if(rest_time1 < 0) rest_time1 = 0;
}
// MAIN PROCEDURE
// ---------------------------------------------------------
main {
    if(get_val(PS4_R1)) set_val(PS4_R1, 100);
    if(get_val(PS4_R2)) set_val(PS4_R2, 100);
    sensitivity(PS4_PS, NOT_USE, 1);
    if(get_val(PS4_L1)) set_val(PS4_L1, 100);
    if(get_val(PS4_L2)) set_val(PS4_L2, 100);
    if(get_val(PS4_TRIANGLE)) set_val(PS4_TRIANGLE, 100);
    if(get_val(PS4_CIRCLE)) set_val(PS4_CIRCLE, 100);
    if(get_val(PS4_CROSS)) set_val(PS4_CROSS, 100);
    if(get_val(PS4_SQUARE)) set_val(PS4_SQUARE, 100)
    if(event_press(RIGHTTRIGGER) || event_release(RIGHTTRIGGER))  combo_run(LASER); // if TRUE execute combo LASER
set_led(LED_4, 1);
// AUTOSPOT
if(event_release(SPOT_BUTTON) && get_ptime(SPOT_BUTTON) < 1000) autospot = !autospot;
if ((autospot && !get_val(SPOT_BUTTON)) && (SPOT > 0 )) combo_run(AutoSpot);
block(SPOT_BUTTON,1000);
   if(get_val(fire_button))combo_run(RapidFire);
   else if (combo_running(RapidFire))combo_stop(RapidFire);
}
// COMBOS
// ---------------------------------------------------------
combo LASER { // This combo toggles the flashlight
    set_val(PADUP, 100)
    wait(40);
    set_val(PADUP, 0)
}
//Autospot
combo AutoSpot {
set_val(SPOT_BUTTON, 100);
wait(50);
set_val(SPOT_BUTTON, 0);
wait(SPOT);
}
// Rapid Fire
combo RapidFire {
    set_val(fire_button, 100);
    wait(hold_time1);
    set_val(fire_button, 0);
    wait(rest_time1);
    set_val(fire_button, 0);
    }\0