needing help
7 posts
• Page 1 of 1
needing help
I need some help I have scripts that were made for me but I can't put them on the titan two can someone show me please.
-
Shortarm - Staff Sergeant
- Posts: 11
- Joined: Thu Jun 01, 2017 8:03 pm
Re: needing help
Please post the script code here, I am positive we can help you with that. Or, if you prefer, PM the the script code.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: needing help
- Code: Select all
#define TAP_SPEED 130
bool tap_count;
main {
if(is_active(BUTTON_17)) {
if(event_active(BUTTON_17)) {
if(time_release(BUTTON_17) < TAP_SPEED) {
++tap_count;
} else tap_count = 1;
}
if(tap_count == 2) {
combo_run(Combo_1);
} else if(tap_count == 3) {
combo_run(Combo_2);
} else if(tap_count == 4) {
tap_count = 2;
}
}
}
-
Shortarm - Staff Sergeant
- Posts: 11
- Joined: Thu Jun 01, 2017 8:03 pm
Re: needing help
- Code: Select all
#define DTAP_BUTTON BUTTON_16
main {
if(event_active(DTAP_BUTTON) && time_release(DTAP_BUTTON) < 200) {
//
// Double TAP actions here
//
} else if(get_val(DTAP_BUTTON) && time_active(DTAP_BUTTON) > 150) {
//
// Single press action here
//
}
}
-
Shortarm - Staff Sergeant
- Posts: 11
- Joined: Thu Jun 01, 2017 8:03 pm
Re: needing help
- Code: Select all
main {
set_val(BUTTON_5, 0.0);
if(get_actual(BUTTON_5) > 1.0 && get_actual(BUTTON_5) < 40.0) {
set_val(BUTTON_8, 100.0);
set_val(BUTTON_9, 0.0);
}else if(get_actual(BUTTON_5) > 40.0 && get_actual(BUTTON_5) < 99.0) {
set_val(BUTTON_8, 100.0);
set_val(BUTTON_9, 100.0);
}else if(get_actual(BUTTON_5) > 99.0) {
set_val(BUTTON_8, 100.0);
set_val(BUTTON_9, 100.0);
set_val(BUTTON_5, 100.0);
}
set_val(BUTTON_18, 0.0);
if(event_active(BUTTON_18) && time_release(BUTTON_18) < 250) {
combo_run(LB_BUTTON);
}
set_val(BUTTON_19, 0.0);
if(event_active(BUTTON_19) && time_release(BUTTON_19) < 250) {
combo_run(RB_BUTTON);
}
}
combo LB_BUTTON
{
set_val(BUTTON_7, 100.0);
wait(200);
}
combo RB_BUTTON
{
set_val(BUTTON_4, 100.0);
wait(200);
}
-
Shortarm - Staff Sergeant
- Posts: 11
- Joined: Thu Jun 01, 2017 8:03 pm
Re: needing help
bonefisher made a script for me under my name but the buttons he made to be double tap the first press has a delay when I'm doing a single press. so I'm trying to see what I can do with the other scripts or get that one fixed so thank you.
-
Shortarm - Staff Sergeant
- Posts: 11
- Joined: Thu Jun 01, 2017 8:03 pm
Re: needing help
The first script seems to be incomplete (missing 2 combos). The second one is just a template for double tapping. and the last one is complete and compiles without error, so I assume you just need direction on how load it on the Titan Two:
The basic steps to load the script in the Titan Two are:
Create a new GPC file on Gtuner IV, copy paste the code and save;
Go to top menu File -> Install to -> and select a memory slot.
On the device, press the button until the display shows the same number of the memory slot the script was stored.
The basic steps to load the script in the Titan Two are:
Create a new GPC file on Gtuner IV, copy paste the code and save;
Go to top menu File -> Install to -> and select a memory slot.
On the device, press the button until the display shows the same number of the memory slot the script was stored.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 82 guests