Wheels of Stone is a set of maps. Each circuit's road, jumps, boost pads,
shortcuts and rivals come from one setting in the map file, rules.race, and
everything below works on any map that sets it. A player who opens your map
gets the whole race: the garage with each car on its people's turntable, the
intro round the grid, the countdown, the race and the results.
Start from a Wheels of Stone circuit
Download Meadowbrook (every circuit is at
/maps/race-<circuit>.play.json) and open it in the Forge with File →
Import Map JSON…. Its race comes with it: change the laps, the cars on
offer or the line itself, then save it as your own.
To start from a blank map instead, open the Players module in the Forge. Under Rules there is a Race panel. Switch it on and it lays an oval round the middle of the map. Switching the race on also turns standard victory, the starting base, the AI's armies, fog and building off, because a race has none of them; turn any back on in Rules if your map wants it.
Switch a race on: rules.race
{
"rules": {
"race": {
"track": {
"id": "lantern_run",
"name": "Lantern Run",
"width": 9,
"offroad": "grass",
"points": [
{ "x": 40, "y": 30 }, { "x": 88, "y": 30 }, { "x": 100, "y": 64 },
{ "x": 88, "y": 98 }, { "x": 40, "y": 98 }, { "x": 28, "y": 64 }
],
"features": [
{ "kind": "boost", "at": 0.1 },
{ "kind": "items", "at": 0.45 }
]
},
"laps": 3,
"roster": ["race_car_rustrocket", "race_car_widow"]
}
}
}-
The line (
track.points) is the road's centre line in tiles, in the order the cars drive it, closed back to the first point. The first point is the start line. A point may set its own width (w). The game draws the road, the kerbs and the start gantry along it; paint the ground beside it as you like. Trees, rock and cliffs are walls to a car, and deep water, lava and the void are drops it is hauled back from. Draw it on the map with the Race line tool (in the Select group of the toolbox): drag a point to move it, click to add a point at the end of the lap, Shift-click a stretch to add one there, Alt-click a point to remove it. The loop is drawn while the tool is out, its start larger and an arrow showing which way round. -
Features sit at a fraction of the lap (
at, 0 at the start line, 0.5 halfway round): boost pads, jump ramps, crests, rows of item crates, stretches of mud, ice or shallow water (from,to), gaps a ramp must clear, barriers, rolling boulders, fire geysers and shards. -
Shortcuts (
track.shortcuts) are second ways round, each with its own line, width and surface. -
The race:
laps(1 to 9),mode(raceortime_trial),speedClass,aiSkill,items,abilitiesandtimeOfDay. -
The cars:
rosterlists the cars your map offers; leave it out and every car is on offer. The Race panel lists them by name.kartsfixes a seat's car ("3": "race_car_widow"). -
Smoothness: switching the race on sets
rules.targetFpsto 60, so the game's adaptive graphics trade detail to hold 60 frames a second, andrules.keepResolution, so they give up shadows, terrain and grass before sharpness. The crowd (spectators) is drawn as cardboard cut-outs, so a full grandstand costs little. -
The garage: a player whose seat has no car in
kartspicks one in the garage before the race. Alone, the garage waits for them; with friends, it stays open twenty seconds, orgarageSeconds(0 for no garage). -
The start arch:
track.scenery.archstands one of the game's nine arches across your start line, with its five countdown lamps:meadowbrook,starwood,gloomroot,scrapheap,frostfang,emberforge,skyreach,nightshadeorsunscale. Leave it out for a plain gantry. The arches are also props (Start Arch, in the prop palette) for scenery elsewhere.
A race whose rules cannot run (a line of fewer than four points, a car that does not exist) plays as an ordinary map instead. Validation (F10) and the Race panel list why.
Your own setup screen
When someone presses Play on your published race, it opens in Wheels of
Stone's own setup: the garage with your roster, then the circuit screen with
the race settings (laps, class, rivals, their skill, items, the hour). With no
menu the screen offers your map alone, under its own name. With one in
rules.race, it can carry your title, a tagline, a logo, up to 16 circuits and
up to 8 Grand Prix cups:
{
"menu": {
"title": "The Village Circuits",
"circuits": [
{ "map": "community:3f1c2e9a-1b2c-4d5e-8f90-1234567890ab", "name": "Mill Lane", "blurb": "Round the mill pond" },
{ "map": "community:7a2b9c10-4d5e-4f60-8a1b-2c3d4e5f6a7b", "name": "The Mire" },
{ "map": "/maps/race-meadowbrook.play.json", "name": "Meadowbrook" }
],
"cups": [
{ "name": "Harvest Cup", "circuits": ["community:3f1c2e9a-1b2c-4d5e-8f90-1234567890ab", "community:7a2b9c10-4d5e-4f60-8a1b-2c3d4e5f6a7b", "/maps/race-meadowbrook.play.json"] }
]
}
}Each circuit is a race map of its own, named by community:<id> for a
published map (the id is in its share link) or /maps/<file>.json for one of
the game's. A cup races two or more of the circuits, in that order, for points.
Each circuit may carry art, a picture the game ships or you uploaded, for its
card. Publish the circuits first, then the map that lists them. Set
"menu": false for a race that should launch exactly as you wrote it. In the
Forge it is the Race panel's Setup screen section. Its Test the setup screen button runs Test Map through that screen, as a player meets it.
Anyone can open your screen with a link:
/play?race=setup&map=community:<id>.
Test it
Test Map in the Forge runs the race as a player gets it, garage first. The seats in the Players module are the grid: a User seat is a driver, a Computer seat an AI rival.