mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-22 09:39:17 +01:00
[BotW] Add separate vertical sensitivity option
Co-authored-by: M&M <goldtextwitch@outlook.com>
This commit is contained in:
parent
852e4800bc
commit
5a7f0f5650
@ -1,5 +1,23 @@
|
||||
[BotW_CameraSensivity_V208]
|
||||
[BotW_CameraSensitivity_V208]
|
||||
moduleMatches = 0x6267BFD0
|
||||
|
||||
.origin = codecave
|
||||
|
||||
; Variables
|
||||
vertMovementSens:
|
||||
.float ($movementSensitivity * $vertMovementSens)
|
||||
|
||||
horMovementSens:
|
||||
.float $movementSensitivity
|
||||
|
||||
; Patches
|
||||
; Sets sensitivity everywhere
|
||||
0x102164C0 = .float ($sensitivity*-1)
|
||||
0x101B3280 = .float (2*$movementSensitivity)+1
|
||||
|
||||
; Sets vertical sensitivity for movement
|
||||
0x02B9C168 = lis r9, vertMovementSens@ha ; load address into r9
|
||||
0x02B9C170 = lfs f0, vertMovementSens@l(r9) ; load value into f0
|
||||
|
||||
; Sets horizontal sensitivity for movement
|
||||
0x02B9C944 = lis r12, horMovementSens@ha ; load address into r12
|
||||
0x02B9C94c = lfs f6, horMovementSens@l(r12) ; load value into f6
|
||||
|
@ -1,13 +1,14 @@
|
||||
[Definition]
|
||||
titleIds = 00050000101C9400,00050000101C9500
|
||||
name = Camera Sensitivity
|
||||
path = "The Legend of Zelda: Breath of the Wild/Mods/Camera Sensitivity"
|
||||
description = Changes the sensitivity of the camera.|On top of the normal sensitivity you can apply additional sensitivity while moving.||Made by FakeMichau and theboy181.
|
||||
description = Changes the sensitivity of the camera.|On top of the normal sensitivity you can apply additional sensitivity while moving.||With higher sensitivities, vertical sensitivity may feel too high - use last option to fix.||Made by FakeMichau and theboy181.
|
||||
version = 6
|
||||
|
||||
[Default]
|
||||
$sensitivity = 1.00
|
||||
$movementSensitivity = 1.00
|
||||
|
||||
$vertMovementSens = 1.00
|
||||
|
||||
[Preset]
|
||||
name = 0.5x
|
||||
@ -128,4 +129,54 @@ $movementSensitivity = 2.50
|
||||
[Preset]
|
||||
name = 3x
|
||||
category = Additional Movement Sensitivity
|
||||
$movementSensitivity = 3.00
|
||||
$movementSensitivity = 3.00
|
||||
|
||||
[Preset]
|
||||
name = 0.2x
|
||||
category = Additional Vertical Movement Sensitivity
|
||||
$vertMovementSens = 0.2
|
||||
|
||||
[Preset]
|
||||
name = 0.3x
|
||||
category = Additional Vertical Movement Sensitivity
|
||||
$vertMovementSens = 0.3
|
||||
|
||||
[Preset]
|
||||
name = 0.4x
|
||||
category = Additional Vertical Movement Sensitivity
|
||||
$vertMovementSens = 0.4
|
||||
|
||||
[Preset]
|
||||
name = 0.5x
|
||||
category = Additional Vertical Movement Sensitivity
|
||||
$vertMovementSens = 0.5
|
||||
|
||||
[Preset]
|
||||
name = 0.6x
|
||||
category = Additional Vertical Movement Sensitivity
|
||||
$vertMovementSens = 0.6
|
||||
|
||||
[Preset]
|
||||
name = 0.7x
|
||||
category = Additional Vertical Movement Sensitivity
|
||||
$vertMovementSens = 0.7
|
||||
|
||||
[Preset]
|
||||
name = 0.8x
|
||||
category = Additional Vertical Movement Sensitivity
|
||||
$vertMovementSens = 0.8
|
||||
|
||||
[Preset]
|
||||
name = 0.9x
|
||||
category = Additional Vertical Movement Sensitivity
|
||||
$vertMovementSens = 0.9
|
||||
|
||||
[Preset]
|
||||
name = 1x (Default)
|
||||
category = Additional Vertical Movement Sensitivity
|
||||
default = 1
|
||||
|
||||
[Preset]
|
||||
name = 1.1x
|
||||
category = Additional Vertical Movement Sensitivity
|
||||
$vertMovementSens = 1.10
|
||||
|
Loading…
Reference in New Issue
Block a user