Zh/Info item position: Difference between revisions
< Zh
Jump to navigation
Jump to search
No edit summary |
1416006136 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{lang|Info item position}} | {{lang|Info item position}} | ||
{{ | {{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
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 ]
- 这个名称是其他实体通过 输入/输出 或其他 关键值 (如
parentname
或target
) 来引用该实体时使用的标识符。
该名称也会显示在 Hammer 编辑器的 2D 视图和 实体报告 中。参见: 所有实体均可使用的 通用键值、输入与输出
- 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.
Parentname:
- Parent (parentname) <目标名 >
- 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.
- Rarity ([todo internal name (i)]) <choices>
- Item rarity at this location.
- Replace ([todo internal name (i)]) <字符串 >
- 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