road_network

Settings for all the scene's roads: drive side, signal timing, lamps lit, cut-and-fill, ground cover clearing, wet pavement and wear.

In scene text

road_network { drive_side "…"  green 1  amber 1 }

Add it in the Inspector (Add Component), in scene text as above, or ask your AI. Fields you leave out keep their defaults.

Fields 28

FieldTypeUnit / rangeWhat it does
drive_sidetext—Which side traffic drives on.
greennumbers, 2 … 120Signal green time per phase.
ambernumbers, 1 … 10Signal amber time.
all_rednumbers, 0 … 10All-red gap between phases.
lamps_littrue / false—Street lamps light up (night).
conformtrue / false—Cut and fill the land under roads and blend the banks.
shed_foliagetrue / false—Clear ground cover off roads.
wetnessnumber0 … 1Damp pavement.
puddlesnumber0 … 1Puddles on the pavement.
wearnumber0 … 1Pavement age: fresh black top ... patched and cracked.
lamp_modeltext—
lamp_model_littext—
lamp_light(x, y, z)—Where the lamp's light goes, in the lamp model's own frame (just under its lens).
lamp_tiltnumberdeg, 0 … 45How far the lamp model's beam leans out over the road from straight down (its arm's rise).
sidewalk_surfacetext—
sidewalk_tilenumberm, 0.25 … 20The sidewalk surface's real width.
kerb_surfacetext—
kerb_tilenumberm, 0.25 … 20The kerb surface's real width.
chunknumberm, 16 … 1000Mesh chunk size (culling and draw calls).
seednumber0 … 1.67772e+07Variation for wear, patches and props.
junction_controlslist of text—Intersections set by hand: "x z control" (signals, stop, yield, none) for the one within 15 m.
trafficnumber0 … 60City traffic in play: cars per km of lane kept round the player (copies of cars tagged traffic_template); 0 none.
traffic_radiusnumberm, 60 … 2000How far from the player traffic cars live.
traffic_maxnumber0 … 400Most traffic cars at once.
pedestriansnumber0 … 400People on the sidewalks in play: walkers per km of walkway kept round the player (copies of characters tagged pedestrian_template); 0 none.
pedestrian_radiusnumberm, 30 … 1000How far from the player pedestrians walk.
pedestrian_maxnumber0 … 500Most pedestrians at once.
policenumber0 … 40Police units at most while the player is wanted (two a star; copies of cars tagged police_template); 0 no police.
Arcwright Beta 2 (0.4.0) · generated from the engine source (25e375c86)Something wrong or missing? Tell us
Download Arcwright free