This article's documentation is for anything that uses the Source engine. Click here for more information.

World items: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(For some reason item_antidote and item_security is not in hls.)
Line 11: Line 11:
:*44: Battery ({{ent|item_battery}})
:*44: Battery ({{ent|item_battery}})
:*45: Suit ({{ent|item_suit}})
:*45: Suit ({{ent|item_suit}})
{{note|To appear, entity from this list must be present in your game. For example, in {{hls|4}} you can spawn all entities from this list, but in {{bms|4}} and {{hl2|4}} only battery and suit can be spawned.}}
{{note|To appear, entity from this list must be present in your game. For example, in {{hls|4}}, {{bms|4}} and {{hl2|4}} only battery and suit can be spawned.}}
}}
}}

Revision as of 05:44, 14 May 2024

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
C++ Class hierarchy
CWorldItem
CBaseAnimating
CBaseEntity
C++ item_world.cpp

world_items is a point entity available in all Source Source games. Goldsrc left over.

Keyvalues

type (type) <choices>
Type of item to spawn.
Note.pngNote:To appear, entity from this list must be present in your game. For example, in Half-Life: Source Half-Life: Source, Black Mesa Black Mesa and Half-Life 2 Half-Life 2 only battery and suit can be spawned.