-
Notifications
You must be signed in to change notification settings - Fork 0
Quick start
enso-x edited this page Mar 14, 2026
·
4 revisions
This page is the short version of the HyGuns content format.
If you want the full format reference, use:
Minimal working weapon:
{
"Interactions": {
"Primary": {
"Cooldown": {
"Cooldown": 0.1
},
"RequireNewClick": false,
"Interactions": [
{
"Type": "Hyguns_Shoot",
"Failed": "Gun_Shoot_Fail"
}
]
}
},
"HyGuns": {
"Settings": {
"WeaponIcon": "Weapons/AK47.png",
"Ammo": {
"Family": "Bullet",
"WeaponClass": ["Rifle"],
"Capacity": 30,
"Reload": {
"Time": 2.4,
"Amount": 30
}
},
"Fire": {
"Cooldown": 0.1
},
"Projectiles": {
"ConfigId": "Hyguns_Projectile_Config_Bullet",
"Count": 1,
"Spread": 0.02,
"Damage": 17
}
}
}
}Minimal working ammo item:
{
"Quality": "Common",
"HyGuns": {
"AmmoSettings": {
"Family": "Bullet",
"WeaponClass": "Rifle",
"Icon": "Ammo/Ammo_Rifle.png"
}
}
}Weapon and ammo matching works like this:
- weapon
Ammo.Familymust match ammoAmmoSettings.Family - ammo
AmmoSettings.WeaponClassmust match one of the weaponAmmo.WeaponClassvalues
Ammo can override weapon settings:
"SettingsOverrides": {
"Fire": {
"Cooldown": 5.0
},
"Projectiles": {
"Damage": 24
}
}This is useful for:
- teleport ammo
- explosive ammo
- armor-piercing ammo
- utility ammo with long cooldowns
Keep both of these on the weapon:
Interactions.Primary.Cooldown.CooldownHyGuns.Settings.Fire.Cooldown
Use the same base value on both.
Recommended reload input pattern:
{
"Type": "Charging",
"DisplayProgress": false,
"AllowIndefiniteHold": false,
"Next": {
"0": {
"Type": "Hyguns_Reload"
},
"0.25": {
"Type": "OpenCustomUI",
"Page": {
"Id": "AmmoSelection"
}
}
}
}For the complete list of fields, defaults, aliases, and ammo interaction handlers: