Script

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

Script

Postby GamingScene » Thu Jun 21, 2018 5:01 pm

Is there a way to convert device scripts to titan two. I've just got mine today and I've came from owning a device but it doesn't support the XIM Apex so I've purchased the titan two and would like to convert my device scripts to work with titan two
User avatar
GamingScene
Sergeant Major
Sergeant Major
 
Posts: 104
Joined: Sat May 26, 2018 6:17 pm

Re: Script

Postby Scachi » Thu Jun 21, 2018 5:19 pm

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

Re: Script

Postby GamingScene » Thu Jun 21, 2018 5:34 pm

Scachi wrote:https://www.consoletuner.com/forum/viewtopic.php?f=26&t=7591

for more details: viewtopic.php?f=26&t=4609

Yeah I seen this but this is for the titan 1 I'm talking about the c.r.o.n.u.s.m.a.x I did type it above but when I submitted the message the c.r.o.n.u.s.m.a.x was removed
User avatar
GamingScene
Sergeant Major
Sergeant Major
 
Posts: 104
Joined: Sat May 26, 2018 6:17 pm

Re: Script

Postby GamingScene » Thu Jun 21, 2018 5:36 pm

So how do I convert c.r.o.n.u.s.m.a.x scripts to the titan two basically?
User avatar
GamingScene
Sergeant Major
Sergeant Major
 
Posts: 104
Joined: Sat May 26, 2018 6:17 pm

Re: Script

Postby Scachi » Thu Jun 21, 2018 6:21 pm

The same steps as for converting t1 script to t2 plus some extra stuff that may be needed, but that depends on the script you are trying to convert. It may just work by following the steps in the post i linked.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Script

Postby GamingScene » Fri Jun 22, 2018 7:20 am

Scachi wrote:The same steps as for converting t1 script to t2 plus some extra stuff that may be needed, but that depends on the script you are trying to convert. It may just work by following the steps in the post i linked.

Ok thanks that worked apart from one part of my script which I need to work I can't unmap a button
Unmap 12:
Basically I want dpad left and dpad right to not be sent to the console but still be able to be used to run a script from
User avatar
GamingScene
Sergeant Major
Sergeant Major
 
Posts: 104
Joined: Sat May 26, 2018 6:17 pm

Re: Script

Postby J2Kbr » Fri Jun 22, 2018 8:07 am

GamingScene wrote:Basically I want dpad left and dpad right to not be sent to the console but still be able to be used to run a script from

Add at the very end of the main block this:
Code: Select all
    set_val(BUTTON_12, 0.0);
    set_val(BUTTON_13, 0.0);
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: Script

Postby GamingScene » Fri Jun 22, 2018 8:42 am

J2Kbr wrote:
GamingScene wrote:Basically I want dpad left and dpad right to not be sent to the console but still be able to be used to run a script from

Add at the very end of the main block this:
Code: Select all
    set_val(BUTTON_12, 0.0);
    set_val(BUTTON_13, 0.0);

Thanks I will give this a go
User avatar
GamingScene
Sergeant Major
Sergeant Major
 
Posts: 104
Joined: Sat May 26, 2018 6:17 pm

Re: Script

Postby GamingScene » Fri Jun 22, 2018 9:06 am

J2Kbr wrote:
GamingScene wrote:Basically I want dpad left and dpad right to not be sent to the console but still be able to be used to run a script from

Add at the very end of the main block this:
Code: Select all
    set_val(BUTTON_12, 0.0);
    set_val(BUTTON_13, 0.0);

Ok so this didn't work so I wrote
Code: Select all
// DISABLE BUTTONS START
set_val(LEFT, 0.0);
set_val(RIGHT, 0.0);
// DISABLE BUTTONS END


Instead and it works but only every other one so I will press it it wont register on console but if I press it immediately after its sent to the console hope this makes sense
User avatar
GamingScene
Sergeant Major
Sergeant Major
 
Posts: 104
Joined: Sat May 26, 2018 6:17 pm

Re: Script

Postby J2Kbr » Mon Jun 25, 2018 6:13 am

okay, I need to see the full script to help you with this, could you please post here? thanks.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 104 guests