mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-23 08:21:51 +01:00
Fix for the physics of Arrow projectiles
This commit is contained in:
parent
9aa515b4c5
commit
b4bcaaf478
@ -1,6 +1,8 @@
|
||||
<?php
|
||||
$targetfps = $argv[1];
|
||||
$divisor = 30/$targetfps
|
||||
$divisor = 30/$targetfps;
|
||||
$derivative1 = 30*$divisor;
|
||||
$derivative2 = 0.5/$divisor;
|
||||
?>
|
||||
[BotwFPSV208] #i.e. v1.5.0
|
||||
moduleMatches = 0x6267BFD0
|
||||
@ -13,6 +15,10 @@ _divisor = 0x0 # edit the next line to change the divisor
|
||||
_targetfps = 0x18 # edit the next line to change the target fps
|
||||
0x18 = .float <?=$targetfps?>
|
||||
|
||||
#Arrows by Epigramx
|
||||
0x1001CCAC = .float <?=$derivative1?> # = 30 * divisor
|
||||
0x1001CB18 = .float <?=$derivative2?> # = 0.5 / divisor
|
||||
|
||||
#"Best fence" by Rajkosto
|
||||
_fenceNeg1 = 0x00000004
|
||||
0x00000004 = add r6, r12, r0 #orig instruction we are replacing
|
||||
@ -68,6 +74,10 @@ _divisor = 0x0 # edit the next line to change the divisor
|
||||
_targetfps = 0x18 # edit the next line to change the target fps
|
||||
0x18 = .float <?=$targetfps?>
|
||||
|
||||
#Arrows by Epigramx
|
||||
0x1001CCAC = .float <?=$derivative1?> # = 30 * divisor
|
||||
0x1001CB18 = .float <?=$derivative2?> # = 0.5 / divisor
|
||||
|
||||
#"Best fence" by Rajkosto
|
||||
_fenceNeg1 = 0x00000004
|
||||
0x00000004 = add r6, r12, r0 #orig instruction we are replacing
|
||||
|
@ -5,7 +5,8 @@ when Link paraglides; the caveat is that the user must pick a target FPS that
|
||||
they can maintain.
|
||||
|
||||
It improves over previous static mods in that it allows ANY value as a
|
||||
static fps target and it includes the stamina fix.
|
||||
static fps target and it includes the stamina fix. Now it also features a fix
|
||||
for the physics of arrow projectiles.
|
||||
|
||||
To use it simply grab one of the provided versions or edit one with these
|
||||
changes: a) rules.txt frequency and name b) divide 30 by the target FPS c) use
|
||||
|
Loading…
Reference in New Issue
Block a user