A broadcast graphics dashboard for controlling Splatoon tournament overlays
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.
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
- Prerequisites
- Make sure you have Node (with NPM) installed
- Make sure you have the NodeCG CLI installed:
npm i -g nodecg
- Create a new directory and
cd
into it - Setup a new NodeCG Instance:
nodecg setup
- CD into the bundles directory:
cd bundles/
- 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 usenpm i
ornpm run build
.
- The zip file only contains the built files (and a
- You can now install other bundles by dragging them into the
bundles/
subdirectory. - Run NodeCG:
nodecg start
- 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. - You can now install other bundles by dragging them into the
bundles/
subdirectory. - 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!
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!
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!
- Follow the steps in Installing NodeCG, stop after step 3
- Install this bundle for development:
nodecg install cq-overlays/dashboard --dev
- CD into the bundle directory:
cd bundles/dashboard
- Start the development server:
npm run dev
- Create a new window to start NodeCG from, and run NodeCG:
nodecg start
- If you are building for production:
npm run build
empathy included • @cysabi • cysabi.github.io