Impact Dynamics / Configuration

Jammed doors

Config.DoorJam - see Jammed doors.

Doors: 0 driver (front left), 1 front passenger, 2 rear left, 3 rear right.

Jamming

Setting Default Description
Enabled true Jams also need Config.Wheels.Enabled = true (they are worked out in the same step).
MinKmh 22.0 No door jams below this hit strength (after the class multiplier).
Chance moderate 0.15, heavy 0.45, severe 0.80 Chance a door right at the hit jams.
AllChance heavy 0.06, severe 0.30 Chance the frame folds and every door jams.
Radius moderate 1.2, heavy 1.8, severe 2.4 A door can jam when its nearest point is within this distance (m) of the hit - full chance at the door, fading to 0 at the radius.
DoorLength 0.95 Metres from a door's hinge back to its rear edge.
NoDoorClasses 8, 13, 14, 15, 16, 21, 22 Classes without doors to jam.
SoundVolume 0.8 Volume of door_jam.wav.
NotifyEveryMs 2500 The note at most this often (the rattle sound follows Kick.EveryMs).

Force the door

Config.DoorJam.Force - the Jobs below (police / ambulance / fire by default) get an ox_target option on a jammed door; it works with a pry tool in hand.

Setting Default Description
Enabled true
Jobs { police = 0, ambulance = 0, fire = 0 } Job name = minimum grade, must be on duty. Standalone: the ace impactdynamics.force.
Weapons { 'WEAPON_CROWBAR', 'WEAPON_HALLIGAN' } Pry tools (must be in hand). WEAPON_CROWBAR is GTA's own; add any add-on tool you stream.
Ms 22000 How long forcing takes.
Chance 0.7 Chance it gives at the end.
Distance 2.5 Metres from the door.
Anim veh@break_in@0h@p_m_one@ / std_force_entry_ds, flag 1 The forcing animation (dict, clip, flag = GTA animation flags; 1 = loop).

Getting yourself out

Config.DoorJam.Escape

Window

Setting Default Description
Window.Enabled true Climb out through your seat's window when it is open (broken or rolled down).
Window.Ms 6000 Length of a try (a failed one: half).
Window.Chance light 0.9, moderate 0.75, heavy 0.5, severe 0.25 Chance a try gets out, by the crash that jammed the door.
Window.Step 0.1 Added after every failed try ...
Window.Max 0.85 ... up to this.
Window.RetryMs 8000 Wait after a failed try.
Window.Climb 'part' 'part' = up onto the seat, head and shoulders out. 'lean' = a seated lean out of the window.
Window.Windscreen false true = front seats may also climb out when the windscreen is broken. The animation still goes out the side window, so leave it off unless you want it.

Kick

Setting Default Description
Kick.Enabled true Without an open window, the exit key kicks the door.
Kick.EveryMs 1500 One kick every ...
Kick.StartAfterMs 40000 No chance for the first 40 s of kicking ...
Kick.Chance 0.05 ... then this chance per kick ...
Kick.Step 0.015 ... + this every kick ...
Kick.Max 0.3 ... at most this.
Kick.ForgetAfterMs 120000 Stop kicking this long = start over.
HearRange 25.0 People outside hear the kicking / rattling this far.

With both Window and Kick off, a jammed door only opens from outside or with a repair.

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