Battlefield 4: Special Tactics

Titan One general support. Questions, firmware update, feature request.

Battlefield 4: Special Tactics

Postby kngthomas » Wed Jan 06, 2016 11:39 pm

Just a request/comment. The BF4 Special Tactics gamepack is awesome. Is it possible to add Left/Right Anti-Recoil also? :innocent_smile_1:
User avatar
kngthomas
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Apr 06, 2015 7:31 pm

Re: Battlefield 4: Special Tactics

Postby J2Kbr » Thu Jan 07, 2016 8:43 am

thank you for you feedback... it may be possible. have you used any script with left/right anti-recoil that worked good for BF4?
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Battlefield 4: Special Tactics

Postby kngthomas » Thu Jan 07, 2016 3:17 pm

BF4 - RapidFire On/Off LED | AutoRun | AutoSpot On/Off LED | AutoBreath | Anti-Recoil by HardcoreGamer in the GPC Library seems to work pretty well. If you could add the Left/Right anti-recoil portion only to the Battlefield 4: Special Tactics Gamepack it would be awesome. As of now, when you activate the anti-recoil on the Special Tactics Gamepack most of the weapons pull to the left pretty severe. If you could add another anti-recoil option for left or right to add to the anti-recoil up/down, then you could use both to keep the rifle steady while performing automatic fire. Thanks for the help!!!! :joia:
User avatar
kngthomas
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Apr 06, 2015 7:31 pm

Re: Battlefield 4: Special Tactics

Postby J2Kbr » Thu Jan 07, 2016 5:23 pm

Got it, thanks for the input... Please allow me until next week for that. Right now I am in a little vacation, I will be back to my office on Jan 11th. Thanks.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Battlefield 4: Special Tactics

Postby kngthomas » Thu Jan 07, 2016 8:33 pm

Thanks. Can't wait to try it out!!
User avatar
kngthomas
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Apr 06, 2015 7:31 pm

Re: Battlefield 4: Special Tactics

Postby J2Kbr » Tue Jan 12, 2016 1:45 pm

Houston, we have a problem ...

------ GPC: Build started ------
> 1: 000018_bf4st.gpc : C:\\Gtuner\scripts\GamePacks\000018_bf4st.gpc
> Bytecode size: 4090 bytes (99.9%)
> Stack memory: 68 words (60.7%)
Build succeeded with 0 warnings...

As you can see the Game Pack is maxed out. :( no room to add more code. We could remove the "Menu System" to make space ... the down side is not more possible configure the gamepack using the controller.

Or we could make a custom script based on the HardcoreGamer's Anti-Recoil script for you.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Battlefield 4: Special Tactics

Postby kngthomas » Tue Jan 12, 2016 2:59 pm

For me the Menu System is not used so that would be okay. I have a laptop that I hook up, change the settings, and save. The custom script would be okay too. Which ever is easiest for you.......i'm not picky! I just like the Gamepacks you create/they seem to run a little smoother than created GPC files to me.
User avatar
kngthomas
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Apr 06, 2015 7:31 pm

Re: Battlefield 4: Special Tactics

Postby J2Kbr » Wed Jan 13, 2016 12:25 pm

Alright, lets do this then. Please let me know the MODs you have enabled from the gamepack, I then make a script based on the gamepack code and, after that, we incorporate the left-right anti recoil to the gamepack anti-recoil code. :)
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Battlefield 4: Special Tactics

Postby kngthomas » Wed Jan 13, 2016 3:08 pm

The only modes I use are the rapid fires(Primary/Secondary), autospot, and ant-recoil.
User avatar
kngthomas
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Apr 06, 2015 7:31 pm

Re: Battlefield 4: Special Tactics

Postby J2Kbr » Wed Jan 13, 2016 4:06 pm

Cool... this is a script totally based on the Gamepack, couldn't test. Let me know how it worked ... being everything good we work to improve the anti-recoil code.

Code: Select all
// -----------------------------------------------------------------------------
//  YOU CAN CUSTOMIZE THIS SCRIPT CHANGING THE FOLLOWING DEFINE VALUES
// -----------------------------------------------------------------------------

// BUTTON LAYOUT
// Make the same as you have configurared on the game
define FIRE_BUTTON              = PS4_R2;
define SCOPE_BUTTON             = PS4_L2;
define SPOT_BUTTON              = PS4_R1;

// RAPIDFIRE
define RAPIDFIRE_ENABLED        = TRUE;     // TRUE or FALSE
define RAPIDFIRE_HOLDTIME       = 40;       // Hold time in ms
define RAPIDFIRE_RELEASETIME    = 30;       // Release time in ms

// RAPIDFIRE MODE (excluse option, just enable one at time)
define MODE_SCOPE_ENABLE        = TRUE;     // TRUE or FALSE
define MODE_SCOPE_DISABLE       = FALSE;    // TRUE or FALSE
define MODE_PRESS_SENSITIVY     = FALSE;    // TRUE or FALSE

// SECONDARY RAPIDFIRE
define SRAPIDFIRE_ENABLED       = TRUE;     // TRUE or FALSE
define SRAPIDFIRE_HOLDTIME      = 40;       // Hold time in ms
define SRAPIDFIRE_RELEASETIME   = 30;       // Release time in ms

// AUTO SPOT
define AUTOSPOT_ENABLED         = TRUE;     // TRUE or FALSE
define AUTOSPOT_SCOPEONLY       = TRUE;     // TRUE or FALSE
define AUTOSPOT_TIME            = 980;      // Cicle time in ms

// ANTI RECOIL
define ANTIRECOIL_ENABLED       = TRUE;     // TRUE or FALSE
define ANTIRECOIL_SCOPEONLY     = TRUE;     // TRUE or FALSE
define ANTIRECOIL_FORCE         = 35;       // Anti recoil force: from 0 to 100

// -----------------------------------------------------------------------------
//  NO CHANGES ARE NEEDED FROM HERE
// -----------------------------------------------------------------------------

int modz_activated = TRUE;
int cFire_right, cFire_press, cFire_release;
int ar_tmp;

main {
    if(get_val(PS4_L3) && event_press(PS4_CROSS)) {
        modz_activated = !modz_activated;
    }
    if(modz_activated) {
        // AUTO SPOT
        if(AUTOSPOT_ENABLED) {
            if(!AUTOSPOT_SCOPEONLY || get_val(SCOPE_BUTTON)) {
                combo_run(AutoSpot);
            }
        }
        // ANTI-RECOIL
        if(ANTIRECOIL_ENABLED && get_val(FIRE_BUTTON)) {
            if(!ANTIRECOIL_SCOPEONLY || get_val(SCOPE_BUTTON)) {
                combo_run(AntiRecoil);
            }
        }
        // FIREMODES
        if(!(MODE_SCOPE_ENABLE + MODE_SCOPE_DISABLE + MODE_PRESS_SENSITIVY)
        || MODE_SCOPE_ENABLE && get_val(SCOPE_BUTTON)
        || MODE_SCOPE_DISABLE && get_val(SCOPE_BUTTON)
        || MODE_PRESS_SENSITIVY && get_val(FIRE_BUTTON) == 100) {
            if(get_val(FIRE_BUTTON)) {
                if(!cFire_right) {
                    combo_stop(Fire);
                    cFire_right = TRUE;
                }
            } else if(cFire_right) {
                combo_stop(Fire);
                cFire_right = FALSE;
            }
        } else if(cFire_right) {
            combo_stop(Fire);
            cFire_right = FALSE;
        }
        if(cFire_right) {
            // RAPIDFIRE
            if(RAPIDFIRE_ENABLED) {
                cFire_press = RAPIDFIRE_HOLDTIME;
                cFire_release = RAPIDFIRE_RELEASETIME;
                combo_run(Fire);
            }
        } else if(SRAPIDFIRE_ENABLED) { // SECONDARY RAPID FIRE
            if(get_val(FIRE_BUTTON)) {
                cFire_press = SRAPIDFIRE_HOLDTIME;
                cFire_release = SRAPIDFIRE_RELEASETIME;
                combo_run(Fire);
            }
        }
    }
}

combo Fire {
    set_val(FIRE_BUTTON, 100);
    wait(cFire_press);
    set_val(FIRE_BUTTON, 0);
    wait(cFire_release);
    set_val(FIRE_BUTTON, 0);
}

combo AutoSpot {
    set_val(SPOT_BUTTON, 100);
    wait(40); wait(AUTOSPOT_TIME);
}

combo AntiRecoil {
    ar_tmp = get_val(PS4_RY) + ANTIRECOIL_FORCE;
    if(ar_tmp > 100) ar_tmp = 100;
    else if(ar_tmp < -100) ar_tmp = -100;
    set_val(PS4_RY, ar_tmp);
}

ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Next

Return to Titan One Device

Who is online

Users browsing this forum: No registered users and 68 guests