Parachutes
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:
- The item is removed from the inventory immediately.
- A parachute bag prop appears on the player's back.
- The
GADGET_PARACHUTEgadget is given, so the player can deploy with LMB while airborne. - The bag prop disappears once the parachute deploys.
Tints
Tints are set through the item's metadata:
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
| Index | Name | Look |
|---|---|---|
0 | Default | grey / white |
1 | Vanilla | cream |
2 | Lima | green |
3 | Phoenix | red / orange |
4 | Flames | orange, flame pattern |
5 | Pulse | purple / blue |
6 | Wireframe | wireframe pattern |
7 | Bruiser | bruiser 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 }
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.
