Cold War Glitch Script

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

Re: Cold War Glitch Script

Postby fantasybart » Thu Dec 24, 2020 11:36 pm

i dit some adjustments but didnt work :(

thanks gonna try it :)
User avatar
fantasybart
Sergeant
Sergeant
 
Posts: 6
Joined: Tue May 26, 2020 11:35 am

Re: Cold War Glitch Script

Postby ThreeLions76 » Fri Dec 25, 2020 1:46 pm

Hi, I got the original script (from Mad) to work but I have a hori fps plus controller with a turbo button facility - which I just activated along with the script and it worked perfectly - I can leave PS5 on AFK overnight with no problems.

I think all that would need to be altered on the original script would be to have the 'square' button to be spammed a few times say 4 or 5 times) very quickly immediately after the C4 has been thrown (R1 button). To get the glitch to work the sequence is R1 then immediately spam square button a few times very quicky and repeat.

I havent tested the second script yet because Im working over xmas (what Im supposed to be doing now) but I will test soon and let you know. Thanks for everything and Merry Xmas!!
User avatar
ThreeLions76
Master Sergeant
Master Sergeant
 
Posts: 28
Joined: Mon Dec 21, 2020 1:43 pm

Re: Cold War Glitch Script

Postby knell » Sat Dec 26, 2020 2:10 am

I tried this and I think it works.

Code: Select all
#include <ps4.gph>
 
bool c4;
 
main {
    if(is_active(PS4_L2) && event_active(PS4_DOWN)) {
        c4 = !c4;
    }
 
    if(c4) combo_run(zombies_c4);
}
 
combo zombies_c4 {
    set_val(PS4_R1, 100); // Throw C4.
    wait(60);
    set_val(PS4_SQUARE, 100); // Double tap square.
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60);
    wait(5000); // Wait 5 seconds and repeat.
}
User avatar
knell
Staff Sergeant
Staff Sergeant
 
Posts: 11
Joined: Thu Dec 24, 2020 2:13 pm
Location: Germany

Re: Cold War Glitch Script

Postby Mad » Sat Dec 26, 2020 2:28 am

knell wrote:I tried this and I think it works.

:joia: :joia:
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4533
Joined: Wed May 22, 2019 5:39 am

Re: Cold War Glitch Script

Postby Ruigol » Sat Dec 26, 2020 3:12 am

Hi, sorry I'm new I just hot my titan two for Christmas and am extremely interested in this script, what would I need to change or alter to make it work for my xbox one?
User avatar
Ruigol
Corporal
Corporal
 
Posts: 4
Joined: Sat Dec 26, 2020 3:09 am

Re: Cold War Glitch Script

Postby Mad » Sat Dec 26, 2020 3:13 am

Ruigol wrote:Hi, sorry I'm new I just hot my titan two for Christmas and am extremely interested in this script, what would I need to change or alter to make it work for my xbox one?

Welcome. :smile0201:

It'll work the same on xbox. :smile0517:
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4533
Joined: Wed May 22, 2019 5:39 am

Re: Cold War Glitch Script

Postby knell » Sat Dec 26, 2020 10:12 pm

Mad, can you help me? I would like to add L1+R1 to the script at the end, but I don't know how. :ashamed:
User avatar
knell
Staff Sergeant
Staff Sergeant
 
Posts: 11
Joined: Thu Dec 24, 2020 2:13 pm
Location: Germany

Re: Cold War Glitch Script

Postby Mad » Sun Dec 27, 2020 11:28 am

knell wrote:Mad, can you help me? I would like to add L1+R1 to the script at the end, but I don't know how. :ashamed:

Sure:
Code: Select all
#include <ps4.gph>
 
bool c4;
 
main {
    if(is_active(PS4_L2) && event_active(PS4_DOWN)) {
        c4 = !c4;
    }
 
    if(c4) combo_run(zombies_c4);
}
 
combo zombies_c4 {
    set_val(PS4_R1, 100); // Throw C4.
    wait(60);
    set_val(PS4_SQUARE, 100); // Double tap square.
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60); wait(60);
    set_val(PS4_SQUARE, 100);
    wait(60);
    set_val(PS4_L1, 100);
    set_val(PS4_R1, 100);
    wait(60);
    wait(5000); // Wait 5 seconds and repeat.
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4533
Joined: Wed May 22, 2019 5:39 am

Re: Cold War Glitch Script

Postby ThreeLions76 » Mon Dec 28, 2020 7:40 pm

Hope you don't mind but I tweaked the script a little - I removed one of the lines of script " set_val(PS4_SQUARE, 100);
wait(60); wait(60); " and changed the final wait time from 5 seconds to three and this worked perfectly! Thank you.
User avatar
ThreeLions76
Master Sergeant
Master Sergeant
 
Posts: 28
Joined: Mon Dec 21, 2020 1:43 pm

Re: Cold War Glitch Script

Postby Mad » Tue Dec 29, 2020 5:18 am

ThreeLions76 wrote:Hope you don't mind but I tweaked the script a little - I removed one of the lines of script " set_val(PS4_SQUARE, 100);
wait(60); wait(60); " and changed the final wait time from 5 seconds to three and this worked perfectly! Thank you.

Go for it, glad it's working for you. :joia:
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4533
Joined: Wed May 22, 2019 5:39 am

PreviousNext

Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 116 guests