NBA 2k21 Script help
44 posts
• Page 1 of 5 • 1, 2, 3, 4, 5
NBA 2k21 Script help
Wondering if anyone can convert this, the GPC converting isnt working for me & its giving me all kinds of errors. \
\
Thanks in advance
\
Thanks in advance
- Code: Select all
main {
set_val(10, 0);
set_val(20, 0);
if(get_lval(10) > 20) { set_val(20, 100); }
if(get_lval(20)) { set_val(10, 100); }
}
-
THEVET - Master Sergeant
- Posts: 30
- Joined: Thu Sep 12, 2019 3:19 pm
Re: NBA 2k21 Script help
For me didn't resulted any error. Anyway, here is reformatted for the Titan One:
- Code: Select all
main {
set_val(PS4_RY, 0);
set_val(PS4_SQUARE, 0);
if(get_lval(PS4_RY) > 20) {
set_val(PS4_SQUARE, 100);
}
if(get_lval(PS4_SQUARE)) {
set_val(PS4_RY, 100);
}
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: NBA 2k21 Script help
J2Kbr wrote:For me didn't resulted any error. Anyway, here is reformatted for the Titan One:
- Code: Select all
main {
set_val(PS4_RY, 0);
set_val(PS4_SQUARE, 0);
if(get_lval(PS4_RY) > 20) {
set_val(PS4_SQUARE, 100);
}
if(get_lval(PS4_SQUARE)) {
set_val(PS4_RY, 100);
}
}
You are a godsend @j2kbr thanks brodie, also its titan two im working with & im still getting 17 errors when trying to write it
-
THEVET - Master Sergeant
- Posts: 30
- Joined: Thu Sep 12, 2019 3:19 pm
Re: NBA 2k21 Script help
THEVET wrote:You are a godsend @j2kbr thanks brodie, also its titan two im working with & im still getting 17 errors when trying to write it
Understood, for the Titan Two just add #include <titanone.gph> at the beginning of the code.
- Code: Select all
#include <titanone.gph>
main {
set_val(PS4_RY, 0);
set_val(PS4_SQUARE, 0);
if(get_lval(PS4_RY) > 20) {
set_val(PS4_SQUARE, 100);
}
if(get_lval(PS4_SQUARE)) {
set_val(PS4_RY, 100);
}
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: NBA 2k21 Script help
Need a Quick update if possible, Could you change the square again to right analog Vertically UP and immediately down, with down being time released?
Thanks in Advance
Thanks in Advance
- Code: Select all
#include <titanone.gph>
main {
set_val(PS4_RY, 0);
set_val(PS4_SQUARE, 0);
if(get_lval(PS4_RY) > 20) {
set_val(PS4_SQUARE, 100);
}
if(get_lval(PS4_SQUARE)) {
set_val(PS4_RY, 100);
}
}
-
THEVET - Master Sergeant
- Posts: 30
- Joined: Thu Sep 12, 2019 3:19 pm
Re: NBA 2k21 Script help
Please check if the changes made below are what you want.
- Code: Select all
#include <ps4.gph>
main {
set_val(PS4_RY, 0.0);
set_val(PS4_SQUARE, 0.0);
if(get_actual(PS4_RY) > 20.0) {
set_val(PS4_SQUARE, 100.0);
}
if(get_actual(PS4_SQUARE)) {
if(event_active(PS4_SQUARE)) {
combo_run(RightStickUP);
}
set_val(PS4_RY, 100.0);
} else {
combo_stop(RightStickUP);
}
}
combo RightStickUP {
set_val(PS4_RY, -100.0);
wait(80);
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: NBA 2k21 Script help
Hi, can someone tell me how to use this script with titan2? Thanks
-
Boris - Sergeant
- Posts: 8
- Joined: Thu Aug 13, 2020 7:28 am
Re: NBA 2k21 Script help
THEVET wrote:Wondering if anyone can convert this, the GPC converting isnt working for me & its giving me all kinds of errors. \
\
Thanks in advance
- Code: Select all
main {
set_val(10, 0);
set_val(20, 0);
if(get_lval(10) > 20) { set_val(20, 100); }
if(get_lval(20)) { set_val(10, 100); }
}
This script is for the green shot?
-
Boris - Sergeant
- Posts: 8
- Joined: Thu Aug 13, 2020 7:28 am
Re: NBA 2k21 Script help
Boris wrote:Hi, can someone tell me how to use this script with titan2? Thanks
To use the script, first open Gtuner IV, then click on menu File -> New -> empty GPC File.
Give a name for the GPC file and click “Create”.
Copy and paste the script code into this new file, Save the file.
To load the script into a memory slot click on File -> Install To -> <memory slot number>
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: NBA 2k21 Script help
J2Kbr wrote:Boris wrote:Hi, can someone tell me how to use this script with titan2? Thanks
To use the script, first open Gtuner IV, then click on menu File -> New -> empty GPC File.
Give a name for the GPC file and click “Create”.
Copy and paste the script code into this new file, Save the file.
To load the script into a memory slot click on File -> Install To -> <memory slot number>
It seems doesn't work. Probably i don't understand the meaning of the script. Which button i should Press on joypad?
Is this script for green shot?
-
Boris - Sergeant
- Posts: 8
- Joined: Thu Aug 13, 2020 7:28 am
44 posts
• Page 1 of 5 • 1, 2, 3, 4, 5
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 131 guests