Battlefield 4: Special Tactics

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

Re: Battlefield 4: Special Tactics

Postby kngthomas » Thu Jan 14, 2016 1:46 am

That worked great......thx for the help!! :smile0202:
User avatar
kngthomas
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Apr 06, 2015 7:31 pm

Re: Battlefield 4: Special Tactics

Postby oezil10 » Thu Jan 14, 2016 9:12 am

Hi J2Kbr,

to achieve option optimized rapidfire from gamepack, how should I set following parameters?

define RAPIDFIRE_HOLDTIME = 40; // Hold time in ms
define RAPIDFIRE_RELEASETIME = 30; // Release time in ms

Br,
Oezil
oezil10
Sergeant First Class
Sergeant First Class
 
Posts: 23
Joined: Mon Oct 12, 2015 5:28 am

Re: Battlefield 4: Special Tactics

Postby J2Kbr » Thu Jan 14, 2016 10:24 am

@ oezil10 the 40 and 30 are the values used on optimized rapidfire.
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 J2Kbr » Thu Jan 14, 2016 10:32 am

kngthomas wrote:That worked great......thx for the help!! :smile0202:

Thanks for the feedback ... now the same script, but with the HardcoreGamer's 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 (vertical): from 0 to 100
define ANTIRECOIL_LEFT          = 0;        // Anti recoil force (left): from 0 to 100
define ANTIRECOIL_RIGHT         = 0;        // Anti recoil force (right): from 0 to 100

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

int modz_activated = TRUE;
int cFire_right, cFire_press, cFire_release;
int anti_recoil, anti_recoil_left, anti_recoil_right;

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 {
    anti_recoil = get_val(PS4_RY) + ANTIRECOIL_FORCE;
    if(anti_recoil > 100) anti_recoil = 100;
    else if(anti_recoil < -100) anti_recoil = -100;
    set_val(PS4_RY, anti_recoil);
}
*/

combo AntiRecoil {
    if(get_val(FIRE_BUTTON)) {
        anti_recoil = get_val(10) + ANTIRECOIL_FORCE;
        if(anti_recoil > 100) anti_recoil = 100;
        set_val(10, anti_recoil);
        anti_recoil_left = get_val(9) -ANTIRECOIL_LEFT;
        if(anti_recoil_left > 100) anti_recoil_left = 100;
        set_val(9, anti_recoil_left);
        anti_recoil_right = get_val(9) +ANTIRECOIL_RIGHT;
        if(anti_recoil_right > 100) anti_recoil_right = 100;
        set_val(9, anti_recoil_right);
    }
}
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 oezil10 » Thu Jan 14, 2016 5:48 pm

Many thanks J2Kbr for your great effort here!

I'd love if you also could add here easy sprint: fully auto from Battlefield 4: Special Tactics gamepack. I'd try to do it by myself but I'm struggling to find the orginal code for this mode.

At other hand I've got a quick question because I was testing this script (loaded by maxaim DI plugin function) however for some reason from time to time it seems that the script it is automatically unloaded during the single round of BF match!? I see this because the anti recoil stops working, after a while it's working again, do you know what could be a reason here?

After manual reload script is working again for some time then it stops.

script issue ? (I used also you original antirecoil combo with the same result)
connection issue ? (mouse works without any delays)

I've never had such a problem using the standard gamepacks :(

thanks in advance for your feedback here!

Br,
oezil
oezil10
Sergeant First Class
Sergeant First Class
 
Posts: 23
Joined: Mon Oct 12, 2015 5:28 am

Re: Battlefield 4: Special Tactics

Postby J2Kbr » Fri Jan 15, 2016 10:44 am

oezil10 wrote:Many thanks J2Kbr for your great effort here!

You are welcome!! :)

oezil10 wrote:I'd love if you also could add here easy sprint: fully auto from Battlefield 4: Special Tactics gamepack. I'd try to do it by myself but I'm struggling to find the orginal code for this mode.

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;
define SPRINT_BUTTON            = PS4_L3;

// 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

// EASY SPRINT
define EASYSPRINT_ENABLED       = TRUE;     // TRUE or FALSE

// ANTI RECOIL
define ANTIRECOIL_ENABLED       = TRUE;     // TRUE or FALSE
define ANTIRECOIL_SCOPEONLY     = TRUE;     // TRUE or FALSE
define ANTIRECOIL_FORCE         = 35;       // Anti recoil force (vertical): from 0 to 100
define ANTIRECOIL_LEFT          = 0;        // Anti recoil force (left): from 0 to 100
define ANTIRECOIL_RIGHT         = 0;        // Anti recoil force (right): from 0 to 100

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

int modz_activated = TRUE;
int cFire_right, cFire_press, cFire_release;
int anti_recoil, anti_recoil_left, anti_recoil_right;

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);
            }
        }
        // EASY SPRINT
        if(EASYSPRINT_ENABLED && !get_val(SCOPE_BUTTON)) {
            if(get_val(PS4_LY) <= -35) {
                combo_run(EasySprint);
            }
        }
        // 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 EasySprint {
    set_val(SPRINT_BUTTON, 100);
    wait(100); wait(100);
}

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

combo AntiRecoil {
    if(get_val(FIRE_BUTTON)) {
        anti_recoil = get_val(10) + ANTIRECOIL_FORCE;
        if(anti_recoil > 100) anti_recoil = 100;
        set_val(10, anti_recoil);
        anti_recoil_left = get_val(9) -ANTIRECOIL_LEFT;
        if(anti_recoil_left > 100) anti_recoil_left = 100;
        set_val(9, anti_recoil_left);
        anti_recoil_right = get_val(9) +ANTIRECOIL_RIGHT;
        if(anti_recoil_right > 100) anti_recoil_right = 100;
        set_val(9, anti_recoil_right);
    }
}


oezil10 wrote:At other hand I've got a quick question because I was testing this script (loaded by maxaim DI plugin function) however for some reason from time to time it seems that the script it is automatically unloaded during the single round of BF match!? I see this because the anti recoil stops working, after a while it's working again, do you know what could be a reason here?

The script have a on/off toggle, activated with the button combination L3 + CROSS, perhaps you are hitting this button combination and disabling the MODs?
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 oezil10 » Sat Jan 16, 2016 10:06 am

J2Kbr wrote:The script have a on/off toggle, activated with the button combination L3 + CROSS, perhaps you are hitting this button combination and disabling the MODs?


Bullseye! I feel so blind right now :oops: That's exactly the point!

Many thanks for updating script with easy sprint as well!
oezil10
Sergeant First Class
Sergeant First Class
 
Posts: 23
Joined: Mon Oct 12, 2015 5:28 am

Re: Battlefield 4: Special Tactics

Postby J2Kbr » Sat Jan 16, 2016 1:28 pm

You are welcome!! :)
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 dak1dd » Tue Jan 19, 2016 11:57 pm

Hey,

I'm fairly new to this and I have gotten most of the features working pretty well with this pack other than one thing and was wondering if I could get a little help.

When I set the adjust rapidfire to a specific parameter it works fine if I have any burst over 1 shot. The speed and everything is perfectly fine. Now if I have my rifle to single shot or am using a dmr it shoots a million shots per second and not at my parameter I have set.

Am I missing something to get the single shot at my set parameter?
User avatar
dak1dd
Corporal
Corporal
 
Posts: 5
Joined: Tue Jan 19, 2016 11:52 pm

Re: Battlefield 4: Special Tactics

Postby AKHUGHES90 » Wed Jan 20, 2016 12:43 am

dak1dd wrote:Hey,

I'm fairly new to this and I have gotten most of the features working pretty well with this pack other than one thing and was wondering if I could get a little help.

When I set the adjust rapidfire to a specific parameter it works fine if I have any burst over 1 shot. The speed and everything is perfectly fine. Now if I have my rifle to single shot or am using a dmr it shoots a million shots per second and not at my parameter I have set.

Am I missing something to get the single shot at my set parameter?


What is the parameter you are using? the parameter operates in milliseconds(how many milliseconds per press). 1000ms = 1 second.
Image
"We always start with completing the difficult. It just takes us a little longer to do the impossible."
Console Tuner Support Team®
User avatar
AKHUGHES90
Major
Major
 
Posts: 927
Joined: Mon Nov 24, 2014 12:19 am
Location: Springfield, IL USA CST (-6:00)

PreviousNext

Return to Titan One Device

Who is online

Users browsing this forum: cpacebr and 82 guests