Impact Dynamics / Configuration

Screen effects

Config.ScreenEffects - see Screen effects.

Setting Default Description
Enabled true
SeatbeltStateBags { 'seatbelt', 'harness' } Player state bag keys your seatbelt script sets to true when buckled. Belted = shorter daze / blackout.
Shake per tier, see below GTA camera shake name + strength range.
Flash light 0.25, moderate 0.45, heavy 0.7, severe 0.95 Red edge flash strength (0-1).
Rumble light 120, moderate 220, heavy 380, severe 600 Controller rumble (ms).
Lua
Shake = {
    light    = { 'SMALL_EXPLOSION_SHAKE', 0.10, 0.20 },
    moderate = { 'SMALL_EXPLOSION_SHAKE', 0.30, 0.50 },
    heavy    = { 'LARGE_EXPLOSION_SHAKE', 0.35, 0.55 },
    severe   = { 'LARGE_EXPLOSION_SHAKE', 0.60, 0.90 },
},

The strength is picked within the range by how hard the hit was within its tier, then multiplied by the player's shake setting.

Daze

Setting Default Description
Daze heavy 2000, severe 3500 Blurred, swaying view (ms, the most it lasts: x 0.7-1.0 by how hard the hit was within its tier).
UnbeltedMult 1.25 Daze length x this when unbelted.
MaxDazeMs 4500 One daze never lasts longer, whatever hits follow.
DazeCooldownMs 4000 No new daze this long after one wore off.

Blackout

Setting Default Description
Blackout heavy 450, severe 1300 Ms held black (x 0.85-1.15 by how hard).
BlackoutReturn heavy 2400, severe 4000 Ms for vision to come back.
BlackoutBelted true Belted occupants black out too ...
BlackoutBeltedScale 0.65 ... but shorter.
BlackoutBlink true One heavy blink while vision comes back.
BlackoutBlur 'hud_def_blur' Timecycle blur that clears as you come to. false = none.
BlackoutCooldownMs 10000 One blackout per crash (a tumble is several severe hits).

Set Blackout = {} to turn blackouts off completely.

Still stuck? Open a ticket in the Ryan Studios Discord and we'll help you out.