Crash debris
Every crash from Config.Debris.MinKmh (10 km/h) up leaves a debris field on the road, built from 28 custom props. Only cars driven by a player shed debris (NPC cars only with Config.Debris.OtherCar.Enabled).
What falls off
| Group | Pieces |
|---|---|
| Paint pieces (in the car's colour) | Body panels, bumper corners and covers, fenders, mirrors. |
| Lights & glass | Headlights, tail lights, fog lights, clear / amber / red lens bits, glass shards, tempered-glass pebbles, windscreen chunks. |
| Parts | Radiator, exhaust, grille, wiper, side skirt, trim, hardware (bolts, clips), plastic bits and chunks. |
| Wheel parts | The arch liner and hubcap where a wheel came off. Heavy crashes also drop a hubcap, and severe ones an arch liner, at the arch nearest the hit. |
Paint pieces take the crashed car's real colour (also custom RGB paint): the nearest of 32 palette rows is picked.
Where it lands
- Only what belongs there - a front hit drops grille and headlight parts, a rear hit tail lights and exhaust, a side hit mirrors and side skirts.
- Near the car - round the contact point.
- Around the car - out from the body, mostly on the struck side.
- Thrown - a fan from the impact, carried on by the car's speed.
- No two pieces on top of each other.
Bigger crashes, more debris
- Piece counts grow by tier, and deeper crashes (a hit strength past 60 km/h by default) shed more on top.
- From moderate every crash has at least one of every fragment prop that belongs to the side that was hit; from heavy the big parts too (not for rollover tumble hits).
- A heavy front / rear hit always leaves the bumper cover.
It follows the car
After a crash from moderate up, a car that is still sliding drops pieces every 3 m (up to 14 drops, for 8 seconds after the last hit), and a last pile falls where it stops if that is 6 m or more from the impact. These drops form a field of their own next to the crash field (a new one every ~30 m of slide).
Windows and wheels
On a car someone is driving:
- A window breaking - in a crash, or by gunfire or a hit that damages the body - drops its glass under it. A window rolled down is not a break, and the windows of empty cars are not watched.
- A wheel coming off within 4 seconds of a hit (ours or GTA's own) drops its arch liner and hubcap at that arch.
The throw
Players near the crash see the pieces fly on arcs, tumble, bounce and settle. Players who arrive later see them lying there. Each player can turn the throw off in their settings.
Glass underfoot & punctures
- A field's glass is registered with the game as broken glass, so GTA's own footsteps crunch over it - for everyone.
- Sharp pieces puncture tyres that roll over them. Nine in ten punctures are a slow leak: the driver is told "Tire pressure dropping - Front left" and the tyre goes flat 1.5-4 minutes later. The rest go flat at once, and a glass shard or windscreen chunk taken above ~100 km/h blows the tyre immediately.
It thins out
A field lives 8-28 minutes depending on the crash. From about a third of its life the small pieces fade out one by one; the main parts (bumper cover, fender, radiator, exhaust, head and tail lights, arch liner, hubcap, windscreen chunk, large panel) stay to the end. Small detail pieces only exist within 35 m of you, so busy streets stay light.
Same for everyone
The server keeps each field as a seed. Every client builds the same pieces locally while within 90 m - no networked props. Fields belong to a routing bucket: players in another bucket (an instance) do not see them.
Limits: a player's crashes leave at most 6 debris fields a minute, at most 6 crash fields share one 12 m area and 80 exist server-wide - the oldest goes first.
Clearing it
- Sweeping - by players.
/impactclear [radius]- admins./cleardebris- any player, only on their own screen.exports['ryan-impactdynamics']:ClearDebris(coords, radius, bucket)- server side (radius 30 m and bucket 0 by default).
Configure it in Debris.