-
Notifications
You must be signed in to change notification settings - Fork 9
Custom Ammo Attributes
wootguy edited this page May 23, 2026
·
1 revision
There is only one attribute section needed to define custom ammo entities. See Attribute Types for explanations of the Type values.
This section is required to register the ammo entity.
| Attribute | Type | Default | Description |
|---|---|---|---|
| classname | string | Entity name for spawning the weapon as an entity or via the map CFG. | |
| model | string | Path to a model to use for the entity. | |
| hull_min | vector | -16 -16 0 | Custom minimum hull size for the entity. |
| hull_max | vector | 16 16 16 | Custom maximum hull size for the entity. |
| pickup_sound | string | items/9mmclip1.wav | Sound played when picking up ammo. |
| ammo_type | string | Your custom ammo name, or one of the defaults. | |
| ammo_type_hl | string | Ammo type given to players who don't have the SevenKewp client installed. | |
| ammo_given | integer | 0 | Amount of ammo given. |
| max_ammo | integer | 0 | Max amount of ammo that can be held (for custom ammo types). |