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

prop_detail

From Valve Developer Community
< Zh
Revision as of 07:12, 26 June 2025 by WoShiGeNiCheng (talk | contribs) (Created page with "{{LanguageBar|Prop detail}} {{this is a|model entity|internal=1|name=prop_detail}} 该实体用于手动创建细节道具,仅支持模型类细节道具,因此较少使用。 {{altnames|name1=detail_prop}} ==关键值== {{KV|World model|intn=model|studio|使用的世界模型,必须为静态道具且使用<code>UnlitGeneric</code>着色器(所有皮肤)。最大字符串长度:128。}} {{KV Angles}} {{KV|detailO...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

prop_detail是一个内部的(en)UNTRANSLATED string "model entity" see Template:This is a/strings,可在所有的 起源 起源 游戏中使用。 该实体用于手动创建细节道具,仅支持模型类细节道具,因此较少使用。

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.

相关条目