From Valve Developer Community
Jump to navigation
Jump to search
用法
参数 |
描述 |
示例 |
预览
|
static |
用于控制是否展示"Model Scale"键值。使用|static=0 调用此模板以显示此键值。 |
{{KV Studiomodel:zh-cn|static=0}} |
Studiomodel:
- World Model
(model) <string>
- 此实体应显示的模型。 128 个字符限制。
- Skin
(skin) <integer>
- 一些模型有多个skins
This template has been marked as a candidate for speedy deletion for the following reason:If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
。该值从索引中选择,从 0 开始。 Tip:Hammer 的模型浏览器如果您使用它来查看不同的 skin,则会自动更新该值。
- Model Scale
(modelscale) <float> (存在于自 以来)
- 模型大小的乘数。
Shadow:
- Disable Shadows (disableshadows) <boolean>
- Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a prop_static. Does not affect shadow mapping.
- Disable Receiving Shadows (disablereceiveshadows) <boolean>
- Prevent the entity from receiving dynamic shadows on itself.
- Shadow Cast Distance (shadowcastdist) <integer> !FGD
- Sets how far the entity casts dynamic shadows. 0 means default distance from the shadow_control entity.
- Disable Shadow Depth (disableshadowdepth) <boolean> (in all games since
)
- Used to disable rendering into shadow depth (for projected textures) for this entity.
- Disable flashlight (disableflashlight) <boolean> (in all games since
)
- Used to disable projected texture lighting and shadows on this entity.
- Projected Texture Cache (shadowdepthnocache) <integer choices> (in all games since
)
- Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.
Choices
- 0 : Default
- 1 : No cache - render every frame
- 2 : Cache it - render only once
|
Reflection:
- Render in Fast Reflections
(drawinfastreflection) <boolean> (in all games since )
- 如果启用,该实体将在快速水反射中渲染(即当水材质指定
$reflectonlymarkedentities 时)和世界中的 impostor pass。
|
noscroll |
使用|noscroll=1 调用此模板以阻止此模板滚动和/或使用|prep2=1 调用此模板以隐藏在 Portal 2中添加的 KV。 |
{{KV Studiomodel:zh-cn|noscroll=1}} |
Studiomodel:
- World Model
(model) <string>
- 此实体应显示的模型。 128 个字符限制。
- Skin
(skin) <integer>
- 一些模型有多个skins
This template has been marked as a candidate for speedy deletion for the following reason:If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
。该值从索引中选择,从 0 开始。 Tip:Hammer 的模型浏览器如果您使用它来查看不同的 skin,则会自动更新该值。
Shadow:
- Disable Shadows (disableshadows) <boolean>
- Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a prop_static. Does not affect shadow mapping.
- Disable Receiving Shadows (disablereceiveshadows) <boolean>
- Prevent the entity from receiving dynamic shadows on itself.
- Shadow Cast Distance (shadowcastdist) <integer> !FGD
- Sets how far the entity casts dynamic shadows. 0 means default distance from the shadow_control entity.
- Disable Shadow Depth (disableshadowdepth) <boolean> (in all games since
)
- Used to disable rendering into shadow depth (for projected textures) for this entity.
- Disable flashlight (disableflashlight) <boolean> (in all games since
)
- Used to disable projected texture lighting and shadows on this entity.
- Projected Texture Cache (shadowdepthnocache) <integer choices> (in all games since
)
- Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.
Choices
- 0 : Default
- 1 : No cache - render every frame
- 2 : Cache it - render only once
|
Reflection:
- Render in Fast Reflections
(drawinfastreflection) <boolean> (in all games since )
- 如果启用,该实体将在快速水反射中渲染(即当水材质指定
$reflectonlymarkedentities 时)和世界中的 impostor pass。
|
prep2 |
使用|prep2=1 调用此模板以隐藏在 Portal 2中添加的 KV。 |
{{KV Studiomodel:zh-cn|prep2=1}} |
Studiomodel:
- World Model
(model) <string>
- 此实体应显示的模型。 128 个字符限制。
- Skin
(skin) <integer>
- 一些模型有多个skins
This template has been marked as a candidate for speedy deletion for the following reason:If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
。该值从索引中选择,从 0 开始。 Tip:Hammer 的模型浏览器如果您使用它来查看不同的 skin,则会自动更新该值。
Shadow:
- Disable Shadows (disableshadows) <boolean>
- Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a prop_static. Does not affect shadow mapping.
- Disable Receiving Shadows (disablereceiveshadows) <boolean>
- Prevent the entity from receiving dynamic shadows on itself.
- Shadow Cast Distance (shadowcastdist) <integer> !FGD
- Sets how far the entity casts dynamic shadows. 0 means default distance from the shadow_control entity.
|
无参数 |
N/A |
{{KV Studiomodel:zh-cn}} |
Studiomodel:
- World Model
(model) <string>
- 此实体应显示的模型。 128 个字符限制。
- Skin
(skin) <integer>
- 一些模型有多个skins
This template has been marked as a candidate for speedy deletion for the following reason:If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
。该值从索引中选择,从 0 开始。 Tip:Hammer 的模型浏览器如果您使用它来查看不同的 skin,则会自动更新该值。
Shadow:
- Disable Shadows (disableshadows) <boolean>
- Prevents the entity from creating cheap render-to-texture shadows, or lightmap shadows if the entity is a prop_static. Does not affect shadow mapping.
- Disable Receiving Shadows (disablereceiveshadows) <boolean>
- Prevent the entity from receiving dynamic shadows on itself.
- Shadow Cast Distance (shadowcastdist) <integer> !FGD
- Sets how far the entity casts dynamic shadows. 0 means default distance from the shadow_control entity.
- Disable Shadow Depth (disableshadowdepth) <boolean> (in all games since
)
- Used to disable rendering into shadow depth (for projected textures) for this entity.
- Disable flashlight (disableflashlight) <boolean> (in all games since
)
- Used to disable projected texture lighting and shadows on this entity.
- Projected Texture Cache (shadowdepthnocache) <integer choices> (in all games since
)
- Used to hint projected texture system whether it is sufficient to cache shadow volume of this entity or to force render it every frame instead.
Choices
- 0 : Default
- 1 : No cache - render every frame
- 2 : Cache it - render only once
|
Reflection:
- Render in Fast Reflections
(drawinfastreflection) <boolean> (in all games since )
- 如果启用,该实体将在快速水反射中渲染(即当水材质指定
$reflectonlymarkedentities 时)和世界中的 impostor pass。
|