Out now on Steam. The full career is available for Windows today. Get it now

Guide

TV graphics (broadcast looks)

A broadcast look is how a match shows on television: the channel's name and logo, the walk-on and MC strap, the scoreboard, the face-off card before the first leg and the commentary box. A pack's broadcasts records change all of it by data alone. An event, a tour or an organisation names a look, and its matches are shown in it; a look can also be set to replace the game's own looks at every event.

Status. The strap, channel logo and the scoreboard's three colours since 1.0.0; the rest (the channel name, the scoreboard's own parts, the face-off card, the commentary box, the lettering, organisations, everywhere and the Mod Studio's TV graphics tab) since 1.0.5. Presentation only: a look never changes a result or a draw. PC and phone (the phone shows the scoreboard only, see below).

The file is data/broadcast.json (or any file in data/broadcast/). The core pack's looks are core.broadcast.default ("Darts Sim Sports"), core.broadcast.worlds, core.broadcast.crown, core.broadcast.night and core.broadcast.continental. The walk-on's strap and its other fields are described in Images in mods.

Example: two events, two channels#

// data/broadcast.json
[
  { "id": "acme.broadcast.gold", "name": "Acme Gold", "channel": "Acme Sport", "shape": "pill",
    "plate": "#101010", "accent": "#ffcc00", "font": "condensedItalic",
    "scoreboard": { "bar": "#ffcc00", "ground": "#141414", "corners": "round", "font": "condensedItalic" },
    "faceOff": { "title": "Versus", "ground": "#101010", "accent": "#ffcc00" },
    "commentary": { "ground": "#141414", "accent": "#ffcc00", "edge": "#ffcc00" } },
  { "id": "acme.broadcast.ice", "name": "Acme Ice", "shape": "box", "plate": "#0b2540", "accent": "#7fd3ff",
    "scoreboard": { "ground": "#eef6fc", "corners": "soft", "font": "sans" },
    "faceOff": { "ground": "#0b2540", "text": "#eef6fc" } }
]
// data/events.json: each event names its look
[{ "id": "acme.event.gold-cup", "broadcast": "acme.broadcast.gold", "...": "..." },
 { "id": "acme.event.ice-open", "broadcast": "acme.broadcast.ice", "...": "..." }]

The record's new parts (1.0.5)#

Everything here is optional. A part the record leaves out keeps what the game showed before, so a look written for 1.0.0 to 1.0.4 looks exactly as it did.

FieldWhat it does
channelThe channel's name (40 characters at most). Shown in the walk-on's corner and on the billboard when the look has no logo; a look with a channel and no logo shows its name, not the game's own channel logo.
fontThe strap's lettering: condensed (Barlow Condensed Bold), condensedSemi (its SemiBold), condensedItalic (its ExtraBold Italic) or sans (Inter Bold). These are the game's own faces, which the phone also carries; there is no way to add a font.
everywheretrue: this look replaces the game's own looks at every event (see below).
scoreboard.barThe header bar (what wins the match and the columns' titles). Without it: the look's accent.
scoreboard.accentThe thrower's score plate and the darts just thrown. Without it: the look's accent.
scoreboard.textThe foot (the logo and the event's name) and the thrower's row mark. Without it: the look's text. The foot's lettering turns black or white, whichever reads.
scoreboard.groundThe rows' ground (the thrower's a little lighter). The rows' lettering turns light or dark to read on it. Without it: the game's dark rows.
scoreboard.cornerssquare (the game's own), soft or round.
scoreboard.fontThe scoreboard's lettering, one of the four above.
faceOff.titleThe word between the two players (24 characters at most). Without it: the game's "Game on" in the player's language.
faceOff.groundA band of this colour behind the two players. Without it: none.
faceOff.accentThe word's colour, and the stage lights' colour while the face-off is up. Without it: the game's gold.
faceOff.textThe players' names.
faceOff.fontThe card's lettering.
commentary.groundThe commentary box's panel.
commentary.accentThe box's "Commentary" title. Without it: tinted from the look's accent, as before.
commentary.edgeThe box's left edge. Without it: the look's text.
commentary.textThe commentary's lines.

The lettering on a filled colour (the header bar, the score plate, a lit dart) turns dark by itself when the fill is light. A colour that does not read keeps the game's own.

Which look a match is shown in#

  1. The event's own broadcast, else its tour's, else its organisation's (broadcast on an organisation is new in 1.0.5), the same chain as the stage identity). None: core.broadcast.default, which takes the tour's colour as its accent.
  2. Everywhere. When that lands on one of the game's own looks (a core. id, or none), a look with "everywhere": true is shown instead. A look another pack names for its own events stays theirs. If more than one installed pack sets everywhere, the last in load order wins; the Mod Studio warns when it sees more than one.
  3. Careers under way. Each step reads the career's own copy of the event, tour and organisation, else the installed packs' record of the same id. So a career begun before a pack was installed shows the look the pack names from its next match, as the stage, the board look and the surround do. The look records themselves are always the installed packs'.

Designing the scoreboard and the cards yourself (1.0.5)#

A look can draw its own scoreboard and its own coming-up and face-off cards, laid out element by element, so a pack can build any style of on-screen graphic. A look with none of these keeps the game's own hand-built graphics, exactly as before. All three parts are optional and new in 1.0.5.

{
  "id": "mypack.broadcast.night",
  "name": "Night TV",
  "plate": "#10151f",
  "accent": "#f2c230",
  "fonts": [ { "id": "headline", "file": "fonts/Headline.ttf", "licence": "SIL Open Font Licence 1.1" } ],
  "scoreboardLayout": {
    "corner": "bottomRight", "scale": 1, "margin": [24, 24], "width": 420,
    "regions": [
      { "kind": "band", "height": 30, "ground": "$bar", "cells": [
        { "type": "text", "text": "{round} · First to {legsToWin}", "grow": 1, "padding": [0, 12] },
        { "type": "text", "text": "Legs", "width": 60, "align": "centre" } ] },
      { "kind": "rows", "height": 48, "ground": "#0b0f18", "activeGround": "#161c2a", "cells": [
        { "type": "marker", "marker": "dot", "width": 18, "when": "thrower" },
        { "type": "flag", "width": 36, "padding": [0, 8] },
        { "type": "text", "text": "{surname}", "grow": 1, "caps": true, "font": "font:headline" },
        { "type": "legs", "width": 60, "align": "centre" },
        { "type": "score", "width": 90, "ground": "$accent", "colour": "$ink", "size": 32 } ] },
      { "kind": "side", "attach": "thrower", "place": "left", "width": 120, "when": "checkout", "cells": [
        { "type": "checkout", "join": " " } ] },
      { "kind": "foot", "height": 28, "cells": [
        { "type": "text", "text": "Night {night} of {nights} · {city}", "grow": 1 },
        { "type": "image", "image": "images/channel-logo.png", "width": 90 } ] }
    ]
  },
  "cards": { "billboard": { "width": 1000, "height": 400, "panels": [ ] }, "faceOff": { "width": 1200, "height": 300, "panels": [ ] } }
}

The scoreboard (scoreboardLayout) is a stack of regions drawn top to bottom:

Region kindWhat it is
bandA header or any strip of words and pictures, once.
rowsOne row per player, the thrower's on activeGround. Its cells are about that row's player.
sideA cell beside a row (attach: thrower, row0 or row1; place: left or right), such as a checkout box.
footA strip under the rows.

The layout sits in any corner (bottomRight, bottomLeft, topRight, topLeft), margin [x, y] from the edges, at a scale from 0.4 to 2.5, width match pixels wide. In the bottom right it takes the game's own scoreboard's place.

Elements (cells): text (with placeholders), flag, marker (the thrower's marker: dot, bar, arrow or chevron), darts (the visit's darts), sets, legs, score, average, checkout (the route, join between darts; singles written bare, "16 D16"), count180, doubles (checkout %), image (a picture in the pack), portrait (on a card: the player's portrait or kind: "cutout") and spacer. Every element and region takes the same box: width, height, grow, padding (1 to 4 numbers, as in CSS), colour, ground, activeGround, activeColour, font, size, align (left, centre, right; a picture sits on that side too), caps, wrap (text runs onto more lines; without it one line, cut short), spacing, border {width, colour}, radius and opacity.

Placeholders in text: {event}, {round}, {format}, {setsToWin}, {legsToWin}, {leg}, {night} and {nights} (a league series night), {venue}, {city}, {place}, {channel}; about a player: {name}, {firstName}, {surname}, {nickname}, {country}; and {text:key} for one of the pack's texts, so a translation can change the words. An unknown placeholder is shown as written.

When it shows (when): always; sets or legs (only in a sets match, only in a legs match) and leg1 (only in the first leg) take the element out; thrower, notThrower and checkout (a finish is on) hide it but keep its room, so nothing jumps.

Colours are #rrggbb or #rrggbbaa, or a token taken from the look: $accent, $plate, $text, $muted, $bar, $ground, $side (the player's colour) and $ink (dark or light, whichever reads on the element's ground).

Fonts: condensed, condensedSemi, condensedItalic, sans (the game's four), or font:<id> for a font file the look ships in fonts (.ttf or .otf, up to 8 MB, up to eight). Ship only a font whose licence allows it to be shared in a mod, and say which in licence.

The cards (cards.billboard, the coming-up card, and cards.faceOff) are width by height boxes at y, made of panels. A panel is placed by x, y, width and height, has the same box as an element plus fade and fadeDown (a gradient ground), direction (column or row) and justify (start, centre, end, between), and holds elements; an element with x and y is placed by hand, else it flows. On a card an element is about the player its side names (0 or 1).

A card's showMs says how long it stays up (500 to 20,000 milliseconds). Without it the billboard is up for walkon.billboardMs of tuning. A designed face-off card is shown before the first leg for walkon.faceOffDesignedMs (3 s in the core pack), even though the core pack's walkon.faceOffMs is 0. That 0 still holds for a look that designs no face-off, which goes straight to the board.

Styling: shapes, fills, strokes, shadows#

The layout, each region, each panel and each element take the same styling, all optional:

FieldWhat it does
shapekind: rect, round (with radius), pill, skew (leaning by angle degrees, a parallelogram), chevron and arrow (pointed ends: both, left or right, reaching point pixels), tab (sloped sides at angle), cut (corners cut by point, corner: all or one corner).
fillkind: solid (a colour, the same as ground), linear (stops of at 0 to 1 and a colour, up to eight, at an angle: 0 left to right, 90 top to bottom), radial (stops, a centre [across, down] as shares of the box, a reach), or image (a pack picture that covers, fits (contain) or tiles the shape at a scale). opacity for any.
strokeA line round the shape: width, colour, align inside, outside or centre.
shadowsUp to three: x, y, blur, spread, colour, and inset for one inside the edge. A shadow with no offset is a glow.
sheenA highlight over the top: colour (white), opacity, share of the height.
dividerA line on one side (top, right, bottom, left): width, colour, inset from both ends.
zThe layer: higher is drawn over its neighbours, lower under.

A player's picture (portrait) in a shape is drawn clipped to it: a portrait in a leaning panel leans with it.

Type#

Text elements and the match's numbers also take weight (regular, bold), italic, case (none, upper, title; caps is the older word for upper), spacing, an outline (width, colour), a textShadow (x, y, blur, colour), tabular (figures of one width, so a changing score keeps its place), textFit: "shrink" (one line, made smaller to fit, never under minSize), wrap (more lines) and balance (more lines of even length, so a short word is never left alone on the last).

Layers and groups#

A region with flow: "free" places each element by its own x, y, width and height instead of side by side. An element of type: "group" holds cells of its own (one level: a group's elements are not groups), laid out by its direction (row or column) and justify: a name over a country, say, in one cell of a row.

Motion#

motion on the layout or on a card sets how the graphic moves, beat by beat. Each beat is { kind, ms, ease, delay } (ease: linear, in, out, inOut, back, outBack, outQuart); kind: "none" switches that beat off and off: true switches them all off. A player who has reduce motion on in Settings sees none of it: the graphic appears as it ends up and goes at once, like the game's own graphics.

BeatKindsExtra
enter, exitslide, fade, wipefrom: left, right, up, down
scoretick (counts down), flash
throwerslide, fade (the marker moving rows)
checkoutslide, fade (the checkout cell coming)
pulsepulse, glowon: s180, checkout, both
build (cards)panels (one by one)from, stagger (ms between panels)

An element with still: true is never animated. Nothing moves, and nothing costs, while the match stands still.

The game redraws a designed graphic only when what it shows changes.

The designer in the Mod Studio#

A pack's own look has Scoreboard designer and Cards tabs; each opens the designer over the whole Studio.

  • The toolbar: start from a preset, undo and redo (Ctrl+Z, Ctrl+Y), the sample moment (the first leg, a finish on, a sets match, long names), zoom (fitted to the graphic, or 50 % to 300 %), the whole screen with the controls' ghost zones, before and after (the pack's saved version against yours), play the motion, and Save to pack.
  • The outline: the parts by name with an icon per element (a text shown in its own words, a placeholder as [Surname]), groups opened under their element. Drag or use up and down to reorder; add elements and parts.
  • The preview: the match's own graphics on the sample moment, framed on the graphic.
  • The inspector: sections that open and shut: what it is, Size and place, Text, Fill, Shape, Border and divider, Shadow, glow and sheen, and Motion on the whole design. An empty field shows its default. A colour is one chip and one field (#rrggbb, #rrggbbaa or a token), with the look's own colours as swatches. Copy style, Paste style and Style every (the picked element's style onto every element of its kind).
  • Presets: Classic (the game's own, measure for measure), Compact, Strip, and four broadcast looks to start from: Sleek (dark glass), Bold sports, Clean light and Angular (skewed neon). Cards: Split, Sleek and Angular.
  • Warnings never block saving: off the screen, covering the throw controls or the commentary box, and words that do not read on their ground (tuning studio.broadcast.minContrast; a see-through ground is judged over what is under it). A smaller window (1280 x 720) shows the same 1600 x 900 picture shrunk, so one preview serves both and the warnings check both.

On the phone#

The phone shows the scoreboard as two score cards. They take only what the look's scoreboard names itself: its ground on both cards (the thrower's a little lighter), its accent on the thrower's border, lettering that reads on the ground, and its font. A look without a scoreboard, or with a colour that does not read, leaves the phone's own colours (the gold border on the thrower). The phone has no 3D walk-on, so the strap, the face-off and the commentary box are PC only. A designed scoreboard or card is PC only too: the phone keeps its two cards, taking only the look's colours and font.

In the Mod Studio#

A pack's own look has a TV graphics tab beside Form and JSON: the channel, the strap, the scoreboard, the face-off card and the commentary box, each section with a live preview drawn by the match's own graphics, then Where it is shown (the events, tours and organisations that name it, and the "Show it at every event" switch with the warning above). Changes are staged until Save to pack. Test in game on a look plays a quick match that opens with the walk-on in it; on an event, "Test the walk-on" shows the look its chain names.

Written for Darts Player Simulator 1.0.5. Built from the game's own schemas and its base pack.