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

Guide

Surrounds

The surround is the padded ring round the board, with the tournament's name lettered round it and its logo at three and nine o'clock. A pack's surrounds records change it by data alone: its colour (with an alpha), a picture and a pattern over it, the lettering and every logo with its own visibility, place and size, sponsors' logos among them. An event, a tour or an organisation names one. Without one the ring is the game's own, in the tour's colour.

Status. Built in 1.0.5, with the Mod Studio's form and a flat preview of the ring.

Example: the World Championship in green#

Two files in a mod, no code:

// data/surrounds.json
[{ "id": "green.surround.worlds", "colour": "#1e8a3c" }]
// data/patches/worlds.json
[{ "target": "event:core.event.kingsgate-world-championship", "patch": { "surround": "green.surround.worlds" } }]

The World Championship's ring is then green, shaded as the game shades its own; everything else about the event (its logo, its lettering, the rest of the stage in the tour's gold) stays as it was.

The record#

{
  "id": "acme.surround.harbour",
  "name": "Harbour",
  "colour": "#0d2a4acc",
  "ink": "#ffd34d",
  "rim": "#081a2e",
  "finish": "satin",
  "image": { "src": "assets/surrounds/waves.png", "fit": "tile", "repeat": 12, "opacity": 0.35 },
  "pattern": { "kind": "segments", "colour": "#ffffff14", "count": 20, "width": 0.5 },
  "title": { "at": "top", "size": 1.1, "span": 140 },
  "logos": [
    { "id": "left", "show": "event", "angle": 270 },
    { "id": "right", "show": "sponsor", "sponsor": "acme.sponsor.oche-optics", "angle": 90, "size": 0.7 },
    { "id": "bottom", "show": "tour", "angle": 180, "radius": 0.55, "size": 0.5 }
  ]
}

Colours are #rgb, #rrggbb or #rrggbbaa (the last two digits are the alpha: 80 is half).

FieldMeaningWithout it
colourThe ring's colour. With an alpha, the dark foam shows through.the tour's colour
inkThe lettering's colour.white, or near-black on a light ring
rimThe rim round the outside and the inner wall at the board.the ring's colour, shaded
finishsatin (darker at the rim, a sheen band, a light from above, as the game's own) or flat (the colour exactly as given).satin
foamfalse: no fine foam grain.on
pinstripes{ "visible": false }, or a colour for the fine lines at the ring's edges.on, in white or black
imageA picture over the colour: src (a path in the mod), fit cover (stretched over the whole ring) or tile (repeat copies round it, each the band's height), opacity (0 to 1).none
patternOver the colour and the picture: kind segments, rays, rings, dots or chevrons; colour (an alpha keeps it subtle), count round the ring (or across it, for rings) and width (each one's share of its step).none
titleThe lettering: visible, text (instead of the event's name and year), at (top, bottom, both), radius (0 at the board's edge, 1 at the rim), size (1 is the game's own), span (the widest arc, in degrees), colour.the event's name top and bottom
marksfalse: no small diamonds between the lettering and the logos.on
logosThe logos, up to 16; see below.the event's logo (or its initials) at three and nine o'clock
part1.0.5: a surround from the board kit or a mod (a boardParts record of kind surround, board-[looks](board-looks#the-kits-other-parts-105-lane-m3)) round the board in place of the padded ring; with partColours, partFinishes and glowStrength (how strongly its lit parts shine, 1 as made). An event's surround part wins over a board look's own surround.part. A part not installed: the ring as above.the padded ring

Logos#

FieldMeaningDefault
idThe slot's own id (lowercase, digits, dashes). An event's surround changes the slot of the same id in its tour's.(required)
showevent (the event's logo; its initials in a roundel without one), tour, organisation, image (the slot's own image) or sponsor (the sponsor's logo).event
angleClockwise from the top, in degrees: 90 is three o'clock, 180 the bottom.90
radiusAcross the band: 0 at the board's edge, 1 at the rim.0.5
sizeThe logo's longer side as a share of the band's width.0.78
followtrue: the logo turns with the ring: on the upper half its top to the rim, on the lower half (past 90 and before 270 degrees) its top to the board, as the bottom title is turned, so it never reads upside down.upright
visiblefalse hides the slot.shown

Naming a surround#

An event, a tour and an organisation each have a surround field (a surround's id). A match's surround is the chain organisation → tour → event, field by field: a tour can set the colour and the logos, and an event over it only change the colour ({ "id": "acme.surround.final", "colour": "#7a1020" }) or hide one logo ("logos": [{ "id": "right", "visible": false }]). Lists of logos are merged by their id.

A surround named but not installed is a warning on the Mods screen, and the ring falls back to the next one up the chain, or the game's own.

A board's own surround (1.0.5)#

A board look can name a surround as its own: its ownSurround field, a surround's id. The Mod Studio's board builder designs it with the board (its Surround section, below), and its Save writes both to the pack at once. It is an ordinary surrounds record of the pack, so other boards and events can name it too.

// data/board-looks.json
[{ "id": "acme.boardlook.harbour", "name": "Harbour", "ownSurround": "acme.surround.harbour" }]

A match's ring is then, in order: the chain's surround (organisation, tour, event, as above); else the board look's own surround; else the game's ring. The chain always wins, so a tour's surround is not replaced by a board's.

In the board builder, the Surround section's Design its own surround makes the record (its id from the look's, named after it, in the colour of tuning board.builder.surround.colour, the event's name lettered top and bottom) and names it as the look's own. Its fields are the surround's: colour, lettering colour, rim, finish, foam, pinstripes, a picture, a pattern, the lettering (its words, where, size and span) and the logos (pictures from your pack among them). The ring is shown round the builder's board as you change it, lettered with a sample event name. Stop using it takes it off the board; the record stays in the pack. A board naming another mod's surround shows it, but it is changed only in that mod.

On an event's, tour's or organisation's Board and oche tab, a board with its own surround shows the tick box Use the board's own surround beside the board look, ticked by default. Ticked, the record names the board's surround as its own surround (so it stands over a tour's); unticked, the surround picker is free for any other: the game's, your pack's, an installed mod's, or one built with another board (the list says which board each was built with). Picking another board while the box is ticked takes that board's own surround.

Like every surround, a board's own follows the installed packs: careers under way show it at their next match. The phone draws the same ring; a board's own surround that is not installed falls back as above. Like the stage, the surround follows the installed packs: a career under way takes a pack's new surround at its next match.

Cost and limits#

The ring is one picture of the board (2048 px at medium quality, 1024 at low), drawn whether or not a surround is set: a surround costs no more pictures. Its own pictures are read and decoded off the main thread while the lobby waits (the stage.identityPicturesMb cache, 24 MB) and drawn into the ring; a picture the lobby has not read is read when the board is built, as the event's logo always was. Pictures follow the image rules: a missing one is a warning and the slot is drawn without it.

The phone draws the same ring, pictures included.

A logo over the title#

A logo whose box reaches into a visible title arc (the top arc is centred at 0 degrees, the bottom at 180, each at most span degrees wide, at the title's radius) is drawn over the lettering. The Mods screen and the Studio warn of it ("the logo ... covers the title's lettering"): move the logo, shrink it, or set the title's at to the other half. The game's own places for the event's logos, 90 and 270 degrees, are clear of both arcs.

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