Realistically display your weapons and items on your character's belt when equipped from inventory but not in use! Works with lanterns, lassos, machetes, and more.
- Automatically shows/hides items on your belt
- Synchronized across all players - everyone sees each other's belt items
- Smooth transitions when equipping/unequipping
- Works with both male & female characters
- Supports multiple item types:
- Regular and Davy lanterns
- Regular and reinforced lassos
- Machetes
- Metal detector
- Quiver
- And more can be easily added!
There are 7 attachements already configured for you.
- Download the
bln_belt_attachments
script - Place it in your server's
resources
folder - Add
ensure bln_belt_attachments
to yourserver.cfg
The script works automatically once installed. When you have supported items in your inventory:
- Items appear on your belt when equipped but not in active use
- Automatically hide/show items when using them
- All players can see each other's belt attachments
WEAPON_MELEE_LANTERN
- Regular lanternWEAPON_MELEE_DAVY_LANTERN
- Davy lanternWEAPON_KIT_METAL_DETECTOR
- Metal detectorWEAPON_LASSO
- Regular lassoWEAPON_LASSO_REINFORCED
- Reinforced lassoWEAPON_MELEE_MACHETE
- MacheteWEAPON_BOW
- Quiver
you can support/add more items as you need!
To add a new category of items (e.g., if you want to add a new type of weapon or tool), follow these steps:
- Open
config.lua
- Add a new category to the
Config.categories
table - Add your items to the new category
Example of adding a new "knives" category:
Config.categories = {
-- Existing categories here...
knives = { -- New category
{
hashName = 'WEAPON_MELEE_KNIFE', -- Weapon hash name
model = `w_melee_knife02`, -- Model hash
bone = {
male = 'SKEL_R_Thigh', -- Attachment bone for male
female = 'skel_r_thigh', -- Attachment bone for female
},
offset = {
male = {
x = 0.0,
y = 0.0,
z = -0.11,
pitch = -83.0,
roll = 0.0,
yaw = 80.0,
},
female = false, -- Use male settings for female
},
}
}
}
To add a new item to an existing category (e.g., adding a new type of lantern):
- Identify the category you want to add to
- Add a new item table to that category's array
- Configure the item's properties
Example of adding a new lantern to the existing "lanterns" category:
Config.categories = {
lanterns = {
-- Existing lanterns...
{ -- New lantern
hashName = 'WEAPON_MELEE_LANTERN_HALLOWEEN',
model = `s_interact_lantern_halloween`,
bone = {
male = 'PH_Lantern',
female = 'PH_Lantern',
},
offset = {
male = {
x = -0.05,
y = 0.0,
z = 0.0,
pitch = 0.0,
roll = 0.0,
yaw = 0.0,
},
female = false,
},
}
}
}
When adding new items, you'll need to configure these properties:
hashName
: Can be either:- A string: Single weapon/item hash name (e.g.,
'WEAPON_MELEE_LANTERN'
) - An array: Multiple weapon hashes (e.g.,
{'weapon_bow', 'weapon_bow_improved'}
)
- A string: Single weapon/item hash name (e.g.,
alwaysAttached
: Optional boolean- If
true
: Item stays attached when equipped, even while in use - If
false
or not set: Item only shows when equipped but not in active use
- If
model
: The model hash for the attached itembone
: Specifies attachment pointsmale
: The bone name for male charactersfemale
: The bone name for female characters (orfalse
to use male settings)
offset
: Position and rotation settingsmale
: Offset values for male charactersx
,y
,z
: Position offset from the attachment bonepitch
,roll
,yaw
: Rotation angles in degrees
female
: Offset values for female characters (orfalse
to use male settings)
Here are some useful bone names for attachments: Bone Names
- Start with offset values at 0.0 and adjust gradually
- Test with both male and female characters
- Check different animations to ensure the attachment looks good in motion
- Use small increments (0.01-0.05) when adjusting position values
- For rotation, use increments of 5-10 degrees initially
If your attachment isn't appearing:
- Verify the
hashName
matches exactly - Ensure the model exists and is loaded
- Check if the bone name is correct
- Try adjusting the offset values
- Verify the item is properly registered in your inventory system
Need help? Join our Discord server: Join Discord
Created by BLN Studio Feel free to contribute to this project!
This script is purely cosmetic and does not affect gameplay mechanics. It's designed to enhance immersion by displaying your items realistically when not in use.