RedM documentation

Murphy's Doctor

Configuration

Transport


This page covers shared/config_transport.lua: carrying a patient on the shoulder, the field stretcher (one or two bearers), loading a stretcher into a wagon, and the dispensary beds where patients recover faster.

The transport prompts always use the game's own native prompts, whatever prompt mode the rest of the script uses. They only appear in context: next to a patient on the ground, a stretcher, the back of a wagon or a bed.

How it works

  • Carry. A doctor picks a patient up on the shoulder and walks with them. A conscious patient is asked first (accept or refuse within ConsentSeconds); a patient in a coma is moved without asking.
  • Stretcher. A doctor unfolds a stretcher from the stretcher item (or the /stretcher command), lays the patient on it and pulls it, its foot end dragging on the ground. A second doctor can take the foot end: the stretcher is then carried level. Bearers walk, never run.
  • Wagon. A bearer walks the stretcher to the back of a supported wagon and loads it; the patient stays on it for the ride, and a doctor at the back of the wagon takes it out again. A patient carried on the shoulder can also be laid on a stretcher already in a wagon.
  • Beds. A doctor lays a patient in a dispensary bed, or the patient lies down in a free bed by themselves. In bed, injuries heal faster and health comes back every minute. A doctor next to the bed can discharge the patient; the patient can always get up on their own, except in a coma. Each stay can be kept in the dispensary's archives.

General settings

Key Default Description
Config.Transport.Enabled true Enables the module.
Config.Transport.DoctorsOnly true true = only doctors can carry a patient or bear a stretcher. false = anyone.
Config.Transport.AskConsent true A conscious patient must accept before being moved. A patient in a coma is never asked.
Config.Transport.ConsentSeconds 12 Seconds the patient has to answer.
Config.Transport.Distance 2.2 Metres to the patient, the stretcher or the bed for the prompts.

Keys

RedM control hashes of the prompts.

Key Default Description
Config.Transport.Keys.Main 0xCEFD9220 (E) Carry, lay down, lie down, take the stretcher...
Config.Transport.Keys.Secondary 0x760A9C6F (G) Put down, fold the stretcher, discharge.
Config.Transport.Keys.Accept 0xCEFD9220 (E) The patient accepts.
Config.Transport.Keys.Refuse 0x760A9C6F (G) The patient refuses.

Carry

Key Default Description
Config.Transport.Carry.Enabled true Enables carrying on the shoulder.
Config.Transport.Carry.Walk true The carrier can neither run nor jump.

Stretcher

Key Default Description
Config.Transport.Stretcher.Enabled true Enables the stretcher.
Config.Transport.Stretcher.Item "stretcher" Usable item that unfolds a stretcher. The item is not consumed. nil = no item.
Config.Transport.Stretcher.Command "stretcher" Command that unfolds a stretcher without the item, for doctors (on duty when Config.Duty.GateServices = true). nil = no command.
Config.Transport.Stretcher.Model "mw_dr_stretcher" Stretcher prop, streamed by the resource.
Config.Transport.Stretcher.SecondBearer true A second doctor can take the foot end.
Config.Transport.Stretcher.Walk true Bearers walk, never run.
Config.Transport.Stretcher.MoveRate 0.75 Walking pace of the bearers (1.0 = a normal walk). The stretcher is heavy.

Wagons

Key Default Description
Config.Transport.Wagon.Enabled true Wagons can take a stretcher.
Config.Transport.Wagon.Distance 2.5 Metres from the back of the wagon to load or unload.
Config.Transport.Wagon.Models 7 models { [modelName] = { pos = vec3, heading = number } }. Only these models take a stretcher. pos is where the stretcher lies, in the wagon's frame (x right, y forward, z up); heading is the stretcher's heading minus the wagon's.

Shipped models: wagon02x, wagon04x, wagon05x, chuckwagon000x, supplywagon, utilliwag, huntercart01.

lua
-- add another wagon model: tune pos until the stretcher sits flat in the bed
Config.Transport.Wagon.Models.cart01 = { pos = vec3(0.0, -0.60, 0.35), heading = 0.0 }

Dispensary beds

The bed positions are set per dispensary in Config.Dispensaries[*].beds (see Dispensaries), as the position and heading of the bed itself. Where no bed of the model stands at that spot, the script places one, visible to every player.

Key Default Description
Config.Transport.Beds.Enabled true Enables the beds.
Config.Transport.Beds.Model "p_medbed01x" Default bed model (the examination couch of the Saint Denis doctor), used for a bed given as a plain vec4.
Config.Transport.Beds.Models 2 models { [modelName] = { pos = vec3, heading = number } }: where the patient lies on each bed model, in the bed's frame (x along its length, y across, z up). heading is the patient's heading minus the bed's. Add a line for any other bed model you use. Shipped: p_medbed01x, p_bed14x.
Config.Transport.Beds.SelfAdmit true A patient can lie down in a free bed by themselves.
Config.Transport.Beds.SelfAdmitDistance 1.4 Metres from the bed for the self-admit prompt.
Config.Transport.Beds.HealMultiplier 4 While a patient lies in a bed, their injuries heal this many times faster (the natural injury aging of Damage and injuries runs HealMultiplier minutes per minute). 1 = no bonus.
Config.Transport.Beds.HealthPerMinute 10 Health points restored every minute in bed (not during a coma). 0 = none.
Config.Transport.Beds.Discharge true A doctor next to the bed can discharge the patient (the patient gets up, both are told).
Config.Transport.Beds.Record true Each stay goes into the dispensary's archives as a signed report: when in, when out, who laid the patient there and who discharged them.
Config.Transport.Beds.RecordMinMinutes 2 Stays shorter than this (minutes) are not recorded.
lua
-- use a hospital bed model from a custom MLO
Config.Transport.Beds.Models.my_hospital_bed = { pos = vec3(0.0, 0.0, 0.75), heading = 180.0 }
-- then in Config.Dispensaries: beds = { { coords = vec4(...), model = "my_hospital_bed" } }

Animations and offsets

These values are tuned on the game's models. Change them only if a game update moves an animation, or if you use other stretcher or bed models.

Config.Transport.Anims: each entry is { dict, clip }, with an optional female = { dict, clip } played on a female ped.

Key Default Played by
Carrier mech_carry_ped@injured@carried@human / grip_lt_arm The doctor carrying a patient.
Carried mech_carry_ped@dead / carriedbyhuman_idl The carried patient.
OnStretcher amb_rest@prop_human_sleep_bed@pillow@male_a@base / base (female variant) The patient on a stretcher.
Bearer mech_loco_m@character@beau_gray@carry@suitcase@idle / idle The front bearer (upper body, hands on the handles). false = arms swinging free.
RearBearer same as Bearer The rear bearer's grip.
RearWalk mech_loco_m@character@beau_gray@carry@suitcase@walk / walk The rear bearer's legs.
InBed sleep pose (female variant) A patient in bed.
InBedComa sleep pose (female variant) A patient in a coma in bed.

Config.Transport.Offsets (metres and degrees):

Key Default Description
Carried bone PH_L_CarriableShoulder, pos and rot 0,0,0 Where the carried patient sits on the doctor (the game's carry point).
OnStretcher pos (0, 0, 0.12), rot (0, 0, 180) The patient on the stretcher, head at its head end.
Stretcher pos (0, -1.04, 0), dragZ = -0.55, pitch = 20.4, levelY = -1.10, levelZ = -0.20, levelPitch = 0, legs = 0.155 The stretcher behind the front bearer: dragZ / pitch when dragged by one bearer, levelY / levelZ / levelPitch when carried level by two, legs = height of the stretcher above the ground when it stands on its legs.
RearBearer pos (0, -1.05, 0.20) The rear bearer, between the poles, facing forward.
BedSide vec3(0.0, 0.95, 0.2) Where a patient stands up when leaving the bed, in the bed's frame.

Related: Dispensaries · Coma · Damage and injuries · Duty · Records and autopsy · Items


Last updated: November 20, 2026