Kartik Scripts

Tools

/emsadmin → Tools

Set-up helpers that work in the game world. Start one and the panel closes so the tool can take over the camera.


🦴 Prop positions

Pick a treatment prop and a body part, splint on larm, cast on lleg/shin, and so on, then press Start.

The prop appears on your own character. Move and rotate it with the on-screen controls until it sits right, then press ENTER, the finished config line is copied for you to paste into Config.TreatmentProps.

Long leg casts are made of three pieces (thigh, shin and foot), each on its own bone. They show up as separate entries, lleg/thigh, lleg/shin, lleg/foot, so you can line up each one.

Attaching a prop to a different bone

By default a prop sits on the body part's bone from zoneBones (forearm for arms, calf for legs). Add bone to a body part to use another bone for that prop only. Tourniquets use this to sit high on the upper arm and thigh:

tourniquet = {
    models = { 'kartik_tourniquet', 'prop_gaffer_arm_bind' },
    zones = {
        larm = { bone = 45509, pos = { 0.12, 0.0, 0.0 }, rot = { 0.0, 90.0, 0.0 } }, -- left upper arm
        rarm = { bone = 40269, pos = { 0.12, 0.0, 0.0 }, rot = { 0.0, 90.0, 0.0 } }, -- right upper arm
        lleg = { bone = 58271, pos = { 0.15, 0.0, 0.0 }, rot = { 0.0, 90.0, 0.0 } }, -- left thigh
        rleg = { bone = 51826, pos = { 0.15, 0.0, 0.0 }, rot = { 0.0, 90.0, 0.0 } }, -- right thigh
    },
},

The Prop positions tool uses that bone too, and keeps bone in the line it copies.


🎨 Prop showcase

Show props lines up every custom EMS prop in front of you. It is the quickest way to check the prop pack streamed properly. Run it again to clear them.


📸 Vehicle photos

Photographs your garage vehicles on a green screen for the garage screen. Leave the model empty to shoot every vehicle, or type one model to redo just that one.

Needs screenshot-basic or screencapture. Images are saved to images/vehicles, restart the resource afterwards so players download them.


🔇 Stuck sounds

Stop sounds stops any stuck alarm, heartbeat or flatline sound on your client.


🔧 Still commands

A few one-off tuning tools that are only needed for custom models are still chat commands.

Command
/monitoradjustLine up a patient monitor screen on a custom monitor prop. Admin or Config.Debug
/tvadjustLine up the hospital board on a custom TV model. Admin or Config.Debug
/bedexitTune the get-up-from-bed animation, while lying in a bed

On this page