Superglide练习工具V1.1
上一个动态的工具有一些地方有错误,可能导致即使你按对了也会有错误。
JayTheYggdrasil做了一个更完整的,我就搬过来给很闲的人用一下
首先你需要在开始菜单搜索界面打开Windows PowerShell

然后直接复制粘贴以下代码内容:

$loop = "true"
$currenttime = Get-Date
$secondtime = Get-Date
$presscount = 0
$evenodd = $presscount % 2
"!! Use CTRL+C to quit !!"
"-- Setup --"
"Press the key you use for jump."
$jumpkey = $Host.UI.RawUI.ReadKey()
""
"Press the key you use for crouch."
$duckkey = $Host.UI.RawUI.ReadKey()
""
write-host -nonewline "Enter your framrate: "
$inputString = read-host
$targetfps = $inputString -as [Double]
write-host -nonewline "Jump + crouch must be exactly 1 frame apart for the highest chance at superglide success."
$frametime = 1 / $targetfps
" "
"--------------------------------------------------"
while ($loop -eq "true") {
if ($evenodd -eq 0) {
"Press Jump..."
$key = $Host.UI.RawUI.ReadKey()
if($key -eq $jumpkey) {
$currenttime = Get-Date
" (Jump) Key Pressed"
$presscount = $presscount + 1
$evenodd = $presscount % 2
} else {
" that's not jump..."
}
}
if ($evenodd -eq 1) {
"Press Crouch..."
$key = $Host.UI.RawUI.ReadKey()
if($key -eq $duckkey) {
" (Crouch) Key Pressed"
$secondtime = Get-Date
$calculated = $secondtime - $currenttime
$elapsedFrames = $calculated.TotalSeconds / $frametime
$differenceSeconds = $frametime - $calculated.TotalSeconds
if($elapsedFrames -lt 1) {
$chance = $elapsedFrames * 100
$message = "Crouch slightly *later* by {0:n5} seconds" -f $differenceSeconds + " to improve."
} elseif ($elapsedFrames -lt 2) {
$chance = ( 2 - $elapsedFrames ) * 100
$message = "Crouch slightly *sooner* by {0:n5} seconds" -f ($differenceSeconds * -1) + " to improve."
} else {
$message = "Crouched too late by " + $elapsedFrames.ToString("###") + " frames."
$chance = 1 - ($elapsedFrames/$elapsedFrames)
}
("{0:n3} frames have passed." -f $elapsedFrames.ToString()) | Write-Host
( "{0:n4} % chance to hit." -f $chance.ToString() ) | Write-Host
$message | Write-Host
$presscount = $presscount + 1
$evenodd = $presscount % 2
"--------------------------------------------------"
} else {
" that's not crouch..."
}
}
}

然后回车即可
接下来你的界面应该是这样:

在输入前切记关闭中文输入法
首先第一排——Press the key you use for jump,你按一下你的跳跃键
第二排——Press the key you use for crouch,你按一下你的下蹲键(这里如果你说话按出了中文的c然后你按shift输入进去是没有用的,一定要用英文输入法的c输入进去)
(手搓基本都是空格+C)
第三排——Enter your framrate,输入你的屏幕刷新率
这几排都不需要按回车
跳(前)+蹲(后)需要在1帧内完成

该界面会显示你的成功概率,以及你的蹲是过早了还是过晚了,如图就是需要你按蹲按得再晚点。

该界面会显示你的跳+蹲花费了多少帧(图示5.008344),成功的概率,已经你晚了多少帧。
好了又一个没用的工具完成了,上班用这个摸鱼记得用薄膜键盘。
如果内容复制不上可以点开该网址复制:https://pastebin.com/bcCXRn8k#google_vignette
原帖网址:https://www.reddit.com/r/Apexrollouts/comments/1192u4e/improved_superglide_practice_tool_original_tool/

