Giter Club home page Giter Club logo

hitscorevisualizer's Introduction

Changelog

2.0.2: Bug fixes and performance improvements. If you've been noticing lag, try disabling the fade option on all judgments in the config.
2.1.0: Added display mode "format" (see below).
2.1.2: Actually bump version number this time; minor fixes to default config
2.1.3: Minor bug fix


Colors the score popups that appear when hitting notes. Also adds judgment text above (or below) the score.

After installing the plugin, run the game once to generate the config file at UserData/HitScoreVisualizerConfig.json in your Beat Saber install folder. A graphical editor for this file is in the works; until then, editing the config is considered an advanced feature, as JSON is not particularly human-friendly. If you want to edit it anyway, here's the documentation:

  • Remove the isDefaultConfig line. If this option is set to true, your config will get overwritten by the updated default config with every plugin update.
  • Valid options for displayMode are "numeric" (displays only the score), "textOnly" (displays only the judgment text), "scoreOnTop" (displays the score above the judgment text), "format" (see "Formatting" below), or any other string (displays the judgment text above the score).
  • Put your judgments in descending order; the first one encountered with threshold <= the score earned for a note will be applied.
  • Include exactly 4 numbers in each judgment's color array. These represent red, green, blue, and a 4th channel which, knowing Beat Saber's shaders, could be glow, transparency, or even both at once. Modify the 4th number if you like, but I can't say what effect it will have.
  • If you include more or fewer than 4 numbers in a judgment's color array, your entire config will be ignored (but not overwritten).
  • If you include the line "fade": true in a judgment, the color for scores earning that judgment will be interpolated between that judgment's color and the color of the previous judgment in the list, based on how close to the threshold for that judgment the score was. Use this to create a smooth gradient of color if you want one.
  • If you enable fade for the first judgment in the list, the plugin and Beat Saber itself will quite possibly die in a fire if that judgment is ever earned. Don't enable fade for the first judgment in the list. You have been warned.
  • Judgment text supports TextMeshPro formatting!
  • Formatting
    In displayMode "format", a number of HitScoreVisualizer format specifiers are available (as well as TextMeshPro's formatting tools). Your formatted string will replace the score text (so include %s if you want to see your score).
    • %b: The score contributed by the part of the swing before cutting the block.
    • %c: The score contributed by the accuracy of the cut.
    • %a: The score contributed by the part of the swing after cutting the block.
    • %B, %C, %A: As above, except using the appropriate judgment from that part of the swing (as configured for "beforeCutAngleJudgments", "accuracyJudgments", or "afterCutAngleJudgments").
    • %s: The total score for the cut.
    • %%: A literal percent symbol.
    • %n: A newline.
  • Note that before-swing/accuracy/after-swing judgments don't support color or fading, although you can put TextMeshPro color tags in them if you want to.
    If you make your own config, feel free to share it in #other-files!

Plugin originally requested by @AntRazor on the modding discord. Thanks go to @AntRazor and @wulkanat for input on the default config released with this update, as well as everyone in #mod-development and the entire server for the love and support. :')

hitscorevisualizer's People

Contributors

artemiswkearney avatar kylemc1413 avatar zingabopp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hitscorevisualizer's Issues

Idea for a new config option

Possibly a relative position option to move the score popups relative to where the would've appeared. For example to move them closer/farther away or change their height.

Causes game to stutter

When enabled this mod causes the game to stutter occasionally. Makes it unplayable as it throws you off as badly as when you accidentally hit pause.

It seems to happen when there are lots of notes on screen being chopped, thus producing lots of text. Playing OST1- Escape on Expert or Expert+ gives me stutters when the beat hits and you start chopping.

It's a shame as I like this mod!

System:
Vive
Windows 10
Intel64 Family 6 Model 158 Stepping 10 GenuineIntel ~3600 Mhz
16Gb ram
Nvidia Titan (Pascal)

Update to 1.15

Hey all, just wanted to point this out. I'll probably make a pr soonish to get this fixed.

Enhancement: Threshold based on ratio of possible points

Currently you are only able to specify thresholds based on the absolute score displayed. It would be nice to have the ability to set thresholds based on the ratio of points to the possible points at the score stage. (E.g. before the full swing score is added)

The reason behind this is to solve the issue where scores get styled like lower ones even though you actually reach a higher score when the full-swing score is added in the end. Using a ratio there would style all scores correctly based on the possible points at the scoring stage and not have e.g. random red scores pop up and vanish when the full scoring got counted.

Alternatively this could maybe be solved by a separation of the two scoring stages but I feel like that would unnecessarily complicate the config.

Support version 1.12.2

Please add support for the latest version of Beat Saber now that BSIPA has been updated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.