World items: Difference between revisions
Jump to navigation
Jump to search
MyGamepedia (talk | contribs) (It can spawn antidote and security card items if the ent classes present in your Source SDK project. The code https://github.com/ValveSoftware/halflife/blob/b1b5cf5892918535619b2937bb927e46cb097ba1/dlls/items.cpp#L64.) Tags: Manual revert Reverted |
(you are checking out wrong engine. This is source. See the linked to source file on this page) Tag: Undo |
||
Line 7: | Line 7: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|type|intn=type|choices|Type of item to spawn. | {{KV|type|intn=type|choices|Type of item to spawn. | ||
:*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. | :{{note|To appear, entity from this list must be present in your game. Items it can spawn are only present in {{hls|4}}, {{hl2|4}} or {{bms|4}}.}} | ||
}} | }} |
Revision as of 00:12, 12 May 2025


This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
![]() |
---|
CWorldItem |
![]() |
world_items
is a point entity available in all Source games. A leftover from GoldSrc. This entity spawns a specific item at its origin.
Keyvalues
- type (type) <choices>
- Type of item to spawn.
- 44: Battery (item_battery)
- 45: Suit (item_suit)
Note:To appear, entity from this list must be present in your game. Items it can spawn are only present in
Half-Life: Source,
Half-Life 2 or
Black Mesa.