entityguide‎ > ‎

world_items

The world_items entity is the old way of adding items to your map. It's development has been discontinued. Please add items to your map directly. Also, this only supports the creation of only four different items.

Keyvalues


"
Gravity Setting", movetype :
Determines how items behave after spawn. 'Fall to the ground' makes entity fall to first brush beneath it. Note that not all entities with collision may block items to fall through them. Set 'Hover in the air' so items won't move or fall from it's starting position.

"Custom Damage", dmg:
Custom damage of weapon.

"Custom V_Model", model :
You can set the custom view model (v_model) for this item here. It's a first person weapon model.

"Custom W_Model", model :
You can set the custom world model (w_model) for this item here. It's on-ground weapon model.

"Custom P_Model", model :
You can set the custom player model (p_model) for this item here. It shows on other players when they are holding it.

"Sound Replacement File", soundlist :
Set the path to a sound replacement file for the weapon. The path begins in 'svencoop/sound/mapname', whereas 'mapname' would be your map's name. You can go to the parent directory using '../'. A valid sound replacement file contains one or more lines with two sound-paths, which are separated by a space and wrapped into quotes. The first sound is the sound to be replaced. The second sound is the new sound. Sound-paths start in the sound directory. You cannot go to the parent directory using '../' in that case. These sounds do not need to be precached using a custom_precache point entity.

"
Type", 
type :
Which item to spawn here. Only four of listed items are available, you can't specify an item classname here.


Flags


1024: "Disable respawn": Disables default weapon respawning.



Comments