Info item position: Difference between revisions
Jump to navigation
Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: {{language subpage → {{langsp) |
||
Line 1: | Line 1: | ||
<!-- When this page is updated to {{langsp}} or {{ | <!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Info item position}}{{CD|CInfoItemPosition}} | ||
{{this is a|name=info_item_position|game=Left 4 Dead 2|e0}} An entity that represents a possible item location in a map. Scripts can search for these entities and use them to spawn objects for different game modes | {{this is a|name=info_item_position|game=Left 4 Dead 2|e0}} An entity that represents a possible item location in a map. Scripts can search for these entities and use them to spawn objects for different game modes | ||
Revision as of 10:12, 8 January 2024
![]() |
---|
CInfoItemPosition |
info_item_position
is an e0 available in Left 4 Dead 2. An entity that represents a possible item location in a map. Scripts can search for these entities and use them to spawn objects for different game modes
Keyvalues
- Helper Model (model) <model path>
- A model used to represent this entity.
- Group (group) <integer>
- Group Number.
- Rarity (rarity) <choices>
- Item rarity at this location.
- 0: Common
- 1: Occasional
- 2: Scarce
- Replace (replace01) to Replace (replace10) <string>
- This is a replacement parameter. It goes in the form of $variable value. All entities inside of the spawn group that have $variable somewhere will be replaced with the value contents. Example: $color 255 0 0.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- SetGroup
- Set the group number.
- SetRarity
- Set the rarity.