Template Request

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

Template Request

Postby mikehell » Tue Mar 31, 2020 7:44 am

Hi guys, can you please share me a template GPC to use in fighting games?

Just a basic one that starts a combo with the 4 right stick directions (Left/Right/Down/Up) Hold the direction run the combo and release to stop.
Also run a combo with LT, stops when release
Also run a combo with RT, stops when release
Also run the combo where the character is facing.

I will put the secuence for every combo by myself just need a template with the syntaxis for running them.

Thanks a lot guys, you rocks.
User avatar
mikehell
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Sun Jan 12, 2020 5:51 am

Re: Template Request

Postby Mad » Tue Mar 31, 2020 8:08 am

Code: Select all
#include <xb1.gph>
 
main {
    if(is_active(XB1_UP)) combo_run(c1);
    else combo_stop(c1);
}
 
combo c1 { }

https://www.consoletuner.com/wiki/index ... examples_1

For directional tracking it depends more on the games mechanics.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: Template Request

Postby Prototype » Mon Apr 06, 2020 9:27 am

mikehell wrote:Hi guys, can you please share me a template GPC to use in fighting games?

Just a basic one that starts a combo with the 4 right stick directions (Left/Right/Down/Up) Hold the direction run the combo and release to stop.

Hi, i have published some templates to use with the combos and the macros with 8 right stick directions. Let me know if you need more or something else.
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic! :smile0517:
User avatar
Prototype
Major General
Major General
 
Posts: 3252
Joined: Sun Dec 16, 2012 1:43 pm

Re: Template Request

Postby mikehell » Mon Apr 06, 2020 5:21 pm

Mad wrote:
Code: Select all
#include <xb1.gph>
 
main {
    if(is_active(XB1_UP)) combo_run(c1);
    else combo_stop(c1);
}
 
combo c1 { }

https://www.consoletuner.com/wiki/index ... examples_1

For directional tracking it depends more on the games mechanics.


Thanks Mads, I´m still lost, sorry.

prototype wrote:
mikehell wrote:Hi guys, can you please share me a template GPC to use in fighting games?

Just a basic one that starts a combo with the 4 right stick directions (Left/Right/Down/Up) Hold the direction run the combo and release to stop.

Hi, i have published some templates to use with the combos and the macros with 8 right stick directions. Let me know if you need more or something else.


Yes please, I didn't find any with the search option.
User avatar
mikehell
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Sun Jan 12, 2020 5:51 am

Re: Template Request

Postby Mad » Mon Apr 06, 2020 6:23 pm

mikehell wrote:Yes please, I didn't find any with the search option.

Sort by release date in the online resource section.
https://www.consoletuner.com/greslib/?w1030
https://www.consoletuner.com/greslib/?w1029
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: Template Request

Postby Prototype » Tue Apr 07, 2020 8:45 pm

You can also type "template" in the Online Resources to find it.
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic! :smile0517:
User avatar
Prototype
Major General
Major General
 
Posts: 3252
Joined: Sun Dec 16, 2012 1:43 pm

Re: Template Request

Postby mikehell » Fri Apr 10, 2020 3:36 pm

Thanks you both guys and sorry for my really late response, i'm medical worker in the hospital city and this pandemic is becoming critic, I will check it out as soon as I can.
User avatar
mikehell
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Sun Jan 12, 2020 5:51 am


Return to GPC2 Script Programming

Who is online

Users browsing this forum: midg3t2 and 234 guests