Special Anti-Recoil for XIM4 and XIM Apex

Documentation, usage tips and configuration guides for Titan Two scripts and bytecodes published by the community users.

Re: Special Anti-Recoil for XIM4 and XIM Apex

Postby alanmcgregor » Thu Jun 27, 2019 5:02 am

UPDATE ver 2.0

Added: 4 Slots for Anti-Recoil presets.

To load an specifc AntiRecoil in-game:
Hold L2|LT Press Slot Button Release L2|LT

Where:
Slot N: BUTTON - Titan Two LED
Slot 1: UP D-PAD - Red LED
Slot 2: DOWN D-PAD - Green LED
Slot 3: RIGHT D-PAD - Blue LED
Slot 4: LEFT D-PAD - White LED

Set the values for each slot at the Interactive Configurator Interface

There you go, more options. :smile0517:
User avatar
alanmcgregor
Major
Major
 
Posts: 981
Joined: Tue Mar 27, 2018 8:38 am

Re: Special Anti-Recoil for XIM4 and XIM Apex

Postby Tahsin » Thu Jun 27, 2019 10:44 pm

alanmcgregor wrote:UPDATE ver 2.0

Added: 4 Slots for Anti-Recoil presets.

To load an specifc AntiRecoil in-game:
Hold L2|LT Press Slot Button Release L2|LT

Where:
Slot N: BUTTON - Titan Two LED
Slot 1: UP D-PAD - Red LED
Slot 2: DOWN D-PAD - Green LED
Slot 3: RIGHT D-PAD - Blue LED
Slot 4: LEFT D-PAD - White LED

Set the values for each slot at the Interactive Configurator Interface

There you go, more options. :smile0517:

Nice work i whil try it soon ..
User avatar
Tahsin
Sergeant Major
Sergeant Major
 
Posts: 100
Joined: Wed May 15, 2019 7:57 am

Re: Special Anti-Recoil for XIM4 and XIM Apex

Postby alanmcgregor » Fri Jun 28, 2019 1:23 am

HUGE UPDATE ver 3.0

4 Slots for fully customize Weapons

Each slot features individual and optional Anti-Recoil and Rapid-Fire settings. You can set:
+ How apply the anti-recoil (HIP only, ADS only, both),
+ Recoil compensation force,
+ Delay before the anti-recoil kicks in.
+ Optional Rapid-fire for that specific slot,
+ Customize burst timing.

These settings can be customized on the Interactive Interface Configurator:
Image

You can select the slot in game, by:
--[Slot Selection On-Fly]--
Hold L2|LT Press Slot Button Release L2|LT
Where:
Slot N: BUTTON
Slot 1: UP D-PAD
Slot 2: DOWN D-PAD
Slot 3: RIGHT D-PAD
Slot 4: LEFT D-PAD

There is not longer Anti-Recoil or RapidFire toggles ingame, on each slot you should set if you want anti-recoil or rapidfire for easier use. :smile0517: :joia:

Donation Jar:
Image
User avatar
alanmcgregor
Major
Major
 
Posts: 981
Joined: Tue Mar 27, 2018 8:38 am

Re: Special Anti-Recoil for XIM4 and XIM Apex

Postby Tahsin » Fri Jun 28, 2019 5:57 pm

This update's work well but rapid fire on == off and off =on
thanks man
User avatar
Tahsin
Sergeant Major
Sergeant Major
 
Posts: 100
Joined: Wed May 15, 2019 7:57 am

Re: Special Anti-Recoil for XIM4 and XIM Apex

Postby BakingSoda » Mon Jul 01, 2019 12:43 am

First time user! Where can I find the script for UPDATE ver 3.0?

Thanks in advance
User avatar
BakingSoda
Private
Private
 
Posts: 1
Joined: Sun Jun 23, 2019 5:50 am

Re: Special Anti-Recoil for XIM4 and XIM Apex

Postby alanmcgregor » Mon Jul 01, 2019 3:01 am

Tahsin wrote:This update's work well but rapid fire on == off and off =on
thanks man

Ops, yep is fixed. :)

BakingSoda wrote:First time user! Where can I find the script for UPDATE ver 3.0?

Thanks in advance

At GTunerIV / Online Resources, search for "alanmcgregor" is at the bottom of the list.
User avatar
alanmcgregor
Major
Major
 
Posts: 981
Joined: Tue Mar 27, 2018 8:38 am

Re: Special Anti-Recoil for XIM4 and XIM Apex

Postby gasknr » Tue Jul 02, 2019 11:57 am

Can we expect to see numpad support for slot allocation for this script in the future, the on the fly commands are great but, numpad is king ?)
User avatar
gasknr
Sergeant First Class
Sergeant First Class
 
Posts: 20
Joined: Sun Dec 03, 2017 12:29 am

Re: Special Anti-Recoil for XIM4 and XIM Apex

Postby alanmcgregor » Tue Jul 02, 2019 5:11 pm

gasknr wrote:Can we expect to see numpad support for slot allocation for this script in the future, the on the fly commands are great but, numpad is king ?)

Indeed :)

I tried a but seems that anti-recoil code is crashes with the xkeys library (enables num keypad support) I got random purple lights (USB offsync) at 1000Hz; haven't tested thoroughly at 500Hz or lower. At 1000Hz I can only use 2 keys without issues.

Should we try on the next update?
User avatar
alanmcgregor
Major
Major
 
Posts: 981
Joined: Tue Mar 27, 2018 8:38 am

Re: Special Anti-Recoil for XIM4 and XIM Apex

Postby Scachi » Tue Jul 02, 2019 5:43 pm

alanmcgregor wrote:
gasknr wrote:Can we expect to see numpad support for slot allocation for this script in the future, the on the fly commands are great but, numpad is king ?)

Indeed :)

I tried a but seems that anti-recoil code is crashes with the xkeys library (enables num keypad support) I got random purple lights (USB offsync) at 1000Hz; haven't tested thoroughly at 500Hz or lower. At 1000Hz I can only use 2 keys without issues.

Should we try on the next update?

xkeys is based on some early code posted by j2kbr long time ago. I tried my best to improve the performance with the xkeys header but it isn't to easy on the cpu because of the for loop stuff.
If you need something like 9 keys with an event_active like only you hav a better perfomance by coding the event_active like with simple flags or running some combo with simple wait(time) for each key to block the key input for a specific time after a press and reset the flag after the wait time line in the combo..
Or you can try the code I have posted there -> viewtopic.php?f=26&t=12797&hilit=xkeys#p85507
As mentioned in this post create the file "xin.gph" with the content from the first code part in this post.
Replace the two lines of xkeys (include and define) in your script to xin like mentioned in the second code part.
No more changes required. Give it a test if it runs faster and if you keys are still working. Don't use the mouse stuff from within in this xin.gph .. that part isn't working at all.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Special Anti-Recoil for XIM4 and XIM Apex

Postby alanmcgregor » Tue Jul 02, 2019 6:04 pm

Awesome!.

Thanks Scachi, I must definitely going to try that out. :smile0517:
User avatar
alanmcgregor
Major
Major
 
Posts: 981
Joined: Tue Mar 27, 2018 8:38 am

PreviousNext

Return to User's Script Documentation

Who is online

Users browsing this forum: No registered users and 108 guests