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

Guide

Trophy parts made in the game (free create)

The trophy builder in the Mod Studio can make a part by drawing it, as well as stacking the parts a pack ships (see trophy-[parts](trophy-parts)). A part made this way is saved in the open pack's own trophyParts record as an ordinary part of pieces, so it is listed in the parts browser, stacks at its sockets and takes finishes zone by zone like a part made in Blender. Another pack can ship such parts too: they are plain JSON.

The two editors#

  • Turned: a round piece (a cup, a stem, a base, a lid, a knop) drawn as its outline from the foot up, as [radius, height] points in millimetres, and turned round the upright axis. The foot and the top can be closed to the axis (a solid with flat ends), or the piece made hollow: a wall of the given thickness goes back down inside in the inner zone (a cup). Mirror upward copies the points above the top point, upside down, so a knop or a bead drawn as its lower half becomes whole.
  • Flat: a closed shape (a star, a flame, a shield, an emblem, a plate) drawn as [across, up] points and given depth, a bevel round both faces and rounding of its corners. Symmetric draws only the right half, from the top centre down to the bottom centre; the left is its mirror.

In both, each point is a curve point (the line runs smoothly through it) or a corner (the line turns there and the surface is not smoothed across it). With Curves off every point is a corner. Points snap to a grid (off, or the pack's steps), and can be typed in exactly. Undo and redo cover every change; a drag is one step.

Mouse: drag a point; press on a line to add a point there; double-click or right-click a point to make it a corner or a curve point again; Delete removes the chosen point; the wheel zooms about the pointer; drag the empty board to pan; Shift keeps a drag level or upright. Keys: the arrows move the chosen point one grid step (Shift: ten), Page Up and Page Down choose the previous or next point, Enter makes a corner, F fits the view. Pad: the bottom face button takes the chosen point to move with the D-pad (again lets it go), the triggers choose points; the panel's other controls are reached with the D-pad as usual.

A part cannot be saved while it has no size, every point is on the axis, its lines cross, its wall is too thick for it, it is larger than the editor's limits, or it has more triangles than the budget (6,000 a part, 8,500 a cup, as for Blender parts). The panel says which.

Swept parts and primitives (pass 2)#

  • Swept: a cross-section carried along a path drawn in the front plane: a handle, a scroll, an arch, a wreath, a blade. "Draw" switches the board between the path and the section (seen along the path; the cross is the path). The path can be a closed ring; an open path has closed ends; a mirrored pair copies it to the left (not for handles: the builder mirrors a handle at its mount). Along the path, four sizes (start, a third, two thirds, end) swell and taper the section smoothly, and four thicknesses flatten it toward the viewer; twist turns it along the way. Section offers the packs' preset sections (blade lens, diamond, ellipse, round, square) in place of the drawn one. A handle hangs where it was drawn (its path from the cup's side outward; join.bottom and join.top at its ends); any other kind stands on its lowest point. A swept part lies in the front plane, so a part placed and repeated round the upright axis stands as a fin in a plane that holds the axis (a ring of blades).
  • Primitive: a cylinder, cone, sphere, box or torus (lying, a ring; standing, a wreath), sized by numbers, then deformed: taper (the top's width over the foot's), bend (degrees the top leans over toward +x, the centre line keeping its length), twist (degrees the top turns) and squash (lower and wider, or taller and slimmer, keeping its volume). Height steps cut it into rings so a bend or twist curves smoothly (24 by default). Its top socket follows a bend.

A swept part is not saved when a closed ring twists by part of a turn (it would show a step where it meets itself) or when a smooth bend of the path is tighter than the section reaches across it (it would fold through itself); a drawn corner creases and is allowed. One undo covers the path and the section. Both save as parts of pieces like the turned and flat shapes.

The pieces they save#

{ "shape": "sweep", "zone": "main", "path": [[0, 0, 0], [35, 80, 0], "..."], "section": [[0, 7], [-0.9, 4.5], "..."],
  "scales": [0.8, 1.15, 0.9, 0.05], "flats": [1, 1, 0.8, 0.5], "twist": 30, "closed": false, "caps": true, "mirror": false }
  • path: [x, y, z] mm (z 0 from the editor); section: [u, v] mm, u toward the viewer, v across the path.
  • scales / flats: keys at even steps along the path's length (the first at the start, the last at the end), smooth between; scales sizes the whole section (0.01 to 10), flats only its thickness (0.05 to 10). Without scales, scale: [start, end] sizes it from start to end.
  • Any piece may carry "deform": { "taper": 0, "bend": 0, "twist": 0, "squash": 1 }, applied about the piece's own height and centre line after it is made. A primitive is saved as a lathe (cylinder, cone, split into height steps), a sphere, a ring (torus) or a sweep of a rounded rectangle up a stepped path (box).

What is saved#

{ "id": "free-harbour-cup", "kind": "cup", "name": "Harbour Cup",
  "height": 150, "footRadius": 22, "topRadius": 70, "zones": ["main", "inner"],
  "marks": { "socket.bottom": { "at": [0, 0, 0] }, "socket.top": { "at": [0, 150, 0] },
             "mount.handle": { "at": [57.4, 105, 0] }, "mount.lid": { "at": [0, 150, 0] } },
  "pieces": [ { "shape": "lathe", "zone": "main", "profile": [[0, 0], [22, 0], "..."], "sharp": [1, 2], "segments": 48 },
              { "shape": "lathe", "zone": "inner", "profile": ["..."], "segments": 48 } ],
  "free": { "type": "profile", "points": [[22, 0], [22, 6], "..."], "sharp": [1], "smooth": true,
            "hollow": true, "wall": 3, "closeFoot": true, "closeTop": true, "segments": 48, "kind": "cup" } }
  • pieces is what the builder draws: the drawn line with its curves worked out (eight steps between two points), corners listed in sharp. A flat part is one extrude piece (outline, thickness, bevel).
  • The part stands on its lowest point (height 0). The sockets follow the kind: socket.bottom and socket.top on every kind but handles and bands; a cup also gets mount.handle (on its right side, at seven tenths of its height) and mount.lid; a plinth or base with Engraving plate on gets plate.front half way up its front, and a flat part with it on gets one in the middle of its front face (extras width, height and corner radius in metres).
  • A band is saved with refRadius, its smallest drawn radius, so the builder can fit it round the part under it.
  • free keeps the points as drawn, so the editor opens the part again exactly. A part of pieces without free (made by hand) opens too: its first lathe or extrude piece becomes the editor's points.

The editor's settings and starters#

A trophyParts record's data may hold freeCreate; later packs replace earlier values, and a starter with the same id replaces the earlier one.

KeyMeaningCore value
gridsthe snap steps offered (mm)1, 2, 5, 10
maxPointspoints a shape may have64
segmentsround steps of a new turned part48
historyundo steps kept200
budget, cupBudgettriangles a part (a cup) may have6000, 8500
maxRadiusMm, maxHeightMm, maxWidthMmsize limits300, 800, 400
startersshapes a new part can start fromcup, urn, stem, knop, base, lid; star, flame, shield, emblem, plate; blade, ear, scroll, loop, arch, wreath, rope ring; column, cone, ball, block, ring, twisted column
sectionsa sweep's preset sections: { "id", "free" } (an outline's points)lens, diamond, ellipse, round, square

A starter is { "id", "type": "profile" | "outline" | "sweep" | "primitive", "kind", "name", "free": { ... } }, free as saved above. Its name in the editor is the text mods.studio.trophyCreate.starter.<id> when the language has one, else its name.

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