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

Latest commit

 

History

History
46 lines (37 loc) · 2.77 KB

File metadata and controls

46 lines (37 loc) · 2.77 KB

[DEPRECATED] VCL Tournament Overlay - Lazer edition by Try-Z

NOTICE

This overlay is no longer maintained. It's recommended to use this overlay instead.

This overlay is helpful for those who likes the look of Lazer overlay, but don't want to go through the complicated setup steps. As a bonus, this overlay has support for Accuracy win condition, which the default Lazer client cannot do as of the time this repo is updated. For the time being, only Gameplay and Mappool scene are included.

How the overlay looks like (with a bit of CSS modification)

Setup guide:

  • Install Gosumemory (duh)
  • Download this repo as .zip and extract to static folder of Gosumemory
  • Rename either index_acc.js or index_score.js to index.js, depends on which win condition you are using.
  • Update mappool by changing IDs in mappool\mappool.json.
  • Change mod icons in mappool\static folder
  • Change background in static folder (mp-bg for Gameplay, mp-bg2 for Mappool)

Styling

  • NEW - There are 2 CSS files to choose whether you want team image / profile picture to show or not. See css folder and remove/rename topBar.css accordingly.
    • The default topBar.css enables showing images, while the other one doesn't.
  • Most colors can be found in css\style.css
  • For P1/P2 score, change hex code in index.js (Line 253 for P1 and line 266 for P2)

Overlay interaction (in OBS)

  • Add a browser source in OBS:
    • size: 2420x1080
    • URL: 127.0.0.1:24050/vcl-tournament-overlay
  • Below the preview, you should see an Interact button. Click on that to interact with the overlay.
  • Picks: Left click for P1, right click for P2
  • Bans: Shift + Left click for P1, Shift + Right click for P2
  • Reset map status: Ctrl + Click

Note: Same as Lazer, bans must be done manually. You will also have to select who will have first pick.

Known bug

  • Mappool is not changed after updating mappool.json. This can be fixed by:
    • Updating mappool.json BEFORE starting Gosumemory
    • Delete cache. This is located in C:\Users\{YourUsername}\AppData\Roaming\obs-studio\plugin_config\obs-browser (delete the whole folder). After doing so, refresh browser source.

Additional notes

  • To trigger the auto-switching between gameplay and mappool, the score announce message must contain Next Pick: ... phrase (case sensitive). Of course with some code digging you can find where to change this.
  • If the players' avatars are not visible, spam Refresh in OBS.

For additional support, DM hoaq#6054 on Discord (or ping in osu! Tournament Hub). Credit is not required but it would help us :D