Debris
Config.Debris - see Crash debris. Sweeping is on its own page: Sweeping.
Prop names (ryan_crash_*) and debris kinds (panel_small, glass_shards ...) are listed at the end of this page.
General
| Setting | Default | Description |
|---|---|---|
Enabled |
true |
|
MinKmh |
10.0 |
Smallest hit (hit strength after the class multiplier) that sheds anything. |
Lifetime |
light 8, moderate 14, heavy 20, severe 28, shed 10 | Minutes a field stays, by crash ('shed' = glass / a wheel liner dropped later). |
LifetimeMin |
20 |
Minutes for any other field. |
MaxProps |
700 |
Debris props one client keeps at once (far fields' detail waits). |
MaxFields |
80 |
Fields server-wide; the oldest goes first. |
MaxPerArea |
6 |
Crash fields within AreaRadius of each other (window / wheel / slide fields do not count); the oldest goes. |
AreaRadius |
12.0 |
Metres - the size of one "area" for MaxPerArea. |
SpawnDistance |
90.0 |
Props are created when a player comes this close and removed past it. |
MaxPiecesPerField |
160 |
Most pieces one field can have. |
BikeScale |
0.3 |
A motorbike sheds this share. |
LodDistance |
big 110, normal 70, detail 40 | Draw distance (m): big = the Variety.Big and Decay.Keep props, detail = the Detail.Models, normal = the rest. Editing those lists changes the distance. |
Thinning out
Decay - from From x its life on, the small pieces fade out one by one; the Keep pieces stay to the end.
| Setting | Default | Description |
|---|---|---|
Decay.Enabled |
true |
|
Decay.From |
0.35 |
Share of the field's life after which pieces start to go. |
Decay.FadeMs |
1200 |
Fade-out time of one piece. |
Decay.Keep |
bumper cover, fender, radiator, exhaust, headlight, taillight, arch liner, hubcap, windscreen, panel_a | Props that stay to the end. |
Detail - the small pieces only exist within Distance of you.
| Setting | Default | Description |
|---|---|---|
Detail.Distance |
35.0 |
Metres - small pieces only exist this close to a player. |
Detail.Models |
plastic bits, small pebbles, shards, hardware, the three lens bits |
How many pieces
| Setting | Default | Description |
|---|---|---|
Counts |
light 3-5, moderate 12-16, heavy 40-50, severe 62-76 | Pieces per tier (most props are clusters - a pile of glass, a handful of splinters). |
Deeper |
{ FromKmh = 60.0, PerKmh = 0.45, Max = 60 } |
+ PerKmh pieces per km/h over FromKmh, at most Max more. |
TopKmh |
193.0 |
The deepest crash the scale expects (your server's top speed, km/h). |
PaintBoost |
1.8 |
Paint-coloured kinds are picked this much more often. |
GlassBoost |
2.2 |
Glass kinds are picked this much more often ... |
GlassExtra |
light 0-1, moderate 3-5, heavy 8-11, severe 12-16 | ... plus this much extra glass. |
Always |
see config | Kinds always in the mix from that tier up (only where the piece belongs). |
BumperCoverFrom |
'heavy' |
A front / rear hit this hard always leaves the bumper cover. |
Variety - from From up every crash has at least one of every fragment prop that belongs to the side that was hit; the Big parts from BigFrom up. Rollover tumble hits skip it.
| Setting | Default |
|---|---|
Variety.Enabled |
true |
Variety.From |
'moderate' |
Variety.BigFrom |
'heavy' |
Variety.Big |
radiator, exhaust, bumper cover, headlight, taillight, foglight, grille, wiper, side skirt, mirror, fender, windscreen |
Variety.HubcapFrom / LinerFrom |
'heavy' / 'severe' |
Debris follows the car
Settle - a car still sliding after a crash drops pieces every Every m, then a last pile where it stops.
| Setting | Default | Description |
|---|---|---|
Settle.Enabled |
true |
|
Settle.FromTier |
'moderate' |
Lowest crash tier after which a sliding car drops pieces. |
Settle.Every |
3.0 |
Metres travelled between two drops. |
Settle.MinSpeed |
2.0 |
m/s - slower, nothing more falls off. |
Settle.MaxDrops |
14 |
Per crash, the last pile included. |
Settle.WatchMs |
8000 |
Follows the car at most this long after the last hit. |
Settle.StopSpeed |
1.0 |
m/s - slower than this for half a second = stopped. |
Settle.MinDistance |
6.0 |
The last pile only this far from the impact. |
Settle.DropCounts |
moderate 1-2, heavy 2-3, severe 2-4 | Pieces per drop. |
Settle.FinalCounts |
moderate 6-9, heavy 12-16, severe 18-24 | Pieces in the last pile. |
Settle.Spread |
1.6 |
Metres out from the car's body. |
Settle.Kinds |
see config | Kinds that can drop along the way. |
Where pieces land
| Setting | Default | Description |
|---|---|---|
Throw |
light 1.7, moderate 2.7, heavy 4.0, severe 5.7 | Metres a thrown piece goes (x 0.5-1.4). |
Carry |
0.11 |
+ this x the car's speed before the hit (m/s). |
FarSpread |
2.8 |
How wide the thrown pieces fan out (radians). |
Bounce |
0.13 |
Share of its flight a piece bounces on after landing. |
FaceSpread |
0.45 |
Thrown pieces leave from along the struck face (share of its half width). |
NearCar.Share |
light 0.62 ... severe 0.45 | Share of pieces round the contact point. |
NearCar.Distance |
{ 0.3, 1.6 } |
Metres from the contact point. |
NearCar.OriginRadius |
0.8 |
Metres of random scatter around the contact point. |
AroundCar.Share |
light 0.30 ... severe 0.45 | Share of pieces out from the body. |
AroundCar.Distance |
{ 0.3, 3.6 } |
Metres out from the body. |
AroundCar.Bunch |
1.2 |
> 1 = more of them close to the body. |
AroundCar.ImpactBias |
0.75 |
Share dropped off the struck side; the rest spill round the nearest corner. |
Spacing |
{ Enabled = true, Factor = 0.9, Tries = 8 } |
No two pieces on top of each other. Factor < 1 lets edges touch. |
RestPose |
arch liner, headlight, taillight | Props modelled standing, laid down: extra pitch (degrees) + lift. |
The throw
Animate - players near the crash see the pieces fly.
| Setting | Default | Description |
|---|---|---|
Animate.Enabled |
true |
|
Animate.MaxAgeMs |
4000 |
A field older than this when it reaches you is just placed. |
Animate.Apex |
near 0.06-0.3, around 0.15-0.6, far 0.4-1.5 | Arc height (m). |
Animate.Spin |
600 |
Degrees of tumble at most. |
Animate.MaxThrown |
70 |
At most this many fly; the rest appear where they land. |
Animate.MaxDistance |
60.0 |
Further away, pieces are just placed. |
Other cars, windows, wheels
| Setting | Default | Description |
|---|---|---|
OtherCar.Enabled |
false |
A parked / traffic (NPC) car you hit sheds its own debris too. |
OtherCar.Scale |
0.85 |
Its hit counts as this share of yours. |
WindowGlass.Enabled |
true |
A window breaking drops its glass under it. |
WindowGlass.HitWindowMs |
1500 |
The car must have taken a hit this recently (a window rolled down is not a break). |
WindowGlass.Out |
{ 0.05, 0.45 } |
Metres out from the car. |
WindowGlass.Tempered / Windscreen |
see config | Props for side / rear glass and the windscreen. |
WheelOff.Enabled |
true |
A wheel coming off drops its arch liner + hubcap. |
WheelOff.Pieces |
arch liner, hubcap |
Glass underfoot
BrokenGlass - a field's glass is registered as broken glass, so footsteps crunch over it.
| Setting | Default | Description |
|---|---|---|
BrokenGlass.Enabled |
true |
|
BrokenGlass.Radius |
1.2 |
Glass pieces this close together make one area. |
BrokenGlass.MaxAreas |
8 |
Per field. |
BrokenGlass.NearDistance |
25.0 |
Registered when a player comes this close ... |
BrokenGlass.RefreshSec |
60 |
... and again this often while they stay (0 = once per visit). |
Punctures
Puncture - sharp pieces can puncture a tyre that rolls over them.
| Setting | Default | Description |
|---|---|---|
Puncture.Enabled |
true |
|
Puncture.Chance |
0.45 |
x every piece's own chance. |
Puncture.MinSpeed |
1.5 |
m/s - slower than this, nothing punctures. |
Puncture.SpeedFactor |
{ 0.5, 1.6 } |
The chance x this from walking pace up to 90 km/h. |
Puncture.Leak |
0.90 |
Share of punctures that leak (flat a while later; tyre status 1 meanwhile) ... |
Puncture.LeakSeconds |
{ 90, 240 } |
... after this many seconds. |
Puncture.BlowAbove |
28.0 |
m/s - a glass shard or windscreen chunk taken faster than this (~100 km/h) blows the tyre at once. |
Puncture.TyreHalfWidth |
0.13 |
Metres. |
Puncture.Again |
3000 |
Ms before the same piece gets another go. |
Props and kinds
The 28 props: ryan_crash_arch_liner, bumper_corner, bumper_cover, exhaust, fender, foglight, glass_pebbles, glass_pebbles_s, glass_shards, glass_windscreen, grille, hardware, headlight, hubcap, lens_amber, lens_clear, lens_red, mirror, panel_a, panel_b, panel_c, plastic_bits, plastic_chunk, radiator, sideskirt, taillight, trim, wiper (all ryan_crash_ + the name).
The kinds used by Always, Settle.Kinds: panel_large, panel_small, bumper_corner, fender, mirror, headlight, lens_front, foglight, taillight, lens_rear, glass_shards, pebbles_small, pebbles, plastic_bits, plastic_chunk, grille, sideskirt, radiator, exhaust, wiper, trim, hardware. (bumper_cover is a kind too, but it is only ever placed by BumperCoverFrom.)