这篇条目有关 Source引擎。如需详情,点击这里。

prop_detail

From Valve Developer Community
< Zh
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

prop_detail是一个内部的(en)模型实体,可在所有的 起源 起源 游戏中使用。 该实体用于手动创建细节道具(en),仅支持Template:Model细节道具,因此较少使用。

AltNames.pngAltNames: 此实体也绑定到 detail_prop

关键值

World model (model) <模型文件路径(en)>
使用的世界模型,必须为静态道具且使用UnlitGeneric着色器(所有皮肤)。最大字符串长度:128。
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.
detailOrientation (detailOrientation) <integer choices(en)>
细节道具朝向行为:
  • 0:不旋转
  • 1:围绕原点旋转始终面向摄像机
  • 2:仅绕Z轴旋转面向摄像机
Name (targetname) <target_source>
Name of this entity. Displayed in Hammer's 2D views and Entity Report. No effect in-game, nor in map compilers.

相关条目