Web Cars 2 wiki

EditPlay the game

Blockbench tags

Updated 2026-07-31 by webcars2@lantiainen.com

The settings you can put on a group name, and the handful of rules that govern all of them.

This page covers the tags you will actually reach for. The complete and authoritative grammar lives in docs/model-format.md in the repository. When the two disagree, that file is right and this page is out of date — please fix it.

The grammar

name;key=value;key=value

The part before the first ; is the display name. Everything after is settings.

body;weight=900;softness=20
ground;surface=ice
tire_front;drive=true

Three rules

Values are whole numbers. Always. There are no decimals anywhere in the grammar. A ratio is written as a percentage: damping=55 means 0.55, softness=20 means 0.20. Writing damping=0.55 does not work.

A group's cubes are its collider. If a group that should be solid has no cubes in it, it has no shape and the car will pass straight through.

An explicit type= beats the name. panel;type=body is a body group even though it is called panel. Use this when a descriptive name matters more than the convention.

Car settings

On a body group:

TagUnitNotes
weightkgtotal mass; spread across several body groups it is the sum
powerN·mengine torque
topSpeedkm/hspeed cap
softness0–100bounciness on impact; clamped at 80

On a suspension group:

TagNotes
springHzbounce rate — low is floaty, high is stiff
dampinghow quickly the bounce settles, as a percentage

On a tire group:

TagNotes
drivetrue or false — which axle is powered. Both by default

Track settings

On a ground group:

TagValues
surfacetarmac, dirt, sand, snow, ice

On a prop group:

TagWhat happens
weightmass in kg — a heavy crate barely moves, a light one flies
explodesdetonates on a hard enough hit
crumblescollapses when driven into
shattersbreaks apart
pivothinges rather than sliding — see-saws and planks
shape=rounda circle collider instead of a box — boulders, logs, tyres

Light settings

headlight, taillight and light groups render their modelled housing and carry no collider. A headlight is a spot light that sweeps as the car pitches; a taillight is a plain red glow with no beam or aim at all.

TagNotes
intensitybrightness
rangehow far the light reaches
glowColorthe colour, for taillights
blinkperiod, in milliseconds — makes the lamp flash
phaseoffset into the blink period, as a percentage

blink plus phase is how the emergency vehicles alternate: two ordinary lamps on the same period, the second at phase=50. There is no per-vehicle code behind it.

When something is wrong

Nothing throws. Unknown keys, bad values and broken links are collected and printed on screen when the model loads, as errors (which block the model) and warnings (which do not).

So if a model will not load, the answer is already on your screen — read it rather than guessing at the file.

Next