tried 3 different scripts on titan2 nothing works

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

tried 3 different scripts on titan2 nothing works

Postby phild22 » Tue Oct 16, 2018 9:21 pm

just loaded it up and it didnt do anything, tried 3 different scrips not a single thing works. not liking this already....


what am I missing? put file into slot
change to output
select script
hit trigger button
nothing happens....
User avatar
phild22
First Sergeant
First Sergeant
 
Posts: 59
Joined: Thu Sep 18, 2014 5:56 am

Re: tried 3 different scripts on titan2 nothing works

Postby hammer » Tue Oct 16, 2018 9:54 pm

most scripts have activation combos that you have to hit first to activate it
Post what script you are using and maybe we can help :)
User avatar
hammer
Sergeant Major
Sergeant Major
 
Posts: 104
Joined: Sun Sep 30, 2018 1:36 pm
Location: Germany

Re: tried 3 different scripts on titan2 nothing works

Postby phild22 » Tue Oct 16, 2018 10:05 pm

hammer wrote:most scripts have activation combos that you have to hit first to activate it
Post what script you are using and maybe we can help :)

[code=gpc2#pragma METAINFO("<THEMARKOF22>", 1, 0, "")


#include <titanone.gph>

int runLoop;

main {
vm_tctrl(-8);
if (event_press(PS4_UP)) {
if (runLoop == TRUE) {
runLoop = FALSE;
} else if (runLoop == FALSE) {
runLoop = TRUE;
}
}

if (runLoop == TRUE) {
combo_run(autowalk);
combo_run(autowalk);
}
}

combo autowalk {
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_CROSS, 0);}
][/code]
User avatar
phild22
First Sergeant
First Sergeant
 
Posts: 59
Joined: Thu Sep 18, 2014 5:56 am

Re: tried 3 different scripts on titan2 nothing works

Postby phild22 » Tue Oct 16, 2018 10:08 pm

Code: Select all
#pragma METAINFO("<author_name>", 1, 0, "")
 
// GPC Online Library
// destiny_crucible_afk.gpc
 
#include <titanone.gph>
 
/*
DESTINY AFK
scripted by xenologer
PS4 only
PLEASE READ ALL INSTRUCTIONS
 
Used to AFK in RUMBLE Playlist
-autoGrind Crucible Rep, and Match Rewards
-derank (Reverse BOOST) Matchmaking Skill / ELO ratings -for more chill games when you DO play for real
 
DO NOT, use this script in any other Playlist except RUMBLE
it is Not Nice to your TeamMates, and they WILL REPORT YOU
 
How it works:
Normally, DESTINY has protection to discourage AFK
you get no Crucible Rep and no Match Rewards if you have No Points, thus someone who just AFKs usually gets nothing.
This Script is Different
This Script gets Kills, therefore, you get Rewards.
typicall results, about 50% of matches have at least 1 kill
We accomplish this, by DETECTING when the player is being Attacked by monitoring the controller RumbleMotors
    then we RESPOND using AREA EFFECT grenades and Super Abilities, to get a kill without having to aim.
 
 
Setup:
Must be TITAN OR WARLOCK - not tested on HUNTERS, doubt it works for them
feel free to experiment with alternate class/armor Builds
the following worked Well for my when AFK
 
TITAN:
class Striker
max int, max dis
lightening grenades -enemies who teabag your afk body get electrocuted
fist of havoc -AFtermatch perk (FoH leaves a damaging field behind)
Aftershocks perk - lightening grenades last longer
Balance other stats for Max Armor
 
WARLOCK:
class VoidWalker
max int
Armor Requirement: VoidFang Vestments -respawn with grenades
Axion Bolt grenade -tracks enemies, even when you're AFK
Nova Bomb - Vortex perk (leaves a damaging area of effect behind)
Annihhalate perk - bigger explosions (very important to get kils)
Vortex Mastery perk - the axion bolts are more persistent
Balance other stats for Max Armor
 
HUNTER:
hunter's have no good area grenades or area super
cannot guarantee any effective AFK kills
 
 
REMEMBER to set your EMOTE to your Favorite DANCE MOVE
*/

 
//wandering settings
define waittime=100; //how long to wait in ms between each direction change
define STR=100; //how far the stick is pushed by the script
 
//dance odds, higher values = less dancing
//0=no dancing
define coldfeet = 200;
 
//DEFAULT control layout
define ADS= PS4_L2;
define SHOOT=PS4_R2;
define MELEE=PS4_R1;
define GRENADE=PS4_L1;
define CROUCH = PS4_LEFT;
//xenolger's layout
//define ADS= PS4_L1, SHOOT=PS4_R1, MELEE=PS4_R2, GRENADE=PS4_L2, CROUCH = PS4_R2;
 
int direction;
define UP=0;
define RIGHT=1;
define DOWN=2;
define LEFT=3;
int dancing=0;
int supercharge=0;
int rumble1,rumble2;
int bag;
 
int lx,ly;
main {
    vm_tctrl(-6);
    rumble1=get_rumble(RUMBLE_A); //read rumble values
    rumble2=get_rumble(RUMBLE_B);
    //block rumble from physically shaking
    set_rumble(RUMBLE_A,0);
    set_rumble(RUMBLE_B,0);
 
    //DETECT red led, Guardian Down
    if(!get_led(0)&&get_led(1)&&!get_led(2)){
        combo_run(respawn);
    }
 
    //DETECT yellow led, SUPER CHARGED
    if(!get_led(0)&&get_led(1)&&get_led(2)){
        supercharge=1;
    }
 
    //DETECT RUMBLE, being attacked -respond with grenade/super
    if(!combo_running(fire) && !combo_running(melee) && (rumble1+rumble2)>50){
        if(supercharge){
            combo_run(super);
            supercharge=0;
        }else{
            combo_run(grenade);
        }
    }
 
    //DANCE, TEABAG, do random stuff
    //VERY IMPORTANT, have to DO STUFF or you'll get booted for inactivity
    //FEEL FREE to Personalize this section
    if(!dancing)
    if(irand(0,coldfeet)==1){//dance
        dancing=1;
        combo_run(dance);
        combo_stop(wander);
        //combo_stop(fire);
        combo_stop(ads);
        combo_stop(look);
    }else{
        if(bag>0){
            combo_run(teabag);
        }else{
            bag=irand(-100,30);
        }
        combo_run(wander);
        //combo_run(fire);
        combo_run(look);
        combo_run(ads);
        //if(irand(0,100)<10)combo_run(melee);
    }
}
combo fire{
    set_val(SHOOT,100);
    wait(irand(0,2000));
    set_val(SHOOT,0);
    wait(irand(0,2000));
}
combo ads{   
    set_val(ADS,100);
    wait(irand(0,100));
    set_val(ADS,0);
    wait(irand(0,2000));
}
combo melee{   
    set_val(MELEE,100);
    wait(irand(0,100));
}
combo grenade{
    set_val(GRENADE,100);
    wait(100);
}
combo dance{
    set_val(PS4_LEFT,100);
    wait(irand(500,3000));
    dancing=0;
}
combo teabag{
    set_val(CROUCH,100);
    wait(100);
    set_val(CROUCH,0);
    wait(100);
    bag=bag-1;
}
combo respawn{
    wait(4000);
    wait(2000);
    set_val(PS4_SQUARE,100);
    wait(100);
    set_val(PS4_SQUARE,0);
    wait(100);
    //output_reconnection(); //reset controller
}
combo super{
    set_val(GRENADE,100);
    set_val(MELEE,100);
    wait(500);
}
 
combo wander{
    if(direction<=UP){set_val(PS4_LX,0);set_val(PS4_LY,-STR);}
    if(direction==DOWN){set_val(PS4_LX,0);set_val(PS4_LY,STR/2);}
    if(direction==LEFT){set_val(PS4_LX,-STR);set_val(PS4_LY,0);}
    if(direction==RIGHT){set_val(PS4_LX,STR);set_val(PS4_LY,0);}
    wait(irand(500,4000));
    direction=irand(-3,8);
}
combo look{
    set_val(PS4_RY,ly);
    set_val(PS4_RX,lx);
    wait(irand(0,400));
    lx=irand(-100,100);
    ly=irand(-20,20);
    if(supercharge)ly=100;
}
 
User avatar
phild22
First Sergeant
First Sergeant
 
Posts: 59
Joined: Thu Sep 18, 2014 5:56 am

Re: tried 3 different scripts on titan2 nothing works

Postby phild22 » Tue Oct 16, 2018 10:09 pm

cant get either to work? im not sure im even loading the scripts properly to the device...
User avatar
phild22
First Sergeant
First Sergeant
 
Posts: 59
Joined: Thu Sep 18, 2014 5:56 am

Re: tried 3 different scripts on titan2 nothing works

Postby J2Kbr » Tue Oct 16, 2018 10:22 pm

phild22 wrote:cant get either to work? im not sure im even loading the scripts properly to the device...

The basic steps to load the script in the Titan Two are:

Open the script file on Gtuner IV (GPC file);

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
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: tried 3 different scripts on titan2 nothing works

Postby phild22 » Wed Oct 17, 2018 12:04 am

J2Kbr wrote:
phild22 wrote:cant get either to work? im not sure im even loading the scripts properly to the device...

The basic steps to load the script in the Titan Two are:

Open the script file on Gtuner IV (GPC file);

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.


it says updating but never says completed, the 123 slots all are recoginzed but the script still doesnt do a damn thing...
User avatar
phild22
First Sergeant
First Sergeant
 
Posts: 59
Joined: Thu Sep 18, 2014 5:56 am

Re: tried 3 different scripts on titan2 nothing works

Postby phild22 » Wed Oct 17, 2018 2:10 am

shows them in the slot yet not reaction
Attachments
Screenshot_2.jpg
Screenshot_2.jpg (96.12 KiB) Viewed 1713 times
Screenshot_3.jpg
Screenshot_3.jpg (40.53 KiB) Viewed 1713 times
User avatar
phild22
First Sergeant
First Sergeant
 
Posts: 59
Joined: Thu Sep 18, 2014 5:56 am

Re: tried 3 different scripts on titan2 nothing works

Postby Scachi » Wed Oct 17, 2018 6:29 am

If you are on PS4 and using a new controller (with the lightbar visible through the touchpad) you have to do the first-time configuration as stated in the manual. Without this setting no script will have an effect.
https://www.consoletuner.com/wiki/index ... aystation4

First-time Configuration

On PlayStation 4, enable wired communication:
Settings → Devices → Controllers → Communication Method: Use USB Cable.

Configure the Output Protocol of the Titan Two to USB Automatic or USB PlayStation 4.

User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: tried 3 different scripts on titan2 nothing works

Postby phild22 » Wed Oct 17, 2018 7:43 pm

Scachi wrote:If you are on PS4 and using a new controller (with the lightbar visible through the touchpad) you have to do the first-time configuration as stated in the manual. Without this setting no script will have an effect.
https://www.consoletuner.com/wiki/index ... aystation4

First-time Configuration

On PlayStation 4, enable wired communication:
Settings → Devices → Controllers → Communication Method: Use USB Cable.

Configure the Output Protocol of the Titan Two to USB Automatic or USB PlayStation 4.



having issues with the Tone to t2 script

the character is supposed to attack on vibration but doesnt on T2, supposed to use special attack when availible but doesnt.
User avatar
phild22
First Sergeant
First Sergeant
 
Posts: 59
Joined: Thu Sep 18, 2014 5:56 am

Next

Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 108 guests