user101 script add bullet time to presets

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

user101 script add bullet time to presets

Postby Thiagotzh » Sun May 16, 2021 10:53 pm

hey guys i`m trying to add bullet time for the presets checkbox but it doesn`t work. I think that is about byteoffset, bitsize n bitoffset values.
what I need to do ?

here is the bullet time configs
Code: Select all
 
[BULLET TIME]
group        = true
group       = true
shortdesc   = <<<MULTILINE
 
<b><font color=#000000>[</font><font color=#ae7b00>BULLET TIME</font><font color=#000000>]</font></b><font color=#c0c0c0>____________________________________________________________
<font color=#909090><b>"Bullet Time"</b> will slow your horizontal movement on ADS. <b>"Bullet Time + Shot Modifier"</b> will slow your movement even more when you are shooting. This allows you to run maximum Sensitivity including LOW and HIGH ADS modifiers in the game settings so you can have very fast turn movement speed but slow you down when you need to engage an enemy for high accuracy. This option is designed to allow you to modify your turn speed here without having to retrain your weapon preset. This may also reduce PC/XIM horizontal exponent caused by high definition anti-recoil methods. 
MULTILINE
byteoffset  = 9
bitsize     = 2
bitoffset   = 2
control        = combobox
default        = 0
item        = Disabled
item        = BULLET TIME
item        = BULLET TIME + SHOT MODIFIER
 
[BULLET TIME STRENGTH]
group        = true
shortdesc    = <<<MULTILINE
 
<b>BULLET TIME STRENGTH:</b> Higher value slows horizontal movement speed during bullet time.
MULTILINE
byteoffset    = 125
bitsize        = 8
bitoffset   = 0
control        = slider
default        = 5
minimum        = 0
maximum        = 30
step        = 1
 
[LOG GAP BULLET TIME]
group        = true
shortdesc   =<<<MULTILINE
 
<b><font color=#000000>[</font><font color=#ae7b00><b>MODES</font><font color=#000000>]</font></b><font color=#c0c0c0>____________________________________________________________________
<font color=#909090>Here you can manually set these modes, or use the Custom Toggle Selector lists in the Auto Toggles menu to toggle these ON and OFF while playing.
MULTILINE
control        = info
 

here is the part i need to change because doesn`t work.
Code: Select all
 
[PRESET 1:]
collapsible = 2
color        = #001298
 
[RAPID FIRE 1]
group        = true
byteoffset  = 126
bitsize     = 1
bitoffset   = 0
control     = checkbox
default     = 0
item        = Rapid Fire
 
[BULLET TIME 1]
group       = true
byteoffset  = 127
bitsize     = 1
bitoffset   = 0
control        = checkbox
default        = 0
item        = Bullet time
 
 
[AKIMBO 1]
group        = true
byteoffset  = 28
bitsize     = 1
bitoffset   = 0
control     = checkbox
default     = 0
item        = Akimbo
 
[OAA 1]
group        = true
byteoffset  = 34
bitsize     = 1
bitoffset   = 0
control     = checkbox
default     = 0
item        = Orbital Aim Assist
 
[AUTO RELOAD 1]
group        = true
byteoffset  = 35
bitsize     = 1
bitoffset   = 0
control     = checkbox
default     = 0
item        = Auto Reload
 
[QUICK SCOPE 1]
group        = true
byteoffset  = 38
bitsize     = 1
bitoffset   = 0
control     = checkbox
default     = 0
item        = Quick Scope
 
[AUTO REBREATH 1]
group        = true
byteoffset  = 29
bitsize     = 1
bitoffset   = 0
control     = checkbox
default     = 0
item        = Auto Rebreathe
 
[RECOIL VERTICAL1]
group        = true
shortdesc    = <b>VERTICAL RECOIL:</b> Increase to apply more anti-recoil. <font color=#004c8d>(Stage 1)
byteoffset    = 0
bitsize        = 16
control        = spinboxf
decimals    = 2
default        = 0
minimum        = 0
maximum        = 10000
step        = 10
 
[RECOIL VERTICAL TIMEOUT1]
group        = true
shortdesc    = <b>SECONDARY VERTICAL RECOIL:</b> Secondary recoil amount. <font color=#008d07>(Stage 2)
byteoffset    = 14
bitsize        = 16
control        = spinboxf
decimals    = 2
default        = 0
minimum        = 0
maximum        = 10000
step        = 10
 
[VERTICAL RECOIL TIMEOUT1]
group        = true
shortdesc    = <font color=#ae7b00><b>VERTICAL RECOIL TIMEOUT:</b></font>(ms) Time for switching to <b>Secondary Recoil</b>
byteoffset    = 30
bitsize        = 16
control        = slider
default        = 0
minimum        = 0
maximum        = 4000
step        = 1
 
[LOG GAP RECOIL MIDDLE1]
group        = true
shortdesc   =<<<MULTILINE
 <font color=#c0c0c0>_________________________________________________________________________
 </font>
MULTILINE
control        = info
 
[RECOIL HORIZONTAL1]
group        = true
shortdesc    = <b>PUSH DIRECTION:</b> Positive to push Right / Negative to push Left. <font color=#004c8d>(Stage 1)
byteoffset    = 4
bitsize        = 16
control        = spinboxf
decimals    = 2
default        = 0
minimum        = -15000
maximum        = 15000
step        = 10
 
[RECOIL HORIZONTAL TIMEOUT1]
group        = true
shortdesc    = <b>SECONDARY PUSH DIRECTION:</b> Secondary push value Right or Left. <font color=#008d07>(Stage 2)
byteoffset    = 22
bitsize        = 16
control        = spinboxf
decimals    = 2
default        = 0
minimum        = -15000
maximum        = 15000
step        = 10
 
[HORIZONTAL RECOIL TIMEOUT1]
group        = true
shortdesc    = <font color=#ae7b00><b>PUSH TIMEOUT:</b></font>(ms) Time for switching to <b>Secondary Push</b>
byteoffset    = 32
bitsize        = 16
control        = slider
default        = 0
minimum        = 0
maximum        = 4000
step        = 1
User avatar
Thiagotzh
Private First Class
Private First Class
 
Posts: 2
Joined: Wed May 05, 2021 9:46 pm

Re: user101 script add bullet time to presets

Postby Mad » Mon May 17, 2021 12:38 am

You can't just change the interactive configuration, not how it works. You'd need the complete source and as far as I'm aware user101 ran out of pmem so can't be added.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4533
Joined: Wed May 22, 2019 5:39 am


Return to GPC2 Script Programming

Who is online

Users browsing this forum: Google [Bot] and 59 guests