One Studios
Guides

Parachutes

How the parachute item works, and how to tint the canopy and pack.

One Inventory ships a working parachute item. A player uses it from their inventory, a parachute bag appears on their back, and they can deploy it while airborne. The canopy and bag can be tinted through item metadata.

How it works

When a player uses a parachute item:

  1. The item is removed from the inventory immediately.
  2. A parachute bag prop appears on the player's back.
  3. The GADGET_PARACHUTE gadget is given, so the player can deploy with LMB while airborne.
  4. The bag prop disappears once the parachute deploys.

Tints

Tints are set through the item's metadata:

tint
number
The canopy tint, shown when the parachute is deployed.
packTint
number
The bag tint, shown on the pack while falling. If omitted, it falls back to the tint value.

Both must be integers (number type). The canopy tint shows on the deployed canopy, and the bag tint shows on the airborne pack while falling.

Available tints

IndexNameLook
0Defaultgrey / white
1Vanillacream
2Limagreen
3Phoenixred / orange
4Flamesorange, flame pattern
5Pulsepurple / blue
6Wireframewireframe pattern
7Bruiserbruiser pattern

Giving a tinted parachute

Set the metadata when giving the item (/giveitem, a shop, or the admin panel):

// Canopy and bag both Phoenix (red)
{ "tint": 3, "packTint": 3 }

// Green canopy, default bag
{ "tint": 2 }

// Default canopy, purple bag
{ "tint": 0, "packTint": 5 }
Set the tint values as numbers (3), not strings ("3"). A string value causes a script error. In the admin panel metadata editor, make sure the value type is number.

Troubleshooting

The parachute item must have a client event trigger pointing at one_inventory:parachute:equip, under the item's Use settings -> Triggers. The parachute item we pre-seed already has this trigger. If parachutes are not working, a missing trigger is the most likely cause.