Slowing down the advanced rapid fire for M1 grand COD ww2

GPC2 script programming for Titan Two. Code examples, questions, requests.

Slowing down the advanced rapid fire for M1 grand COD ww2

Postby Mavman82 » Sun Nov 19, 2017 12:27 am

Hey guys,

I am using both the Infinite Warfare and WW2 gamepacks for COD ww2 for the TITAN 2. Both seem to work fine.

As most of you know, the M1 has some pretty dirty recoil (even with using an anti recoil around 20 to 30 depending).

I am playing around with the advanced rapid fire option, as I want to really slow down the rate of fire but cant seem to have any effect. Basically I want to fire about a shot per second (maybe slightly quicker). But slow enough to let the gun settle bak on target. Any thoughts on what my hold and release values should be?

Like I said, ive played around with values (my last were 60 and 20) but it doesn't seem to do anything different.

Any help you can provide would be great.

Thanks,
User avatar
Mavman82
Sergeant First Class
Sergeant First Class
 
Posts: 17
Joined: Thu Nov 16, 2017 10:34 pm

Re: Slowing down the advanced rapid fire for M1 grand COD ww

Postby bonefisher » Sun Nov 19, 2017 2:11 am

Code: Select all
 
bool fire_toggle;
 
main {
    // Hold fire slow for M1 Garand then release and pull again
    // quick to fire fast as it can for close battle.
    if(event_active(BUTTON_5) && time_release(BUTTON_5) < 250) {
    if(fire_toggle == 0) {
        fire_toggle = 1;
    }else if(fire_toggle == 1) {
        fire_toggle = 0;
    }
    }
    if(fire_toggle == 0) {
    if(get_actual(BUTTON_5)) combo_run(rapid_fire);
    }
    if(fire_toggle == 1) {
    if(get_actual(BUTTON_5)) combo_run(fast_rapid_fire);
    }
}
 
combo rapid_fire
{
    set_val(BUTTON_5, 100.0);
    wait(200);
    set_val(BUTTON_5,   0.0);
    wait(200);
    set_val(BUTTON_5,   0.0);
}
combo fast_rapid_fire
{
    set_val(BUTTON_5, 100.0);
    wait(100);
    set_val(BUTTON_5,   0.0);
    wait(100);
    set_val(BUTTON_5,   0.0);
}
 

Two speed fire for the M1 Garand..... Fire slow then release fast and pull again for fast fire. If your wondering what the rates are download my MODzPACK for the game and open interactive configuration and click weapon rpm setting to all the rpm's.
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Slowing down the advanced rapid fire for M1 grand COD ww

Postby Mavman82 » Sun Nov 19, 2017 5:15 pm

Hey Bonefisher,

I think I will try your MODzPACK file out and see what happens. Is this 'two speed fire for the M1' already built into your COD WW2 MODzPACK or do I have to add it myself? Also, I use tactical and flipped....do I need to do anything additional for that to work (ie use the input translator?).

You wrote some script for me about a year ago under my old account that I lost my password for (SlickNick) and it worked really well too...thanks again.

Nick
User avatar
Mavman82
Sergeant First Class
Sergeant First Class
 
Posts: 17
Joined: Thu Nov 16, 2017 10:34 pm

Re: Slowing down the advanced rapid fire for M1 grand COD ww

Postby bonefisher » Sun Nov 19, 2017 5:57 pm

Mavman82 wrote:Hey Bonefisher,

I think I will try your MODzPACK file out and see what happens. Is this 'two speed fire for the M1' already built into your COD WW2 MODzPACK or do I have to add it myself? Also, I use tactical and flipped....do I need to do anything additional for that to work (ie use the input translator?).

You wrote some script for me about a year ago under my old account that I lost my password for (SlickNick) and it worked really well too...thanks again.

Nick

No I don't have the two speed in that but don't need to slow down either with the anti-recoil set right you can run full speed! Use a input translator on the MODzPACK everything thing at default! :smile0517:
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Slowing down the advanced rapid fire for M1 grand COD ww

Postby Bleak5170 » Tue Nov 21, 2017 4:50 pm

Wait you can have rapid fire and anti-recoil for the M1? Man I need a Titan Two.
User avatar
Bleak5170
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 278
Joined: Fri Aug 28, 2015 10:04 pm

Re: Slowing down the advanced rapid fire for M1 grand COD ww

Postby bonefisher » Tue Nov 21, 2017 7:27 pm

Why YES! :smile0517:
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Slowing down the advanced rapid fire for M1 grand COD ww

Postby Bleak5170 » Tue Nov 21, 2017 7:41 pm

bonefisher wrote:Why YES! :smile0517:


The Two can't go to retail fast enough.
User avatar
Bleak5170
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 278
Joined: Fri Aug 28, 2015 10:04 pm


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 96 guests