Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

lua script support? + question about a specific file #181

Answered by Leather128
daisukidaisy asked this question in Q&A
Discussion options

You must be logged in to vote

Well it's been about 6 days, and now I've gotta say that uhm... On the latest commits this lua script can be used to do what I think is the same thing the lua you are talking about does.

local a1 = 0.254829592;
local a2 = -0.284496736;
local a3 = 1.421413741;
local a4 = -1.453152027;
local a5 = 1.061405429;
local p = 0.3275911;
local curTotalNotesHit = 0
local counterUpdated = 0

local ourAccuracy = 0

local ratingStr = "N/A"

function playerOneSing(data, songPos, type, strumTime)
    updateAccuracy(strumTime, songPos, 0)
end

function updateAccuracy(strumTime, songPos, rOffset) -- HELPER FUNCTION
    local noteDiffSign = strumTime - songPos + rOffset
    local noteDiffAbs = math.abs(note…

Replies: 2 comments

This comment has been hidden.

Comment options

You must be logged in to vote
0 replies
Answer selected by Leather128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants