info_item_position

From Source Entities
Jump to navigation Jump to search

Code classes:

info_item_position is a point entity present in L4d2-small.pngLeft 4 Dead 2. It's an entity used by mutations for adding entities to maps without recompiling them. See here for more info.

Keyvalues[edit | edit source]

Helper Model (model) <studio>
A model to help with the placement of the entity. This won't actually appear in-game.
Group (group) <integer>
A group number to assign to multiple info_item_positions. Groups can be manipulated with scripts.
Rarity (rarity) <choices>
How often an item appears here.
  • 0: Common
  • 1: Occasional
  • 2: Scarce
Replace (replace01) to (replace10) <string>
Replaces a substring of an entity's text info with something specified here. For example, if $color 100 100 100 were entered here, then if the entity had the text $color entered anywhere in its properties, it would be replaced with 100 100 100.

Inputs[edit | edit source]

SetGroup <integer>
Sets Group.
SetRarity <integer>
Sets Rarity.