Help Request: Convert Fortnite Script to Titan One
32 posts
• Page 4 of 4 • 1, 2, 3, 4
Re: Help Request: Convert Fortnite Script to Titan One
J2Kbr wrote:I am going prioritize the Titan One Gamepack release for this game, including on it "insta build" mods that are present in gamepack for the Titan Two.
there is insta build mods oh god please i will love when you release the titan one version
-
gohun9008 - First Sergeant
- Posts: 63
- Joined: Sun Sep 13, 2015 2:37 pm
Re: Help Request: Convert Fortnite Script to Titan One
Why does the script get deactivated when I press L3? This is really annoying..
I modified the script to my needs:
I modified the script to my needs:
- Code: Select all
//L2 Aim Improved Doubletab R3 Autosprint L3 Wiggle Double Tab Circle Change Material.
define TOGGLE_BUTTON = PS4_LEFT;
define LeftTrigger = PS4_L2;
define FIRE_BUTTON = PS4_R2;
define SPRINT_BUTTON = PS4_L3;
define rapidFireSpeed = 11;
define BunnyHopX = PS4_CROSS;
define ANTIRECOIL_FORCE = 25;
int dtap_flag;
int b_Run = 0;
int MSElapsed = 0;
int ButtonPressSpeed = 40;
int ButtonPressHold = 320;
int toggle;
int ar_tmp;
int RIGHT_TRIGGER = XB1_RT;
int toggle_aim = TRUE;
main {
if(event_press(PS4_RIGHT)) {
toggle_aim = !toggle_aim;
}
if(toggle_aim) {
//L2Aim
MSElapsed = MSElapsed + get_rtime();
if(MSElapsed >= ButtonPressHold) {
if(get_val(LeftTrigger) >= 90){
set_val(LeftTrigger, 0);
}
}
if(MSElapsed >= ButtonPressHold+ButtonPressSpeed) {
MSElapsed = MSElapsed - (ButtonPressHold+ButtonPressSpeed);
}
}
// On/Off (left or right d-pad)
if(event_press(TOGGLE_BUTTON)) {
toggle = !toggle;
}
if(toggle) {
// RAPIDFIRE
if(get_val(PS4_R2)) {
combo_run(Rapidfire);
}
// No Recoil
if(get_val(FIRE_BUTTON)) {
combo_run(AntiRecoil);
}
// Bunnyhop
if(get_val(BunnyHopX)) {
combo_run(EasyJump);
}
// Autosprint
if(get_val(XB1_LY) < -90) {
set_val(XB1_LS, 100);
}
}
}
combo Rapidfire {
set_val(RIGHT_TRIGGER, 100);
wait(rapidFireSpeed);
set_val(RIGHT_TRIGGER, 0);
wait(rapidFireSpeed);
}
combo EasyJump {
set_val(PS4_CROSS, 100);
wait(120);
set_val(PS4_CROSS, 0);
wait(400);
}
combo AntiRecoil { // This combo must be the last one
ar_tmp = get_val(PS4_RY) + ANTIRECOIL_FORCE;
if(ar_tmp > 100) ar_tmp = 100;
else if(ar_tmp < -100) ar_tmp = -100;
set_val(PS4_RY, ar_tmp);
}
-
seyko - Sergeant First Class
- Posts: 16
- Joined: Fri Dec 11, 2015 8:37 pm
32 posts
• Page 4 of 4 • 1, 2, 3, 4
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 85 guests