The item entities are weapon and equipment objects that the player or enemy can pickup and use. They are based on game scripts and in order to add more items, you need to write new scripts.
The item entities can be found in Create Object → Legacy Entities → Items
The properties of Item Entities are all the same.
DEPRECATED - Specify if the object should be picked up automatically if the player walks over the object.
Specifies the hitpoints, or health, of the object.
Specifies initial setup parameters.
Specifies if a gun is mounted.
Specifies if physics is applied to the object. None, Rigid and Static are available.
Specifies if the object can be picked up.
Specifies the smart object type of the object.
The weapon will play an alternative selection animation when you pick it up for the first time.
Specifies if the object is usable.
Specifies if the object will respawn once destroyed or picked up.
Specifies the time, in seconds, the object takes to respawn after being picked up.
Specifies if the object is unique.
The Ammo Crate entity can be used to refill ammo of particular categories. It has additional functionality for limited number of uses and whether to give grenades.
There is a multiplayer specific version of this entity here: AmmoCrateMP
Model to be used for the different stages of use. Typically this would be less ammunition visible in the box per use.
Model to be used for the box which encases the ammunition.
How many uses allowed on this entity.
Each ammunition script should define the "ammo_category" that it should be part of. The most commonly used is "Regular".
How many frag grenades to give on use.
On This Page
- No labels