Zh/Info item position: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{lang|Info item position}}
{{lang|Info item position}}
{{求2实体|info_item_position}} 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
{{Entity|type=e0|game=Left 4 Dead 2|info_item_position}} 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 ==
== Keyvalues ==

Revision as of 17:13, 27 May 2023

English (en)中文 (zh)Translate (Translate)

Template:Entity 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

Name (目标名称) <target_source>[ Edit ]
这个名称是其他实体通过 输入/输出(en) 或其他 关键值(en)(如 parentnametarget) 来引用该实体时使用的标识符。
该名称也会显示在 Hammer 编辑器的 2D 视图和 实体报告(en) 中。
参见:  所有实体均可使用的 通用键值、输入与输出(en)

Pitch Yaw Roll (Y Z X) (angles) <QAngle(en)>
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.
Parentname:
Parent (parentname) <目标名(en)>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Helper Model ([todo internal name (i)]) <模型文件路径(en)>
A model used to represent this entity.
Group ([todo internal name (i)]) <整数(en)>
Group Number.
Rarity ([todo internal name (i)]) <choices>
Item rarity at this location.
Replace ([todo internal name (i)]) <字符串(en)>
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

Inputs

Strip
Removes all weapons.
StripActiveWeapon
Removes the active weapon.
StripWeaponByClassname
string

Outputs