Halo 2 Classic Combo will pay $100 for working script

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

Halo 2 Classic Combo will pay $100 for working script

Postby Witch » Mon Oct 07, 2019 4:03 pm

Classic Halo 2 BXR and Rapid fire on Default settings with the ability to toggle on/off Titan 2

I want (Rapid Fire, and a simple (BXR cycle- holding button the combo repeats, until released) with the option to toggle on/off for each combo), I've tried multiple T2 scripts the past 2 months or so only thing that works is rapid fire some scripts of double shot here and there. please help! I’ll pay $100 for the first person to write the script, msg if your interested. Thanks I have Vimeo/Cash app or etc
Last edited by Witch on Wed Oct 09, 2019 1:54 am, edited 1 time in total.
Witch
Corporal
Corporal
 
Posts: 4
Joined: Mon Jul 29, 2019 2:37 am

Re: Halo 2 Classic Combo will pay $100 for working script

Postby Mad » Tue Oct 08, 2019 1:02 am

Have you tried the BXR feature from this script: https://www.consoletuner.com/greslib/?w473

If it doesn't work, Describe in detail what needs to be done, button presses / delays etc and we can write something.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4532
Joined: Wed May 22, 2019 5:39 am

Re: Halo 2 Classic Combo will pay $100 for working script

Postby Witch » Wed Oct 09, 2019 2:19 am

Mad wrote:Have you tried the BXR feature from this script: https://www.consoletuner.com/greslib/?w473

If it doesn't work, Describe in detail what needs to be done, button presses / delays etc and we can write something.



So the BXR feature you referred me worked, but is there a way you can put a toggle on/off by (holding up on D pad(Button 10) then press Right Bumper (button 4) to toggle on/off?) and also be in a loop? Like when I hold the B button down it repeats until released.

Also for the Rapid Fire- Right Trigger (Button 5) toggle on/off by holding left on D pad (Button 12) then press Right Trigger (Button 5) to toggle on/off Combo description - Holding Right Trigger down the combo continues until released.

Now for the Double shot, this Script works but it is a different control format (universal Bump & Jump) could you translate it too (Default layout)?


Default settings I would like is
Button 5 is RT
Button 17 is X
Button 14 is Y

Code: Select all
#pragma METAINFO("RRXYY - Best", 1, 5, "Squidward")
 
// Universal Bump & Jump button layout
// Button 5 is RT
// Button 15 is B
// Button 14 is Y
 
main {
  if (get_val(BUTTON_5)) combo_run(Macro2Combo);
}
 
combo Macro2Combo {
    set_val(BUTTON_5, 100.00);
    wait(130);
    set_val(BUTTON_5, 0.00);
    wait(40);
    set_val(BUTTON_5, 100.00);
    wait(20);
    set_val(BUTTON_15, 100.00);
    wait(90);
    set_val(BUTTON_5, 0.00);
    set_val(BUTTON_15, 0.00);
    wait(130);
    call(YY);
}
 
combo YY {
    set_val(BUTTON_14, 100);
    wait(20); wait(20);
    set_val(BUTTON_14, 100);
    wait(20);
}
Witch
Corporal
Corporal
 
Posts: 4
Joined: Mon Jul 29, 2019 2:37 am

Re: Halo 2 Classic Combo will pay $100 for working script

Postby Mad » Wed Oct 09, 2019 3:06 am

Code: Select all
#include <xb1.gph>
 
#define RF_HOLD    33 // Rapidfire hold time
#define RF_RELEASE 64 // Rapidfire release time
 
bool BXR;
bool rapidfire;
 
main {
  if (get_actual(XB1_RB)) combo_run(DoubleShot);
  if (BXR && get_actual(XB1_B)) combo_run(cBXR);
  if (rapidfire && get_actual(XB1_RT)) combo_run(RapidFire);
 
  if (is_active(XB1_UP) && event_active(XB1_RB)) BXR = !BXR;
  if (is_active(XB1_LEFT) && event_active(XB1_RT)) rapidfire = !rapidfire;
}
 
combo DoubleShot {
  set_val(XB1_RT, 100);
  wait(130);
  set_val(XB1_RT, 0);
  wait(40);
  set_val(XB1_RT, 100);
  wait(20);
  set_val(XB1_X, 100);
  wait(90);
  set_val(XB1_RT, 0);
  set_val(XB1_X, 0);
  wait(130);
  call(YY);
}
 
combo YY {
  set_val(XB1_Y, 100);
  wait(20); wait(20);
  set_val(XB1_Y, 100);
  wait(20);
}
 
combo cBXR {
  set_val(XB1_B,100);
  wait(300);
  set_val(XB1_B,0);
  set_val(XB1_X,100);
  set_val(XB1_RT,100);
  wait(150);
}
 
combo RapidFire {
  set_val(XB1_RT, 100);
  wait(RF_HOLD);
  set_val(XB1_RT, 0);
  wait(RF_RELEASE);
  set_val(XB1_RT, 0);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4532
Joined: Wed May 22, 2019 5:39 am

Re: Halo 2 Classic Combo will pay $100 for working script

Postby Witch » Wed Oct 09, 2019 4:01 am

Mad wrote:
Code: Select all
#include <xb1.gph>
 
#define RF_HOLD    33 // Rapidfire hold time
#define RF_RELEASE 64 // Rapidfire release time
 
bool BXR;
bool rapidfire;
 
main {
  if (get_actual(XB1_RT)) combo_run(DoubleShot);
  if (BXR && get_actual(XB1_B)) combo_run(cBXR);
  if (rapidfire && get_actual(XB1_RT)) combo_run(RapidFire);
 
  if (is_active(XB1_UP) && event_active(XB1_RB)) BXR = !BXR;
  if (is_active(XB1_LEFT) && event_active(XB1_RT)) rapidfire = !rapidfire;
}
 
combo DoubleShot {
  set_val(XB1_RT, 100);
  wait(130);
  set_val(XB1_RT, 0);
  wait(40);
  set_val(XB1_RT, 100);
  wait(20);
  set_val(XB1_X, 100);
  wait(90);
  set_val(XB1_RT, 0);
  set_val(XB1_X, 0);
  wait(130);
  call(YY);
}
 
combo YY {
  set_val(XB1_Y, 100);
  wait(20); wait(20);
  set_val(XB1_Y, 100);
  wait(20);
}
 
combo cBXR {
  set_val(XB1_B,100);
  wait(300);
  set_val(XB1_B,0);
  set_val(XB1_X,100);
  set_val(XB1_RT,100);
  wait(150);
}
 
combo RapidFire {
  set_val(XB1_RT, 100);
  wait(RF_HOLD);
  set_val(XB1_RT, 0);
  wait(RF_RELEASE);
  set_val(XB1_RT, 0);
}



Is the double shot assigned to Right Bumper (Button 4)?
Witch
Corporal
Corporal
 
Posts: 4
Joined: Mon Jul 29, 2019 2:37 am

Re: Halo 2 Classic Combo will pay $100 for working script

Postby Mad » Wed Oct 09, 2019 5:04 am

It is now, updated previous post.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4532
Joined: Wed May 22, 2019 5:39 am

Re: Halo 2 Classic Combo will pay $100 for working script

Postby Witch » Wed Oct 09, 2019 3:50 pm

Mad wrote:It is now, updated previous post.


just tried during game, the Double shot is on Right Trigger. cant toggle on/off either.
Since Double shot is on Right Trigger I cant test Rapid fire
Bxr for some reason cannot be activated or used.
I cant toggle none of them on/off or even use them
Witch
Corporal
Corporal
 
Posts: 4
Joined: Mon Jul 29, 2019 2:37 am

Re: Halo 2 Classic Combo will pay $100 for working script

Postby Scachi » Wed Oct 09, 2019 4:13 pm

The latest post from Mad hat the double shot assigned to RB: if (get_actual(XB1_RB)) combo_run(DoubleShot);
I think you copied the wrong code.
The script had only toggle for bxr and rapid fire.
Now the toggles are:
(is_active(XB1_UP) && event_active(XB1_RB)): doubleshot
(is_active(XB1_UP) && event_active(XB1_B)) : BXR
(is_active(XB1_LEFT) && event_active(XB1_RT)) : rapidfire

Code: Select all
#include <xb1.gph>
 
#define RF_HOLD    33 // Rapidfire hold time
#define RF_RELEASE 64 // Rapidfire release time
 
bool doubleshot;
bool BXR;
bool rapidfire;
 
main {
  if (doubleshot && get_actual(XB1_RB)) combo_run(DoubleShot);
  if (BXR && get_actual(XB1_B)) combo_run(cBXR);
  if (rapidfire && get_actual(XB1_RT)) combo_run(RapidFire);
 
  if (is_active(XB1_UP) && event_active(XB1_RB)) doubleshot = !doubleshot;
  if (is_active(XB1_UP) && event_active(XB1_B)) BXR = !BXR;
  if (is_active(XB1_LEFT) && event_active(XB1_RT)) rapidfire = !rapidfire;
}
 
combo DoubleShot {
  set_val(XB1_RT, 100);
  wait(130);
  set_val(XB1_RT, 0);
  wait(40);
  set_val(XB1_RT, 100);
  wait(20);
  set_val(XB1_X, 100);
  wait(90);
  set_val(XB1_RT, 0);
  set_val(XB1_X, 0);
  wait(130);
  call(YY);
}
 
combo YY {
  set_val(XB1_Y, 100);
  wait(20); wait(20);
  set_val(XB1_Y, 100);
  wait(20);
}
 
combo cBXR {
  set_val(XB1_B,100);
  wait(300);
  set_val(XB1_B,0);
  set_val(XB1_X,100);
  set_val(XB1_RT,100);
  wait(150);
}
 
combo RapidFire {
  set_val(XB1_RT, 100);
  wait(RF_HOLD);
  set_val(XB1_RT, 0);
  wait(RF_RELEASE);
  set_val(XB1_RT, 0);
}
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 105 guests

cron