Need help to add 1 more slot to Scachi Pubgv2 CFG

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

Need help to add 1 more slot to Scachi Pubgv2 CFG

Postby Tahsin » Sun Aug 22, 2021 5:50 pm

HI i'm working on @Scachi Pubg v2 script to add one more slot
but i can't figur how to add exacte bytofset to register values after i change it in menu it didn't change
any help please
i've added 6th slot and here is the code

Code: Select all
/* *****************************************************************************
<cfgdesc>
[PlayerUnknown's Battlegrounds]
collapsible = 1
border        = 1
shortdesc      = <<<MULTILINE
<table><tr><td width=50%></td><h3>Features</h3><td width=50%><a href="https://www.paypal.me/scachi">Donate</a></td><td><a href="https://www.consoletuner.com/forum/viewtopic.php?f=23&t=14772#p95505">DOC</a></td></tr>
</table><br>
Stance and Weapon Slot tracking.
5 slots of customizeable Anti Recoil/Rapid Fire settings, switch by button combination or keyboard.
Optional Anti Recoil Autostop using rumble detection and speech output for On/Off/Config selection.
 
<font size=4><b>Runtime Operations</b></font> (colors indicate the T2 LED feedback)
 
<b><u>Script</u> - Enable/disable</b>
Hold <b>[L2|LT] + </b>Press <b>[Touch-Click|View] + [CROSS|A]</b>
or with key <b>KEY_PAD_0</b>
 
<b><u>Stance tracking</u> - Fix out of sync</b>
Press of Jump button will always reset the stance to Standing.
Hold <b>[L2|LT] + </b>Press <b>[Touch-Click|View] + [Circle|B]</b>
or with key <b>KEY_PADHYPHEN (-)</b>
switches stand/crouch/prone without changing your real stance in-game
 
<b><u>Rapid Fire</u> of current weapon slot - Enable/disable </b>
Hold <b>[L2|LT] + </b>Press <b>[Touch-Click|View] + [Fire Button]</b>
or with key <b>KEY_PADPERIOD</b>
 
<b><u>Anti Recoil</u> of current weapon slot - Enable/disable </b>
Hold <b>[L2|LT] + </b>Press <b>[Touch-Click|View] + [R3|RS]</b>
or with key <b>KEY_PADENTER</b>
 
<b><u>Weapon Configuration Set</u> of current weapon slot - Select</b>
Hold <b>[L2|LT] + </b>Press <b>[Touch-Click|View] +  </b>
<b><font color=#008000>DPAD-Up</font>, <font color=#e81818>DPAD-Right</font>, <font color=#af30cb>DPAD-Down</font>, <font color=blue>DPAD-Left</font>, <font color=darkorange>Triangle|Y</font></b>
or
with keys <b><font color=#008000>KEY_PAD1</font>, <font color=#e81818>KEY_PAD2</font>, <font color=#af30cb>KEY_PAD3</font>, <font color=blue>KEY_PAD4</font>, <font color=darkorange>KEY_PAD5</font></b>
 
<b><u>Weapon slot tracking</u> - Fix out of sync <font color=#008000>primary</font>, <font color=#e81818>secondary</font>, <font color=#af30cb>sidearm</font></b>
Hold <b>[L3|LS] + </b>Press <b>[<font color=#008000>TRIA</font><font color=#e81818>NGLE</font>|Y]</b> to toggle between <font color=#008000>primary</font>/<font color=#e81818>secondary</font>.
OR </b>Press <b><font color=#af30cb>DPAD_UP</font></b> to set to sidearm
or
with keys <b><font color=#008000>KEY_PAD7</font>, <font color=#e81818>KEY_PAD8</font>, <font color=#af30cb>KEY_PAD9</font></b>
 
MULTILINE
control        = info
*/

 
/*^* Stance Tracking Notes
[Stance Tracking NOTES]
collapsible    = 2
shortdesc   = <<<MULTILINE
The script tries to track your current stance by monitoring your crouch button.
The stance is used to add a modifier to the anti recoil value as the weapons recoil is different while standing / crouching / prone / ots.
To use the same value for all stance set all FACTOR values to "1" in the "Configuration #&lt;nr&gt;" sections.
The estimated stance is indicated by the T2 segment display:
Segment Display: 3 horizontal bars = standing, 2 bars = duck, 1 bar = prone
 
<b>PLEASE NOTE:</b>
It is not possible to make this 100% reliable as the inventory makes usage of the circle button too.
 
To avoid the stance tracking to go out of sync use the Inventory button to OPEN and CLOSE the inventory (or the map button in case of the map).
Do not use the circle button for that.
When in inventory you can hold [L2|LT] while pressing circle to stay in inventory mode (like when aborting a slot swap)
 
To fix the tracking when it is out of sync:
Press of Jump button will always reset the stance to Standing.
Hold <b>[L2|LT] + </b>Press <b>[Touch-Click|View] + [Circle|B]</b>
or with key <b>KEY_PADHYPHEN (-)</b>
switches stand/crouch/prone without changing your real stance in-game
MULTILINE
control = info
*/

 
/*^* Weapon Slot Tracking Notes
[Weapon Slot Tracking NOTES]
collapsible    = 2
shortdesc   = <<<MULTILINE
The script tries to track your currently used Weapon Slot by monitoring your weapon change button.
This enabled the script to have use a different recoil for your primary/secondary and sidearm weapon.
The estimated active weapon slot is indicated by the T2 LED and segment display.
Colors: <font color=#008000>GREEN: primary</font> / <font color=#e81818>RED: secondary</font> / <font color=#af30cb>PURPLE: sidearm</font>
Segments: top-left = primary, top-right = secondary, top-left+right = sidearm, bottom-right = grenade/throw mode
 
You can disable the tracking if you want to use one weapon configuration at a time only.
 
To fix the Weapon slot tracking when it is out of sync:
Hold <b>[L3|LS] + </b>Press <b>[<font color=#008000>TRIA</font><font color=#e81818>NGLE</font>|Y]</b> to toggle between <font color=#008000>primary</font>/<font color=#e81818>secondary</font>.
OR </b>Press <b><font color=#af30cb>DPAD_UP</font></b> to set to sidearm
or
with keys <b><font color=#008000>KEY_PAD7</font>, <font color=#e81818>KEY_PAD8</font>, <font color=#af30cb>KEY_PAD9</font></b>
 
MULTILINE
control = info
*/

 
 
 
/*^* Direct Keyboard/Mouse Multi IT
[Direct Keyboard/Mouse Multi IT NOTES *Expert Users*]
collapsible    = 2
shortdesc   = <<<MULTILINE
For directly connected mouse and keyboard with multiple git files for different mappings and translation curves for different actions like hip,ads,inventory,softaim.
If you want to change the mappings you need to download the git file archive and unzip into the same directory where GTuner IV saved the file from the Online Resource.
There is also a small video available on how to change/modify a specific mapping.
The xim_mapping.pdf file shows the mapping of default configuration as defined in the directKM.gph file.
<a href="https://www.dropbox.com/sh/3xfbnrfro2vux1q/AABqLOYJ660DjW1upz7vtPWXa?dl=0">Git Files and Video at DropBox</a>.
Open the file directKM.gph, there are sections with comments to indicate which git file is used for.
 
Small Example:
If you want to copy over the keyboard mapping of your own input translator file:
Open your input translator file, alt-click on the copy button of the "Keyboard Mapping" Section.
Now open the directKM.gph file, scroll down to "KEYBOARD MAPPING" (starting at line 47) and paste it in the line you want to use this keyboard mapping for.
If you want to use this for ADS and HIP, paste your clipboard line to both lines "kmap_hip" and "kmap_ads" (only replace the stuff right of the = character, keep the name as it is in the directKM.gph file).
Then reinstall this script to the T2 slot and reload the slot to apply the changes.
MULTILINE
control = info
*/

 
/*^* Main Settings
[Main Settings]
collapsible = 1
shortdesc   = <b>Script</b> on Slot Load
byteoffset  = 0
bitsize     = 1
bitoffset   = 0
control     = checkbox
default     = 1
item        = Enabled
 
[Controller Setup]
group        = true
shortdesc    = <<<MULTILINE
 
<b>Controller Setup</b>
Select the Controller Configuration you have selected In-Game:
Currently supported: Typ-A and Type-B
MULTILINE
byteoffset    = 1
bitsize        = 8
control        = combobox
default        = 1
item        = Type-A (ADS toggle)
item        = Type-B (ADS hold)
 
[Weapon Slot Tracking]
group        = true
shortdesc    = <<<MULTILINE
 
<b>Weapon Slot Tracking</b>
The script tries to estimate your currently used weapon slot by monitoring your weapon change button.
The LED will indicate the currently used weapon slot:
<b><font color=#008000>Primary</font>, <font color=#e81818>Secondary</font>, <font color=#af30cb>Sidearm</font></b>
When disable it will use the <b><font color=#008000>Primary</font></b> weapon slot only.
Segment display indicator vertical bars:
top-left = primary, top-right = secondary, top-left+right = sidearm, bottom-right = grenade mode
MULTILINE
byteoffset    = 39
bitsize        = 2
bitoffset   = 6
control        = combobox
default        = 1
item        = Disabled      (Primary slot only)
item        = Enabled      (Primary/Secondary/Sidearm/Grenade Mode)
item        = Limited        (Primary slot + Grenade Mode)
 
 
[Speech]
group        = true
shortdesc   = <<<MULTILINE
 
<b>Speech Output</b> on Script On/Off and Config selection
Requires your PC running GTuner IV or phone/tablet running GTuner Air.
MULTILINE
byteoffset  = 0
bitsize     = 1
bitoffset   = 1
control     = checkbox
default     = 0
item        = Enable Script Toggle Speech Notification
 
[Speech2]
group        = true
shortdesc   =
byteoffset  = 0
bitsize     = 1
bitoffset   = 7
control     = checkbox
default     = 0
item        = Enable Weapon Slot Change Speech Notification
 
[T2 Lightbar Display Weapon Slot]
group        = true
shortdesc   = <<<MULTILINE
 
<b>T2 LED/Lightbar Feedback</b>
<b>Weapontracking Feedback</b> - LED indicate active weapon slot <font color=#008000>primary</font>, <font color=#e81818>secondary</font>, <font color=#af30cb>sidearm</font></b>
MULTILINE
byteoffset  = 0
bitsize     = 1
bitoffset   = 6
control     = checkbox
default     = 1
item        = Enable (green = primary, red = secondary, purple = sidearm)
 
 
[T2 Segment Display Stance]
group        = true
shortdesc   = <<<MULTILINE
 
<b>T2 Segment Display Feedback</b>
<b>Stance Feedback</b> - Horizontal bars are displayed for the current detected stance.
MULTILINE
byteoffset  = 0
bitsize     = 1
bitoffset   = 4
control     = checkbox
default     = 1
item        = Enable (3 bars = standing, 2 bars = duck, 1 bar = prone)
 
[T2 Segment Display Weapon Slot]
group        = true
shortdesc   = <<<MULTILINE
<b>Weapontracking Feedback</b> - Vertical bars are displayed for the active weapon slot.
MULTILINE
byteoffset  = 0
bitsize     = 1
bitoffset   = 5
control     = checkbox
default     = 1
item        = Enable (top-left =primary, top-right = secondary, top-left+right = sidearm)
 
 
[ARRF Autostop]
group     = true
shortdesc    = <<<MULTILINE
 
<b>Autostop AR+RF</b> - Will stop applying anti recoil and rapid fire when no rumble is found.
<b>REQUIRES rumble to be enabled in-game</b>.
Automatically stops your gun being pulled down/fired when your mag runs out of bullets.
<b>Rumble to monitor</b>
MULTILINE
byteoffset    = 10
bitsize        = 8
control        = combobox
default        = 0
item        = DISABLED - select a Rumble to monitor.
item        = FFB_1
item        = FFB_2
item        = FFB_3
item        = FFB_4
 
[ARRF Autostop Timelimit Rumble]
group         = true
shortdesc    = <b>Rumble Timeout</b> - If no newer rumble is found the anti recoil + rapid fire will stop
byteoffset    = 11
bitsize        = 16
control        = spinbox
default        = 260
step        = 1
minimum        = 0
maximum        = 500
 
[ARRF Autostop Minimum Time Firebutton]
group         = true
shortdesc    = <<<MULTILINE
<b>First Check Delay</b> - When start firing wait this time before doing a check for rumble.
The first rumble happens after a short delay when pressing the fire button.
MULTILINE
byteoffset    = 13
bitsize        = 16
control        = spinbox
default        = 260
step        = 1
minimum        = 0
maximum        = 500
*/

 
/*^* Default Loadout
[Default Loadout]
border        = 1
collapsible = 1
shortdesc      = <<<MULTILINE
<b>Default Weapon Settings per Weaponslot</b>
Select the default configurations to use for Primary, Secondary, Sidearm.
MULTILINE
control         = info
 
[Primary]
group        = 1
shortdesc    = <<<MULTILINE
<b>Primary Weapon</b>
MULTILINE
byteoffset    = 125
bitsize        = 8
control        = combobox
default        = 0
item        = Config #1
item        = Config #2
item        = Config #3
item        = Config #4
item        = Config #5
item        = Config #6
 
[Primary Recoil]
group        = 1
shortdesc    =
byteoffset    = 38
bitsize        = 1
bitoffset    = 0
control        = checkbox
default        = 1
item        = Use Anti Recoil
 
 
[Secondary]
group        = 1
shortdesc    = <<<MULTILINE
<b>Secondary Weapon</b>
MULTILINE
byteoffset    = 126
bitsize        = 8
control        = combobox
default        = 1
item        = Config #1
item        = Config #2
item        = Config #3
item        = Config #4
item        = Config #5
item        = Config #6
 
[Secondary Recoil]
group        = 1
shortdesc    =
byteoffset    = 38
bitsize        = 1
bitoffset    = 1
control        = checkbox
default        = 1
item        = Use Anti Recoil
 
 
 
[Sidearm]
group        = 1
shortdesc    = <<<MULTILINE
<b>Sidarm Weapon</b>
MULTILINE
byteoffset    = 127
bitsize        = 8
control        = combobox
default        = 4
item        = Config #1
item        = Config #2
item        = Config #3
item        = Config #4
item        = Config #5
item        = Config #6
 
[Sidearm Recoil]
group        = 1
shortdesc    =
byteoffset    = 38
bitsize        = 1
bitoffset    = 2
control        = checkbox
default        = 1
item        = Use Anti Recoil
 
 
*/

 
 
/*^*
[Anti Recoil Settings]
collapsible = 1
control     = info
border        = 1
shortdesc    =
 
[Min Anti Recoil Percent]
group          = true
shortdesc      = <<<MULTILINE
<b>Minimum Percentage</b> - of Anti Recoil to apply during aim stick movement.
MULTILINE
byteoffset     = 6
bitsize        = 16
control        = spinboxf
default        = 130
minimum        = 0
maximum        = 1000
step           = 1
decimals       = 1
 
[Stick Noise Remover]
group          = true
shortdesc      = <b>Stick Noise</b> - Set to the resting dead zone values for your right stick.
byteoffset     = 8
bitsize        = 16
control        = spinboxf
default        = 500
minimum        = 0
maximum        = 10000
step           = 10
decimals       = 2
*/

 
 
/*^* Anti Recoil Info
[Information]
group   = true
group    = false
control    = info
shortdesc = <<<MULTILINE
 
<b>NOTES:</b>
<b>Anti Recoil Delay Values</b>
The Anti Recoil Delay is the time (in ms) when to start to apply the configured compensation after fire button is being pressed.
 
<b>Anti Recoil Force Values</b>
All values configured are for ADS firing while Standing. For HIP firing and other stances you can reduce the anti recoil value by adjusting the factors.
A factor of 1.00 will result in using the same value for HIP/stance as it uses for ADS.
A factor of 0.00 will turn off anti recoil for that stance.
MULTILINE
*/

 
 
/*^* Rapid Fire General Settings
[Rapid Fire Settings]
collapsible = 1
control     = info
border        = 1
shortdesc    =
 
[Rapid Fire Mode]
group     = true
shortdesc    = <<<MULTILINE
<b>Rapid Fire Mode</b> - How to use/activate rapid fire
In both cases <b>Rapid Fire needs to be enabled</b> in the "<b>Default Loadout</b>" of the Weapons Slot for it to work or manually enabled via in-game toggles:
<b>Enable/disable Rapid Fire of current weapon slot</b>
Hold <b>[L2|LT] + </b>Press <b>[Touch-Click|View] + [Fire Button]</b>
or with key <b>KEY_PADPERIOD</b>
MULTILINE
byteoffset    = 15
bitsize        = 8
control        = combobox
default        = 0
item        = Mode 1: Always On
item        = Mode 2: Fire Button: Press->Release->Hold
 
[Rapid Fire Tap Time Limit]
group        = 1
shortdesc   = <<<MULTILINE
<b>Press Time Limit</b> for "Mode 2" mode
MULTILINE
byteoffset  = 16
bitsize     = 8
control     = spinbox
default     = 150
minimum     = 100
maximum     = 250
step        = 1
*/

 
/*^* Configuration #1
[Configuration #1]
collapsible    = 1
color          = #008000
group          = false
border           = 2
shortdesc      =
control        = info
 
[Configuration Presets #1]
group           = true
shortdesc       = Some preconfigured Weapon Settings
control           = config
item           = AKM AllDef:#28:0000012C0514#46:2A2A2E#55:00A300EB00CC00CC
item           = AKM GSen20,AimAcc10,OTS10,ADS20:#28:0000012C0514#46:161618#55:00A300EB00CC00CC
item           = M416 GSen20,AimAcc10,OTS10,ADS20:#28:0000012C0514#46:14181A#55:00A300EB00CC00CC
item           = SCAR-L GSen20,AimAcc10,OTS10,ADS20:#28:0000012C0514#46:121719#55:00A300EB00CC00CC
item           = BERYL M762 GSen20,AimAcc10,OTS10,ADS20:#28:0000012C0514#46:17191A#55:00A300EB00CC00CC
 
[Anti Recoil Delay 1 #1]
group          = true
shortdesc      = <<<MULTILINE
<b>ANTI RECOIL</b>
<b>1. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
MULTILINE
byteoffset     = 40
bitsize        = 16
control        = spinbox
default        = 0
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 1 #1]
group          = true
shortdesc      = <b>1. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 70
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil Delay 2 #1]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 42
bitsize        = 16
control        = spinbox
default        = 300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 2 #1]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 71
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
 
[Anti Recoil Delay 3 #1]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 44
bitsize        = 16
control        = spinbox
default        = 1300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 3 #1]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 72
bitsize        = 8
control        = spinbox
default        = 46
minimum        = -100
maximum        = 100
step           = 1
 
 
[Anti Recoil HIP #1]
group          = true
shortdesc      = <<<MULTILINE
<b>HIP FACTOR - Anti Recoil</b> factor for HIP fire:
MULTILINE
byteoffset     = 85
bitsize        = 16
control        = spinboxf
default        = 064
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil DUCK #1]
group          = true
shortdesc      = <<<MULTILINE
<b>DUCK FACTOR - Anti Recoil</b> factor for DUCK fire:
MULTILINE
byteoffset     = 87
bitsize        = 16
control        = spinboxf
default        = 092
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil PRONE #1]
group          = true
shortdesc      = <<<MULTILINE
<b>PRONE FACTOR - Anti Recoil</b> factor for PRONE fire:
MULTILINE
byteoffset     = 89
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil OTS #1]
group          = true
shortdesc      = <<<MULTILINE
<b>OTS FACTOR - Anti Recoil</b> factor for OTS fire:
MULTILINE
byteoffset     = 91
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Rapid Fire onLoad #1]
group        = 1
shortdesc      = <<<MULTILINE
 
<b>RAPID FIRE</b>
<b>Default state on Load</b> - Set Rapid Fire to enable when loading into Weapon Slot
MULTILINE
byteoffset    = 39
bitsize        = 1
bitoffset    = 0
control        = checkbox
default        = 0
item        = Enable Rapid Fire
 
[Rapid Fire Anti Recoil #1]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fires Anti Recoil Mode</b> - Use of Anti Recoil during Rapid Fire
MULTILINE
byteoffset    = 17
bitsize        = 8
control        = combobox
default        = 1
item        = Mode 0: DISABLED : No Anti Recoil during Rapid Fire
item        = Mode 1: on FIRE
item        = Mode 2: on WAIT
 
[Rapidfire HOLD Settings #1]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : FIRE Time</b> - Set to desired hold length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 22
bitsize        = 8
control        = spinbox
default        = 4
minimum        = 1
maximum        = 255
step           = 1
 
[Rapidfire WAIT Settings #1]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : WAIT Time</b> - Set to desired wait length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 23
bitsize        = 8
control        = spinbox
default        = 2
minimum        = 1
maximum        = 255
step           = 1
*/

 
/*^* Configuration #2
[Configuration #2]
collapsible    = 1
color          = #e81818
group          = false
border           = 2
shortdesc      =
control        = info
 
[Configuration Presets #2]
group           = true
shortdesc       = Some preconfigured Weapon Settings
control           = config
item           = AKM AllDef:#2E:0000012C0514#49:2A2A2E#5D:00A300EB00CC00CC
item           = AKM GSen20,AimAcc10,OTS10,ADS20:#2E:0000012C0514#49:161618#5D:00A300EB00CC00CC
item           = M416 GSen20,AimAcc10,OTS10,ADS20:#2E:0000012C0514#49:14181A#5D:00A300EB00CC00CC
item           = SCAR-L GSen20,AimAcc10,OTS10,ADS20:#2E:0000012C0514#49:121719#5D:00A300EB00CC00CC
item           = BERYL M762 GSen20,AimAcc10,OTS10,ADS20:#2E:0000012C0514#49:17191A#5D:00A300EB00CC00CC
 
[Anti Recoil Delay 1 #2]
group          = true
shortdesc      = <<<MULTILINE
<b>ANTI RECOIL</b>
<b>1. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
MULTILINE
byteoffset     = 46
bitsize        = 16
control        = spinbox
default        = 0
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 1 #2]
group          = true
shortdesc      = <b>1. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 73
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
 
[Anti Recoil Delay 2 #2]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 48
bitsize        = 16
control        = spinbox
default        = 300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 2 #2]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 74
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil Delay 3 #2]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 50
bitsize        = 16
control        = spinbox
default        = 1300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 3 #2]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 75
bitsize        = 8
control        = spinbox
default        = 46
minimum        = -100
maximum        = 100
step           = 1
 
 
[Anti Recoil HIP #2]
group          = true
shortdesc      = <<<MULTILINE
<b>HIP FACTOR - Anti Recoil</b> factor for HIP fire:
MULTILINE
byteoffset     = 93
bitsize        = 16
control        = spinboxf
default        = 064
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil DUCK #2]
group          = true
shortdesc      = <<<MULTILINE
<b>DUCK FACTOR - Anti Recoil</b> factor for DUCK fire:
MULTILINE
byteoffset     = 95
bitsize        = 16
control        = spinboxf
default        = 092
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil PRONE #2]
group          = true
shortdesc      = <<<MULTILINE
<b>PRONE FACTOR - Anti Recoil</b> factor for PRONE fire:
MULTILINE
byteoffset     = 97
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil OTS #2]
group          = true
shortdesc      = <<<MULTILINE
<b>OTS FACTOR - Anti Recoil</b> factor for OTS fire:
MULTILINE
byteoffset     = 99
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Rapid Fire onLoad #2]
group        = 1
shortdesc      = <<<MULTILINE
 
<b>RAPID FIRE</b>
<b>Default state on Load</b> - Set Rapid Fire to enable when loading into Weapon Slot
MULTILINE
byteoffset    = 39
bitsize        = 1
bitoffset    = 1
control        = checkbox
default        = 0
item        = Enable Rapid Fire
 
[Rapid Fire Anti Recoil #2]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fires Anti Recoil Mode</b> - Use of Anti Recoil during Rapid Fire
MULTILINE
byteoffset    = 18
bitsize        = 8
control        = combobox
default        = 1
item        = Mode 0: DISABLED : No Anti Recoil during Rapid Fire
item        = Mode 1: on FIRE
item        = Mode 2: on WAIT
 
[Rapidfire HOLD Settings #2]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : FIRE Time</b> - Set to desired hold length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 24
bitsize        = 8
control        = spinbox
default        = 4
minimum        = 1
maximum        = 255
step           = 1
 
[Rapidfire WAIT Settings #2]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : WAIT Time</b> - Set to desired wait length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 25
bitsize        = 8
control        = spinbox
default        = 2
minimum        = 1
maximum        = 255
step           = 1
*/

 
/*^* Configuration #3
[Configuration #3]
collapsible    = 1
color          = #af30cb
group          = false
border           = 2
shortdesc      =
control        = info
 
[Configuration Presets #3]
group           = true
shortdesc       = Some preconfigured Weapon Settings
control           = config
item           = AKM AllDef:#34:0000012C0514#4C:2A2A2E#65:00A300EB00CC00CC
item           = AKM GSen20,AimAcc10,OTS10,ADS20:#34:0000012C0514#4C:161618#65:00A300EB00CC00CC
item           = M416 GSen20,AimAcc10,OTS10,ADS20:#34:0000012C0514#4C:14181A#65:00A300EB00CC00CC
item           = SCAR-L GSen20,AimAcc10,OTS10,ADS20:#34:0000012C0514#4C:121719#65:00A300EB00CC00CC
item           = BERYL M762 GSen20,AimAcc10,OTS10,ADS20:#34:0000012C0514#4C:17191A#65:00A300EB00CC00CC
 
[Anti Recoil Delay 1 #3]
group          = true
shortdesc      = <<<MULTILINE
<b>ANTI RECOIL</b>
<b>1. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
MULTILINE
byteoffset     = 52
bitsize        = 16
control        = spinbox
default        = 0
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 1 #3]
group          = true
shortdesc      = <b>1. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 76
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
 
[Anti Recoil Delay 2 #3]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 54
bitsize        = 16
control        = spinbox
default        = 300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 2 #3]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 77
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil Delay 3 #3]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 56
bitsize        = 16
control        = spinbox
default        = 1300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 3 #3]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 78
bitsize        = 8
control        = spinbox
default        = 46
minimum        = -100
maximum        = 100
step           = 1
 
 
[Anti Recoil HIP #3]
group          = true
shortdesc      = <<<MULTILINE
<b>HIP FACTOR - Anti Recoil</b> factor for HIP fire:
MULTILINE
byteoffset     = 101
bitsize        = 16
control        = spinboxf
default        = 064
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil DUCK #3]
group          = true
shortdesc      = <<<MULTILINE
<b>HIP FACTOR - Anti Recoil</b> factor for DUCK fire:
MULTILINE
byteoffset     = 103
bitsize        = 16
control        = spinboxf
default        = 092
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil PRONE #3]
group          = true
shortdesc      = <<<MULTILINE
<b>PRONE FACTOR - Anti Recoil</b> factor for PRONE fire:
MULTILINE
byteoffset     = 105
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil OTS #3]
group          = true
shortdesc      = <<<MULTILINE
<b>OTS FACTOR - Anti Recoil</b> factor for OTS fire:
MULTILINE
byteoffset     = 107
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Rapid Fire onLoad #3]
group        = 1
shortdesc      = <<<MULTILINE
 
<b>RAPID FIRE</b>
<b>Default state on Load</b> - Set Rapid Fire to enable when loading into Weapon Slot
MULTILINE
byteoffset    = 39
bitsize        = 1
bitoffset    = 2
control        = checkbox
default        = 0
item        = Enable Rapid Fire
 
[Rapid Fire Anti Recoil #3]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fires Anti Recoil Mode</b> - Use of Anti Recoil during Rapid Fire
MULTILINE
byteoffset    = 19
bitsize        = 8
control        = combobox
default        = 1
item        = Mode 0: DISABLED : No Anti Recoil during Rapid Fire
item        = Mode 1: on FIRE
item        = Mode 2: on WAIT
 
[Rapidfire HOLD Settings #3]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : FIRE Time</b> - Set to desired hold length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 26
bitsize        = 8
control        = spinbox
default        = 4
minimum        = 1
maximum        = 255
step           = 1
 
[Rapidfire WAIT Settings #3]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : WAIT Time</b> - Set to desired wait length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 27
bitsize        = 8
control        = spinbox
default        = 2
minimum        = 1
maximum        = 255
step           = 1
*/

 
/*^* Configuration #4
[Configuration #4]
collapsible    = 1
color          = blue
group          = false
border           = 2
shortdesc      =
control        = info
 
[Configuration Presets #4]
group           = true
shortdesc       = Some preconfigured Weapon Settings
control           = config
item           = AKM AllDef:#3A:0000012C0514#4F:2A2A2E#6D:00A300EB00CC00CC
item           = AKM GSen20,AimAcc10,OTS10,ADS20:#3A:0000012C0514#4F:161618#6D:00A300EB00CC00CC
item           = M416 GSen20,AimAcc10,OTS10,ADS20:#3A:0000012C0514#4F:14181A#6D:00A300EB00CC00CC
item           = SCAR-L GSen20,AimAcc10,OTS10,ADS20:#3A:0000012C0514#4F:121719#6D:00A300EB00CC00CC
item           = BERYL M762 GSen20,AimAcc10,OTS10,ADS20:#3A:0000012C0514#4F:17191A#6D:00A300EB00CC00CC
 
[Anti Recoil Delay 1 #4]
group          = true
shortdesc      = <<<MULTILINE
<b>ANTI RECOIL</b>
<b>1. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
MULTILINE
byteoffset     = 58
bitsize        = 16
control        = spinbox
default        = 0
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 1 #4]
group          = true
shortdesc      = <b>1. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 79
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil Delay 2 #4]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 60
bitsize        = 16
control        = spinbox
default        = 300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 2 #4]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 80
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil Delay 3 #4]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 62
bitsize        = 16
control        = spinbox
default        = 1300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 3 #4]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 81
bitsize        = 8
control        = spinbox
default        = 46
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil HIP #4]
group          = true
shortdesc      = <<<MULTILINE
<b>HIP FACTOR - Anti Recoil</b> factor for HIP fire:
MULTILINE
byteoffset     = 109
bitsize        = 16
control        = spinboxf
default        = 064
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil DUCK #4]
group          = true
shortdesc      = <<<MULTILINE
<b>DUCK FACTOR - Anti Recoil</b> factor for DUCK fire:
MULTILINE
byteoffset     = 111
bitsize        = 16
control        = spinboxf
default        = 092
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil PRONE #4]
group          = true
shortdesc      = <<<MULTILINE
<b>PRONE FACTOR - Anti Recoil</b> factor for PRONE fire:
MULTILINE
byteoffset     = 113
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil OTS #4]
group          = true
shortdesc      = <<<MULTILINE
<b>OTS FACTOR - Anti Recoil</b> factor for OTS fire:
MULTILINE
byteoffset     = 115
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Rapid Fire onLoad #4]
group        = 1
shortdesc      = <<<MULTILINE
 
<b>RAPID FIRE</b>
<b>Default state on Load</b> - Set Rapid Fire to enable when loading into Weapon Slot
MULTILINE
byteoffset    = 39
bitsize        = 1
bitoffset    = 3
control        = checkbox
default        = 0
item        = Enable Rapid Fire
 
[Rapid Fire Anti Recoil #4]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fires Anti Recoil Mode</b> - Use of Anti Recoil during Rapid Fire
MULTILINE
byteoffset    = 20
bitsize        = 8
control        = combobox
default        = 1
item        = Mode 0: DISABLED : No Anti Recoil during Rapid Fire
item        = Mode 1: on FIRE
item        = Mode 2: on WAIT
 
[Rapidfire HOLD Settings #4]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : FIRE Time</b> - Set to desired hold length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 28
bitsize        = 8
control        = spinbox
default        = 4
minimum        = 1
maximum        = 255
step           = 1
 
[Rapidfire WAIT Settings #4]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : WAIT Time</b> - Set to desired wait length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 29
bitsize        = 8
control        = spinbox
default        = 2
minimum        = 1
maximum        = 255
step           = 1
*/

 
/*^* Configuration #5
[Configuration #5]
collapsible    = 1
color          = darkorange
group          = false
border           = 2
shortdesc      =
control        = info
 
[Configuration Presets #5]
group           = true
shortdesc       = Some preconfigured Weapon Settings
control           = config
item           = AKM AllDef:#40:0000012C0514#52:2A2A2E#75:00A300EB00CC00CC
item           = AKM GSen20,AimAcc10,OTS10,ADS20:#40:0000012C0514#52:161618#75:00A300EB00CC00CC
item           = M416 GSen20,AimAcc10,OTS10,ADS20:#40:0000012C0514#52:14181A#75:00A300EB00CC00CC
item           = SCAR-L GSen20,AimAcc10,OTS10,ADS20:#40:0000012C0514#52:121719#75:00A300EB00CC00CC
item           = BERYL M762 GSen20,AimAcc10,OTS10,ADS20:#40:0000012C0514#52:17191A#75:00A300EB00CC00CC
 
[Anti Recoil Delay 1 #5]
group          = true
shortdesc      = <<<MULTILINE
<b>ANTI RECOIL</b>
<b>1. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
MULTILINE
byteoffset     = 64
bitsize        = 16
control        = spinbox
default        = 0
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 1 #5]
group          = true
shortdesc      = <b>1. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 82
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil Delay 2 #5]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 66
bitsize        = 16
control        = spinbox
default        = 300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 2 #5]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 83
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil Delay 3 #5]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 68
bitsize        = 16
control        = spinbox
default        = 1300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 3 #5]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 84
bitsize        = 8
control        = spinbox
default        = 46
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil HIP #5]
group          = true
shortdesc      = <<<MULTILINE
<b>HIP FACTOR - Anti Recoil</b> factor for HIP fire:
MULTILINE
byteoffset     = 117
bitsize        = 16
control        = spinboxf
default        = 064
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil DUCK #5]
group          = true
shortdesc      = <<<MULTILINE
<b>DUCK FACTOR - Anti Recoil</b> factor for DUCK fire:
MULTILINE
byteoffset     = 119
bitsize        = 16
control        = spinboxf
default        = 092
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil PRONE #5]
group          = true
shortdesc      = <<<MULTILINE
<b>PRONE FACTOR - Anti Recoil</b> factor for PRONE fire:
MULTILINE
byteoffset     = 121
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil OTS #5]
group          = true
shortdesc      = <<<MULTILINE
<b>OTS FACTOR - Anti Recoil</b> factor for OTS fire:
MULTILINE
byteoffset     = 123
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Rapid Fire onLoad #5]
group        = 1
shortdesc      = <<<MULTILINE
 
<b>RAPID FIRE</b>
<b>Default state on Load</b> - Set Rapid Fire to enable when loading into Weapon Slot
MULTILINE
byteoffset    = 39
bitsize        = 1
bitoffset    = 4
control        = checkbox
default        = 0
item        = Enable Rapid Fire
 
[Rapid Fire Anti Recoil #5]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fires Anti Recoil Mode</b> - Use of Anti Recoil during Rapid Fire
MULTILINE
byteoffset    = 21
bitsize        = 8
control        = combobox
default        = 1
item        = Mode 0: DISABLED : No Anti Recoil during Rapid Fire
item        = Mode 1: on FIRE
item        = Mode 2: on WAIT
 
[Rapidfire HOLD Settings #5]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : FIRE Time</b> - Set to desired hold length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 30
bitsize        = 8
control        = spinbox
default        = 4
minimum        = 1
maximum        = 255
step           = 1
 
[Rapidfire WAIT Settings #5]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : WAIT Time</b> - Set to desired wait length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 86
bitsize        = 8
control        = spinbox
default        = 2
minimum        = 1
maximum        = 255
step           = 1
*/

 
/*^* Configuration #6
[Configuration #6]
collapsible    = 1
color          = darkorange
group          = false
border           = 2
shortdesc      =
control        = info
 
[Configuration Presets #6]
group           = true
shortdesc       = Some preconfigured Weapon Settings
control           = config
item           = AKM AllDef:#40:0000012C0514#52:2A2A2E#75:00A300EB00CC00CC
item           = AKM GSen20,AimAcc10,OTS10,ADS20:#40:0000012C0514#52:161618#75:00A300EB00CC00CC
item           = M416 GSen20,AimAcc10,OTS10,ADS20:#40:0000012C0514#52:14181A#75:00A300EB00CC00CC
item           = SCAR-L GSen20,AimAcc10,OTS10,ADS20:#40:0000012C0514#52:121719#75:00A300EB00CC00CC
item           = BERYL M762 GSen20,AimAcc10,OTS10,ADS20:#40:0000012C0514#52:17191A#75:00A300EB00CC00CC
 
[Anti Recoil Delay 1 #6]
group          = true
shortdesc      = <<<MULTILINE
<b>ANTI RECOIL</b>
<b>1. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
MULTILINE
byteoffset     = 92
bitsize        = 16
control        = spinbox
default        = 0
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 1 #6]
group          = true
shortdesc      = <b>1. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 85
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil Delay 2 #6]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 94
bitsize        = 16
control        = spinbox
default        = 300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 2 #6]
group          = true
shortdesc      = <b>2. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 96
bitsize        = 8
control        = spinbox
default        = 42
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil Delay 3 #6]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Delay</b> (in ms) after fire button is pressed.
byteoffset     = 98
bitsize        = 16
control        = spinbox
default        = 1300
minimum        = 0
maximum        = 6000
step           = 1
 
[Anti Recoil Value 3 #6]
group          = true
shortdesc      = <b>3. ADS - Anti Recoil Value</b> vertical force compensation.
byteoffset     = 87
bitsize        = 8
control        = spinbox
default        = 46
minimum        = -100
maximum        = 100
step           = 1
 
[Anti Recoil HIP #6]
group          = true
shortdesc      = <<<MULTILINE
<b>HIP FACTOR - Anti Recoil</b> factor for HIP fire:
MULTILINE
byteoffset     = 104
bitsize        = 16
control        = spinboxf
default        = 064
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil DUCK #6]
group          = true
shortdesc      = <<<MULTILINE
<b>DUCK FACTOR - Anti Recoil</b> factor for DUCK fire:
MULTILINE
byteoffset     = 106
bitsize        = 16
control        = spinboxf
default        = 092
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil PRONE #6]
group          = true
shortdesc      = <<<MULTILINE
<b>PRONE FACTOR - Anti Recoil</b> factor for PRONE fire:
MULTILINE
byteoffset     = 108
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Anti Recoil OTS #6]
group          = true
shortdesc      = <<<MULTILINE
<b>OTS FACTOR - Anti Recoil</b> factor for OTS fire:
MULTILINE
byteoffset     = 110
bitsize        = 16
control        = spinboxf
default        = 080
minimum        = 000
maximum        = 200
step           = 001
decimals       = 2
 
[Rapid Fire onLoad #6]
group        = 1
shortdesc      = <<<MULTILINE
 
<b>RAPID FIRE</b>
<b>Default state on Load</b> - Set Rapid Fire to enable when loading into Weapon Slot
MULTILINE
byteoffset    = 39
bitsize        = 1
bitoffset    = 5
control        = checkbox
default        = 0
item        = Enable Rapid Fire
 
[Rapid Fire Anti Recoil #6]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fires Anti Recoil Mode</b> - Use of Anti Recoil during Rapid Fire
MULTILINE
byteoffset    = 22
bitsize        = 8
control        = combobox
default        = 1
item        = Mode 0: DISABLED : No Anti Recoil during Rapid Fire
item        = Mode 1: on FIRE
item        = Mode 2: on WAIT
 
[Rapidfire HOLD Settings #6]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : FIRE Time</b> - Set to desired hold length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 33
bitsize        = 8
control        = spinbox
default        = 4
minimum        = 1
maximum        = 255
step           = 1
 
[Rapidfire WAIT Settings #6]
group          = true
shortdesc      = <<<MULTILINE
<b>Rapid Fire Speed : WAIT Time</b> - Set to desired wait length (1=10ms, 2=20ms, ...)
MULTILINE
byteoffset     = 88
bitsize        = 8
control        = spinbox
default        = 2
minimum        = 1
maximum        = 255
step           = 1
*/

 
/*
[Auto Hold Breath]
collapsible    = 1
shortdesc      = <<<MULTILINE
<b>The different modes will only work with controller layout Type-B</b><br>Holding ADS > 150ms will do hold breath.
For controller layout Type-A all three modes will work the same way and is activated on toggling ADS on.
To pause auto-hold-breath while ADS, hold down the button manually.
To restart auto-hold-breath while ADS, tap the button manually.
MULTILINE
byteoffset     = 2
bitsize        = 2
bitoffset      = 2
control        = radiobox
default        = 0
item           = Disabled
item           = Use Auto Hold Breath on full ADS trigger press
item           = Use Auto Hold Breath lower than full ADS trigger press
item           = Use Auto Hold Breath on ADS trigger press with pressure around 60 to 90.
 
[Auto Hold Breath Delay]
group           = true
shortdesc      = <b>Delay</b> before hold breath, for the scope/ads to be ready first
byteoffset     = 32
bitsize        = 8
control        = spinbox
default        = 200
minimum           = 10
maximum           = 250
step           = 1
 
 
[Auto Sprint Settings]
collapsible    = 1
shortdesc      = Enable Double press stick forward auto sprint.
byteoffset     = 0
bitsize        = 1
bitoffset      = 2
control        = checkbox
default        = 0
item           = Use Auto Sprint
 
 
[DuckJump Settings]
collapsible    = 1
shortdesc      = <<<MULTILINE
Visually this isn't doing anything, but it allows you to jump through a window faster.
When checked: Short tap = normal jump, hold = duck jump
You need to have your movement stick pushed forward > -85 for this to do the duckjump combo.
MULTILINE
byteoffset     = 0
bitsize        = 1
bitoffset      = 3
control        = checkbox
default        = 0
item           = Use DuckJump
 
[DuckJump Tap Time Limit]
group        = 1
shortdesc   = <<<MULTILINE
<b>Tap Time Limit</b> for doing a normal jump, longer hold will do a DuckJump
MULTILINE
byteoffset  = 33
bitsize     = 8
control     = spinbox
default     = 150
minimum     = 0
maximum     = 250
step        = 1
 
[DuckJump Wait Time before Duck]
group        = 1
shortdesc   = <<<MULTILINE
<b>Time before Duck</b> the time the combo waits before doing duck.
MULTILINE
byteoffset  = 34
bitsize     = 16
control     = spinbox
default     = 300
minimum     = 0
maximum     = 1000
step        = 1
 
[DuckJump Wait Time Loop]
group        = 1
shortdesc   = <<<MULTILINE
<b>Time to wait before next DuckJump</b>
MULTILINE
byteoffset  = 36
bitsize     = 16
control     = spinbox
default     = 500
minimum     = 0
maximum     = 4000
step        = 1
 
 
[Holster N Run]
collapsible = 1
shortdesc   = <<<MULTILINE
Holsters the weapon and starts to run.
Choose the Holster n Run mode:
MULTILINE
byteoffset     = 2
bitsize        = 2
bitoffset      = 0
control        = radiobox
default        = 0
item           = Disabled
item           = A: Enable Holster N Run on Long Hold
item           = B: Enable Holster N Run on Tap plus Hold
 
[Holster N Run Hold Time]
group           = true
shortdesc      = <b>A: Hold Time</b> the Weapon Change button needs to be hold down to initiate Run
byteoffset     = 3
bitsize        = 16
control        = spinbox
default        = 600
minimum           = 0
maximum           = 4000
step           = 10
 
[Holster N Run Tap Time]
group           = true
shortdesc      = <b>B: Tap Time Limit</b> between tap & hold to initiate Holster N Run! 'A: Hold time' still applies !
byteoffset     = 5
bitsize        = 8
control        = spinbox
default        = 120
minimum           = 100
maximum           = 255
step           = 1
 
</cfgdesc>
***************************************************************************** */

 

thanks iin advance :oops:
User avatar
Tahsin
Sergeant Major
Sergeant Major
 
Posts: 100
Joined: Wed May 15, 2019 7:57 am

Re: Need help to add 1 more slot to Scachi Pubgv2 CFG

Postby Scachi » Sun Aug 22, 2021 7:44 pm

you cant add more slots to it without removing other stuff.
this script already uses almost all available space usable to store configuration settings.
there are only a few single bits left.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Need help to add 1 more slot to Scachi Pubgv2 CFG

Postby Tahsin » Sun Aug 22, 2021 8:32 pm

Scachi wrote:you cant add more slots to it without removing other stuff.
this script already uses almost all available space usable to store configuration settings.
there are only a few single bits left.

Yes i see that but is there other way to use bitsize 32 instead ?
User avatar
Tahsin
Sergeant Major
Sergeant Major
 
Posts: 100
Joined: Wed May 15, 2019 7:57 am

Re: Need help to add 1 more slot to Scachi Pubgv2 CFG

Postby Scachi » Mon Aug 23, 2021 8:26 am

Tahsin wrote:Yes i see that but is there other way to use bitsize 32 instead ?

Easiest way: just install the same script to another T2 slot and configure other weapon settings there.

Some other options I can think of
- Use/abuse the persistent memory space of slot 255 (test & run), you will risk loosing your settings when running other scripts or using that green play button "test and debug active work" or hitting F5
- Use python (Computer Vision) to store the data and send it to the script, you will need to have your pc running then in order for the script to work all the time

both will require editing the script quite a bit.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Need help to add 1 more slot to Scachi Pubgv2 CFG

Postby Tahsin » Mon Aug 23, 2021 8:51 am

Scachi wrote:
Tahsin wrote:Yes i see that but is there other way to use bitsize 32 instead ?

Easiest way: just install the same script to another T2 slot and configure other weapon settings there.

Some other options I can think of
- Use/abuse the persistent memory space of slot 255 (test & run), you will risk loosing your settings when running other scripts or using that green play button "test and debug active work" or hitting F5
- Use python (Computer Vision) to store the data and send it to the script, you will need to have your pc running then in order for the script to work all the time

both will require editing the script quite a bit.

Thank you
User avatar
Tahsin
Sergeant Major
Sergeant Major
 
Posts: 100
Joined: Wed May 15, 2019 7:57 am


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 132 guests