Mega guide to converting your old scripts for Titan Two

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

Re: Mega guide to converting your old scripts for Titan Two

Postby pablosscripts » Sun Sep 18, 2016 9:07 am

I'm really looking forward to using those LED's. I use a XIM so I can't use the rumble because of the power draw so the LED's are going to be a perfect substitute.
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am

Fragsnipa

Postby Fragsnipa » Sun Sep 18, 2016 7:39 pm

The_Rabid_Taco wrote:Check my SUROS Mod Pack, it has multiple LED's. Use the function from there and look up in the declares to see how to set up the char to pass into it to select the color. I'm off for the night, but should be able to help more tomorrow. Should be able to put up a new PvZ GW2 Mega Pack. Won't be completely done, but it will show more on the LED's. Not too hard once you get the hang of it.


Nice
Console= Xbone
Games = BF4, MCC, H5, BO3, Gears of War UE, Destiny, Gears of War 4, COD 4 Remaste, BF1.
User avatar
Fragsnipa
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 191
Joined: Sun Nov 16, 2014 6:27 am
Location: Queens, NY

Re: Mega guide to converting your old scripts for Titan Two

Postby pablosscripts » Mon Sep 19, 2016 5:33 am

The_Rabid_Taco wrote:Check my SUROS Mod Pack, it has multiple LED's. Use the function from there and look up in the declares to see how to set up the char to pass into it to select the color. I'm off for the night, but should be able to help more tomorrow. Should be able to put up a new PvZ GW2 Mega Pack. Won't be completely done, but it will show more on the LED's. Not too hard once you get the hang of it.


I notice you've defined it by weapon. Would you be able to help us modify it so we simply pass it a colour value?

e.g.
From this:

Code: Select all
ColorLED(LEDColor[3]);


To this ("G" being "Green"):

Code: Select all
ColorLED(LEDColor[G]);
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am

Re: Mega guide to converting your old scripts for Titan Two

Postby antithesis » Mon Sep 19, 2016 5:53 am

pablogroup wrote:I'm really looking forward to using those LED's. I use a XIM so I can't use the rumble because of the power draw so the LED's are going to be a perfect substitute.


I use Rumble and LED for Xim4...works fine.
Official Australian retailer for Titan One, Titan Two and XIM APEX at Mod Squad
User avatar
antithesis
Colonel
Colonel
 
Posts: 1912
Joined: Sat May 28, 2016 10:45 pm

Re: Mega guide to converting your old scripts for Titan Two

Postby pablosscripts » Mon Sep 19, 2016 6:59 am

antithesis wrote:
pablogroup wrote:I'm really looking forward to using those LED's. I use a XIM so I can't use the rumble because of the power draw so the LED's are going to be a perfect substitute.


I use Rumble and LED for Xim4...works fine.


oh really? I've often seen people advise rumble be turned off or there's a risk of there being too much power draw. Alright maybe I can start using it again:)
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am

Re: Mega guide to converting your old scripts for Titan Two

Postby The_Rabid_Taco » Mon Sep 19, 2016 12:37 pm

pablogroup wrote:I notice you've defined it by weapon. Would you be able to help us modify it so we simply pass it a colour value?

e.g.
From this:

Code: Select all
ColorLED(LEDColor[3]);


To this ("G" being "Green"):

Code: Select all
ColorLED(LEDColor[G]);



I'll get something together that shows how to do it that way before days out. Should be able to do it during a lunch.
User avatar
The_Rabid_Taco
Major
Major
 
Posts: 1066
Joined: Wed Mar 16, 2016 6:04 pm
Location: Pensacola, FL

Re: Mega guide to converting your old scripts for Titan Two

Postby pablosscripts » Mon Sep 19, 2016 12:52 pm

Image
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am

Re: Mega guide to converting your old scripts for Titan Two

Postby The_Rabid_Taco » Mon Sep 19, 2016 1:26 pm

LED Example has been posted to the library.
User avatar
The_Rabid_Taco
Major
Major
 
Posts: 1066
Joined: Wed Mar 16, 2016 6:04 pm
Location: Pensacola, FL

Re: Mega guide to converting your old scripts for Titan Two

Postby pablosscripts » Tue Sep 20, 2016 1:51 am

The_Rabid_Taco wrote:LED Example has been posted to the library.


Thank you! I have added a reference to this to the main post.

I have also added info about PaulaTheKoala's T1 backwards compatibility header file too.

Excellent contributions everyone!
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am

Re: Mega guide to converting your old scripts for Titan Two

Postby pablosscripts » Tue Sep 20, 2016 7:56 am

FCB77 wrote:maybe you didnt define NOT_USE
Code: Select all
#define NOT_USE 0;



This didn't work but the following code did! Thanks for the suggestion, it lead me in the right direction.

Code: Select all
fix32 NOT_USE;
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am

PreviousNext

Return to GPC2 Script Programming

Who is online

Users browsing this forum: alanmcgregor and 64 guests