Impact Dynamics / Reference

Troubleshooting & FAQ

Debris does not show up

  • Players have not downloaded the props. The props are streamed - restart the server fully / reconnect after the first install. F8 shows debris model ... is not streamed - skipped when a prop is missing.
  • The crash was too soft - Config.Debris.MinKmh (10 km/h by default). Try /impacttest severe front.
  • You are in another routing bucket: debris belongs to the bucket it was made in, so players in an instance (a house, a lab) only see the fields of that bucket.
  • The vehicle class is ignored (Config.Impact.IgnoreClasses) or the model has ModelMultiplier = 0.
  • Only cars driven by a player leave debris. NPC cars you hit only shed with Config.Debris.OtherCar.Enabled.

"Force the door" / "Sweep up the debris" does not appear

  • ox_target must be running. If it starts after Impact Dynamics the options still appear once it does (debris fields already on screen get theirs when you come back to them).
  • Force: you need one of Config.DoorJam.Force.Jobs (on duty, grade high enough), the car must have a jammed door and you must be outside it. The pry tool (Config.DoorJam.Force.Weapons) must be in your hands when you pick the option.
  • Sweep: one of Config.Debris.Sweep.Groups, or the sweep item.
  • Standalone: give the aces impactdynamics.force / impactdynamics.sweep.
  • Check the console line [ryan-impactdynamics] framework: ... shows your framework.

Curbs or speed bumps count as crashes

Raise Config.Impact.MinDeltaKmh a little, or lower BumpUpShare so more upward jolts count as bumps.

Cars crash too easily / not enough

Change the tier thresholds in Config.Impact.Tiers, a class in ClassMultiplier, or one model in ModelMultiplier. Turn on /impactdebug to see how hard every hit was (km/h) and its tier in F8.

Cars do not roll over / fly away

  • /impactroll left to test the tip.
  • Cars only lift and drop back: raise Config.Rollover.TipImpulse.
  • Cars fly: lower it.
  • Rolling too easily: raise SlideSpeed / SlipAngle, or the class's ClassFactor.

The engine dies in every crash anyway

Make sure Config.Impact.EngineGuard.Enabled = true. Another script setting the engine health (a damage script, a "realistic engine" script) can fight it - turn that feature off there.

The fuel does not go down with a leaking tank

  • /impactdebug prints fuel leak ... (name) - the name is the fuel system in use. game means no supported fuel script was found: set Config.Fuel.System to your fuel resource, or add it to the bridge - see Fuel scripts.
  • Only the vehicle's network owner (usually the driver) drains it.

I cannot climb out of the window

Your seat's own side window must be open - broken or rolled down. A window that is up and in one piece keeps you in (the note says so). Kick the door instead, or roll the window down. Front seats can use a broken windscreen only with Config.DoorJam.Escape.Window.Windscreen = true.

The car must also be (nearly) stopped. Each try is a chance set by how bad the crash was (25 % after a severe one, +10 % for every failed try); after a failed try, wait 8 seconds before the next.

A jammed door never frees

Kicking has no chance for the first 40 seconds (Kick.StartAfterMs), then each kick has a growing chance - keep kicking. Police / ambulance / fire (the Force.Jobs) can force it; a repair clears it; /impactjam clear clears it as an admin.

Console messages

Message Meaning
[ryan-impactdynamics] framework: <name> (server) The framework in use. standalone = ace permissions.
... sent more than 8 crashes in a minute - ignoring the rest (server) A player's crash reports hit the rate limit. Normal in a long multi-car pile-up.
debris model ... is not streamed - skipped (F8) That player has not downloaded the props - restart / reconnect.
sweep anim ... missing - sweeping without it (F8) The broom animation did not load; sweeping still works.
could not add the Force the door option: ... (F8) ox_target refused the option - check ox_target is up to date.
GET_ENTITY_MATRIX gives ... (F8, first drive) An information line from a start-up check. Nothing to fix.

Players hear crash sounds twice / too loud

GTA plays its own crash audio underneath. Lower Config.Sounds.Volume, or players turn it down with /impactvolume. Config.Sounds.Glass stays false unless you want our window sound on top of GTA's.

Can I rename the resource?

Keep the folder name ryan-impactdynamics: other scripts call its exports by that name.

Does it work with my HUD / seatbelt / dispatch?

Yes - see Seatbelt & HUD scripts and Dispatch, logs & hooks.

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