Skip to content

A broadcast graphics dashboard for controlling Splatoon tournament overlays

License

Notifications You must be signed in to change notification settings

cq-overlays/dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2cf44fc · Jan 3, 2024
Apr 26, 2023
Jan 3, 2024
Apr 22, 2023
Apr 27, 2022
Apr 18, 2021
Apr 27, 2022
Apr 22, 2023
Apr 27, 2022
Feb 27, 2023
Apr 27, 2022
Feb 16, 2023
Apr 26, 2023
Apr 27, 2022
Apr 27, 2022
Apr 27, 2022
Apr 27, 2022
Apr 27, 2022
Mar 19, 2023

Repository files navigation

cq-overlays/dashboard

A broadcast graphics dashboard for controlling Splatoon tournament overlays

License Stars

A NodeCG dashboard bundle for controlling Splatoon tournament overlays. It's decoupled from any overlays to allow anyone to connect their own overlays seamlessly to the dashboard.

It's used in all of the overlays that I build for myself, and all of the overlays that I have been commissioned for.

This bundle was originally designed for Off the Dial's overlays, however it has since been refined and remodeled to support splatoon tournament streams of any size and complexity.

  • Seamlessly control teams, scores, maps, colors, commentators and more using a single, unified control panel
  • Automatically set map winners when scores are changed
  • Preload team data, round data, and commentator block data into the dashboard

Usage

Installing NodeCG with this bundle

For Programmers

  1. Prerequisites
    1. Make sure you have Node (with NPM) installed
    2. Make sure you have the NodeCG CLI installed: npm i -g nodecg
  2. Create a new directory and cd into it
  3. Setup a new NodeCG Instance: nodecg setup
  4. CD into the bundles directory: cd bundles/
  5. Find the version you're looking for on the releases page, and download cq-dashboard.zip, the built bundle, and unzip.
    • The zip file only contains the built files (and a package.json), so you do not need to use npm i or npm run build.
  6. You can now install other bundles by dragging them into the bundles/ subdirectory.
  7. Run NodeCG: nodecg start

For Non-Programmers

  1. Find the version you're looking for on the releases page, and download cq-nodecg.zip, a NodeCG instance with this bundle pre-installed, and unzip.
  2. You can now install other bundles by dragging them into the bundles/ subdirectory.
  3. Run NodeCG by double-clicking run.bat, This is only for windows.

The dashboard should now be accessible! If you run into any issues or have any questions, feel free to contact me!

Using the dashboard

The dashboard is mainly self-explanatory and can be easily learned with just a bit playing with it. For those who want a quick run-down, here are some general tips and tricks:

  • Each panel is draggable and positionable, although NodeCG doesn't give you much flexibility with that
  • Buttons with colored backgrounds usually update the overlays immediately. Buttons with no color or background usually need their changes to be applied using an "Update" button with a colored background
  • On the Teams panel, there is a button in the middle of the 2 scores that will reset them
  • Changing the score will automatically set the map winners. The map winners buttons don't actually do anything-

The upload file for Loaded Data is a JSON file, which you can find the schema for here. If you don't know how to create a JSON file, there's a lot of online tools that let you create one without any programming experience, do a quick google search for "online json editor"! Maybe later I'll think of a way to create these files within the dashboard itself.

If you run into any issues or have any questions, feel free to contact me!

Making your own overlays with this bundle

I've tried to design this bundle to make it simple and easy to connect your own overlay bundles. If you don't know how to code, and/or would be interested in commissioning me to make overlays for you, please see my ko-fi!

The way you connect to the stored dashboard data is with just replicants.

const currentTeams = nodecg.Replicant("currentTeams", "cq-dashboard");

currentTeams.on("change", (newValue, oldValue) => {
  // Write some logic here
}

The documented list of all the available replicants are available in the schemas folder. Each file is the JSON Schema for the corresponding replicant. Don't worry if you can't understand it though, there's also a "default" key in the schema which shows you an example of what the replicant value might look like.

For more information on how to build your own bundles, see the NodeCG documentation. If you run into any issues or have any questions, feel free to contact me!

Contributing

  1. Fork the repository and clone it.
  2. Make a new branch to submit your pull request from.

Running locally

  1. Follow the steps in Installing NodeCG, stop after step 3
  2. Install this bundle for development: nodecg install cq-overlays/dashboard --dev
  3. CD into the bundle directory: cd bundles/dashboard
  4. Start the development server: npm run dev
  5. Create a new window to start NodeCG from, and run NodeCG: nodecg start
  6. If you are building for production: npm run build

Contact me · @LeptoFlare · lepto.tech

As always, distributed under the MIT license. See LICENSE for more information.

https://github.com/cq-overlays/dashboard

About

A broadcast graphics dashboard for controlling Splatoon tournament overlays

Resources

License

Stars

Watchers

Forks

Packages

No packages published