World items (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{This is a|name=world_items|e0|engine=1|game=Half-Life}} ==Description== This entity spawns a specific item at its location.<br>It gives four types of items: Antidote, Secur...") |
SirYodaJedi (talk | contribs) (Blasted template-handled period) |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{TabsBar|main=World items}} | ||
{{CD|CWorldItem|goldsrc=1}} | |||
{{obsolete|replacement=the individual {{mono|item_}} entities, namely {{ent|item_antidote|engine=goldsrc}}, {{ent|item_security|engine=goldsrc}}, {{ent|item_battery|engine=goldsrc}}, and {{ent|item_suit|engine=goldsrc}} }} | |||
{{this is a|point entity|name=world_items|engine=GoldSrc|game=Half-Life}} | |||
==Description== | ==Description== | ||
| Line 6: | Line 9: | ||
==Key Values== | ==Key Values== | ||
{{Hl1_kv_targetx}} | {{Hl1_kv_targetx}} | ||
{{KV|Types|intn=type|choices| | {{KV|Types|intn=type|choices|}} | ||
:{| class="standard-table" | :{| class="standard-table" | ||
|- | |- | ||
! # !! Name | ! # !! Name | ||
|- | |- | ||
| 42 || | | 42 || [[item_antidote (GoldSrc)|item_antidote]] | ||
|- | |- | ||
| 43 || | | 43 || [[item_security (GoldSrc)|item_security]] | ||
|- | |- | ||
| 44 || | | 44 || [[item_battery (GoldSrc)|item_battery]] | ||
|- | |- | ||
| 45|| | | 45 || [[item_suit (GoldSrc)|item_suit]] | ||
|} | |} | ||
{{Hl1_kv_weapon}} | {{Hl1_kv_weapon}} | ||
[[Category:Entities]] | [[Category:Entities]] | ||
Latest revision as of 09:46, 12 May 2025
| CWorldItem |
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
It has since been deprecated by: the individual item_ entities, namely item_antidote, item_security, item_battery, and item_suit.
It has since been deprecated by: the individual item_ entities, namely item_antidote, item_security, item_battery, and item_suit.
world_items is a point entity available in
Half-Life.
Description
This entity spawns a specific item at its location.
It gives four types of items: Antidote, Security Card, Battery and Suit.
Key Values
- Target (target) <targetname>
- The targetname of an entity this entity will trigger when activated.
- Delay before trigger (delay) <integer>
- Delay in seconds before firing the targeted entity.
- Killtarget (killtarget) <targetname>
- Entity to remove when activated.
- Types (type) <choices>
# Name 42 item_antidote 43 item_security 44 item_battery 45 item_suit
- Name (targetname) <string>
- The targetname that other entities refer to this entity by.
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Flags
- Not In Deathmatch : [2048]
- Prevent this entity from attempting to spawn when
deathmatch(multiplayer) is enabled.