Problem with MaxAim
2 posts
• Page 1 of 1
Problem with MaxAim
I have a problem with my script and Max Aim.
If I use the follwoing script with MaxAim then the different rapid fire modes are not stored. However, if I copy the script on the T1 stick and use it without MaxAim then it works. Any help?
If I use the follwoing script with MaxAim then the different rapid fire modes are not stored. However, if I copy the script on the T1 stick and use it without MaxAim then it works. Any help?
- Code: Select all
// GPC Online Library
// rapid_fire_suite__hair_trigger_mod.gpc
int RAPID_FIRE_BITCHES = FALSE;
int RAPID_SLOW_FIRE = FALSE;
int RAPID_MID_FIRE = FALSE;
define FIRE_BUTTON = PS4_R2;
/*
This is a pretty good rapid fire suite.
Hair Trigger Mod +
Try three different fire modes:
-------------------------------------------------------------------------
Mode 1 [ ACTIVATE BY OPTIONS + CIRCLE ] | PS4
Super Rapid Fire, fires just right for Wolves Leash and other fast firing
scout rifles.
-------------------------------------------------------------------------
Mode 2 [ ACTIVATE BY OPTIONS + SQUARE ] | PS4
Slow Rapid Fire, fires perfectly for Mida Multi-tool and auto-shotguns.
-------------------------------------------------------------------------
Mode 3 [ ACTIVATE BY OPTIONS + TRIANGLE ] | PS4
Mid-paced Rapid Fire, fires well for pulse rifles.
-------------------------------------------------------------------------
To return back to Neutral firing or Regular mode just De-Activate the mode
by pressing the same activation sequence. i.e.
if you turned on super rapid fire with OPTIONS + CIRCLE,
deactivate with OPTIONS + CIRCLE.
It is SAFE to switch modes directly, i.e. moving from Super Rapid Fire to
Slow Rapid Fire without first deactivating.
The LED indicator on the back of your PS4 controller will describe the mode
BLUE - Neutral, no mods active [except hair trigger.. comeonnow]
RED - Slow Rapid Fire
PURPLE - Mid Rapid Fire
GREEN - Super Rapid Fire
Share with others!
Neil Amouyal - 06/24/2015
*/
main {
//hair trigger mod
if ( get_val(FIRE_BUTTON) >= 30 )
{
set_val(FIRE_BUTTON, 100);
}
if ( get_val(PS4_UP))
{
if (RAPID_FIRE_BITCHES)
{
RAPID_FIRE_BITCHES = FALSE;
set_led(LED_3, 0);
set_led(LED_1, 1);
}
else
{
RAPID_FIRE_BITCHES = TRUE;
RAPID_SLOW_FIRE = FALSE;
RAPID_MID_FIRE = FALSE;
set_led(LED_3, 1);
set_led(LED_1, 0);
set_led(LED_2, 0);
set_led(LED_4, 0);
}
}
else if (get_val(PS4_RIGHT) )
{
if (RAPID_SLOW_FIRE)
{
RAPID_SLOW_FIRE = FALSE;
set_led(LED_2, 0);
set_led(LED_1, 1);
}
else
{
RAPID_SLOW_FIRE = TRUE;
RAPID_FIRE_BITCHES = FALSE;
RAPID_MID_FIRE = FALSE;
set_led(LED_2, 1);
set_led(LED_1, 0);
set_led(LED_3, 0);
set_led(LED_4, 0);
}
}
else if ( get_val(PS4_DOWN) )
{
if (RAPID_MID_FIRE)
{
RAPID_MID_FIRE = FALSE;
set_led(LED_4, 0);
set_led(LED_1, 1);
}
else
{
RAPID_MID_FIRE = TRUE;
RAPID_FIRE_BITCHES = FALSE;
RAPID_SLOW_FIRE = FALSE;
set_led(LED_4, 1);
set_led(LED_3, 0);
set_led(LED_2, 0);
set_led(LED_1, 0);
}
}
if ( get_val(FIRE_BUTTON) && RAPID_FIRE_BITCHES )
{
combo_run(AutoFire);
}
else if ( get_val(FIRE_BUTTON) && RAPID_SLOW_FIRE )
{
combo_run(SlowAutoFire);
}
else if ( get_val(FIRE_BUTTON) && RAPID_MID_FIRE )
{
combo_run(RapidMidfire);
}
}
combo RapidMidfire {
set_val(FIRE_BUTTON, 100);
wait(94);
set_val(FIRE_BUTTON, 0);
wait(60);
set_val(FIRE_BUTTON, 0);
}
combo SlowAutoFire {
set_val(FIRE_BUTTON, 100);
wait(150);
set_val(FIRE_BUTTON, 0);
wait(140);
set_val(FIRE_BUTTON, 0);
}
combo AutoFire {
set_val(FIRE_BUTTON, 100);
wait(45);
set_val(FIRE_BUTTON,0);
wait(40);
set_val(FIRE_BUTTON,0);
}
-
rainbow47 - Sergeant Major
- Posts: 73
- Joined: Thu Oct 09, 2014 9:02 am
Re: Problem with MaxAim
I didn't see anything that would prevent this script to work on MaxAim, but I found something that can cause a unexpected behavior. When checking the DPad UP, Left, Right and Down instead of use get_val(), use event_press().
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
2 posts
• Page 1 of 1
Return to Gtuner Plugins Support
Who is online
Users browsing this forum: No registered users and 40 guests