pubg with titan two
Moderator: antithesis
32 posts
• Page 1 of 4 • 1, 2, 3, 4
pubg with titan two
Hi im using a simple anti recoil script one made by antithesis everytime I use the titan im unable to drive vehicles and get stuck in lean im using it with the apex anyone no whats is going on here?
-
Nate36 - Master Sergeant
- Posts: 41
- Joined: Tue Apr 24, 2018 12:33 am
Re: pubg with titan two
When you get in to drive toggle it off..... then back on when you jump out!
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Re: pubg with titan two
on the titan two?
-
Nate36 - Master Sergeant
- Posts: 41
- Joined: Tue Apr 24, 2018 12:33 am
Re: pubg with titan two
This is what I use for Pubg, with the Apex.
1) This Script does not work when hip firing, You must be aiming down sight.
2) This script relies on the controllers force feed back.
So make sure you have Vibrations turned on in the game settings. otherwise the anti-recoil won't work.
Also don't worry, your controller won't actually vibrate in game.
- Code: Select all
#pragma METAINFO("PUBG Anti-Recoil", 0, 1, "Sillyasskid")
fix32 RECOIL_V, RECOIL_H;
#define StickNoise (6f)
#define ffb_active (ffb_get_actual(FFB_1,0) != 0.0 || ffb_get_actual(FFB_3,0) != 0.0)
#define recoil_vert(a) RECOIL_V = (fix32) a, port_inhibit_ffb(PORT_USB_A), port_inhibit_ffb(PORT_USB_B)
#define recoil_horz(a) RECOIL_H = (fix32) a
init {
recoil_vert(30);
recoil_horz( 0);
}
main {
if(abs(get_actual(STICK_1_X))<StickNoise)set_val(STICK_1_X, 0);
if(abs(get_actual(STICK_1_Y))<StickNoise)set_val(STICK_1_Y, 0);
if((get_actual(BUTTON_8) || get_actual(BUTTON_7)) && get_actual(BUTTON_5)){
if(ffb_active) combo_restart(ffb_active2);
if(ffb_active|ffb_active2)(anti_recoil(STICK_1_Y,RECOIL_V),anti_recoil(STICK_1_X,RECOIL_H));
}
}
void anti_recoil (uint8 axis, fix32 recoil) {
fix32 RY ,RX;
RY = get_actual(STICK_1_Y);
RX = get_actual(STICK_1_X);
if(sqrt(sq(RX)+sq(RY))<=abs(recoil))set_val(axis,(recoil*(1e2-abs(get_val(axis))))/1e2+get_val(axis));
if(abs(RX)>18f|abs(RY)>18f)(set_val(STICK_1_X, RX),set_val(STICK_1_Y, RY));
return;
}
combo ffb_active2 { wait(300); }
1) This Script does not work when hip firing, You must be aiming down sight.
2) This script relies on the controllers force feed back.
So make sure you have Vibrations turned on in the game settings. otherwise the anti-recoil won't work.
Also don't worry, your controller won't actually vibrate in game.
-
Sillyasskid - Captain
- Posts: 574
- Joined: Sat May 14, 2016 3:07 am
Re: pubg with titan two
Sillyasskid wrote:This is what I use for Pubg, with the Apex.Important:
- Code: Select all
#pragma METAINFO("PUBG Anti-Recoil", 0, 1, "Sillyasskid")
fix32 RECOIL_V, RECOIL_H;
#define StickNoise (6f)
#define ffb_active (ffb_get_actual(FFB_1,0) != 0.0 || ffb_get_actual(FFB_3,0) != 0.0)
#define recoil_vert(a) RECOIL_V = (fix32) a, port_inhibit_ffb(PORT_USB_A), port_inhibit_ffb(PORT_USB_B)
#define recoil_horz(a) RECOIL_H = (fix32) a
init {
recoil_vert(30);
recoil_horz( 0);
}
main {
if(abs(get_actual(STICK_1_X))<StickNoise)set_val(STICK_1_X, 0);
if(abs(get_actual(STICK_1_Y))<StickNoise)set_val(STICK_1_Y, 0);
if((get_actual(BUTTON_8) || get_actual(BUTTON_7)) && get_actual(BUTTON_5)){
if(ffb_active) combo_restart(ffb_active2);
if(ffb_active|ffb_active2)(anti_recoil(STICK_1_Y,RECOIL_V),anti_recoil(STICK_1_X,RECOIL_H));
}
}
void anti_recoil (uint8 axis, fix32 recoil) {
fix32 RY ,RX;
RY = get_actual(STICK_1_Y);
RX = get_actual(STICK_1_X);
if(sqrt(sq(RX)+sq(RY))<=abs(recoil))set_val(axis,(recoil*(1e2-abs(get_val(axis))))/1e2+get_val(axis));
if(abs(RX)>18f|abs(RY)>18f)(set_val(STICK_1_X, RX),set_val(STICK_1_Y, RY));
return;
}
combo ffb_active2 { wait(300); }
1) This Script does not work when hip firing, You must be aiming down sight.
2) This script relies on the controllers force feed back.
So make sure you have Vibrations turned on in the game settings. otherwise the anti-recoil won't work.
Also don't worry, your controller won't actually vibrate in game.
Thanks bro ill give it a go.
-
Nate36 - Master Sergeant
- Posts: 41
- Joined: Tue Apr 24, 2018 12:33 am
Re: pubg with titan two
Does this script auto hold breath?
-
Joshcurry88 - Sergeant
- Posts: 9
- Joined: Tue Aug 21, 2018 1:16 am
Re: pubg with titan two
Joshcurry88 wrote:Does this script auto hold breath?
The above script is for anti-recoil only.
Copy-paste the following code at the end of the script to add auto hold breath:
- Code: Select all
main {
// AUTO HOLD BREATH
if(get_actual(BUTTON_8) && time_active(BUTTON_8) > 150) {
set_val(BUTTON_7, 100.0);
}
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: pubg with titan two
Hi is there a rapid fire I could add to this but have it able to turn on and off?
thanks
thanks
-
Nate36 - Master Sergeant
- Posts: 41
- Joined: Tue Apr 24, 2018 12:33 am
Re: pubg with titan two
Nate36 wrote:Hi is there a rapid fire I could add to this but have it able to turn on and off?
thanks
Sure, see below (VIEW + RT to toggle rapidfire).
- Code: Select all
bool toggle;
main {
// VIEW + RT to toggle rapidfire
if(get_val(BUTTON_2) && event_active(BUTTON_5)) {
toggle = !toggle;
}
if(toggle) {
if(get_val(BUTTON_5)) {
combo_run(Rapidfire);
}
}
// AUTO HOLD BREATH
if(get_actual(BUTTON_8) && time_active(BUTTON_8) > 150) {
set_val(BUTTON_7, 100.0);
}
}
combo Rapidfire {
set_val(BUTTON_5, 100.0);
wait(40);
set_val(BUTTON_5, 0.0);
wait(39);
set_val(BUTTON_5, 0.0);
}
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: pubg with titan two
can u make script > it hold breath when i fire
-
TheOne - Sergeant First Class
- Posts: 21
- Joined: Mon Aug 13, 2018 7:43 pm
32 posts
• Page 1 of 4 • 1, 2, 3, 4
Return to XIM Apex, XIM4, XIM Edge with Titan devices
Who is online
Users browsing this forum: No registered users and 63 guests