doomCircle

Module: vehicle_thunderdome.lua

What it does

Spawns a configurable number of random vehicles arranged in an evenly spaced circle around the player, each one facing tangentially along the ring — creating a makeshift vehicular arena. Spawned vehicles are tracked and automatically removed after 1 in-game hour via a cleanup routine that runs every in-game hour (Events.EveryHours).

Trigger type

doomCircle

Parameters

ParameterTypeDefaultValid ValuesDescription
radius number 10 Any positive number The radius in tiles of the vehicle circle, measured from the player's current position.
number number 10 Any positive integer The number of vehicles to place around the circle. Vehicles are evenly distributed at equal angular intervals.
Each vehicle is selected randomly from the same 32-type pool used by the car module. Vehicles that fail to spawn (e.g. invalid grid square) are silently skipped. All successfully spawned vehicles are removed after 1 in-game hour.

Examples

Default doom circle: 10 cars at radius 10
{ type="doomCircle" }
Larger arena with more vehicles
{ type="doomCircle", radius=25, number=20 }
Tight ring with fewer cars
{ type="doomCircle", radius=6, number=6 }