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

Zh/Prop detail: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
(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...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{LanguageBar|Prop detail}}
{{LanguageBar|Prop detail}}
{{this is a|model entity|internal=1|name=prop_detail}} 该实体用于手动创建[[detail prop|细节道具]],仅支持[[model|模型类]]细节道具,因此较少使用。
{{this is a|模型实体|internal=1|name=prop_detail}} 该实体用于手动创建{{L|detail prop|细节道具}},仅支持{{L|model|模型类}}细节道具,因此较少使用。
{{altnames|name1=detail_prop}}
{{altnames|name1=detail_prop}}



Latest revision as of 07:13, 26 June 2025

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

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

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.

相关条目