Template:KV BaseEntity/doc/zh
Jump to navigation
Jump to search
显示特定于游戏的信息
Template:Documentation subpage:zh-cn
继承CBaseEntity的所有相关 keyvalues 的信息持有者 。模板参数对于显示适当的信息至关重要,因为这些年来新游戏增加了新功能。有关命名参数的更多信息,请参见 Help:Templates。
此处并未涵盖CBaseEntity的所有键值。但是您可以在 Uncovered Keyvalues 页面看到它们。
用法
这些必须以特定的语法使用! - 所有参数的值都必须为 1,例如:
l4d2=1
. 一次可以使用Only Once游戏参数。
{{KV BaseEntity:zh-cn|l4d2=1}}
参数
如果您将参数字段留空(不使用参数),模板将自动回退以显示当前默认游戏的键值。
此模板的所有参数:
base
- 不显示特定于游戏的信息,仅显示基本引擎功能。 (The/
iteration engine)
l4d2
- 设置特定于(VScripts) 的模板键值
csgo
- [当前默认值] 设置特定于的模板 KV(VScripts + 自动瞄准目标)
brush
- 另外包括特定于各种笔刷的信息。对于仅适用于可见笔刷的额外键值,请结合使用 Template:KV visiblebrush。可以与游戏参数一起使用。
显示已弃用的:
css
-(DEPRECATED 10/1/18: Previously used for a notice that was thought to apply to all entities in CS:S. The purpose of this now exists in Template:PreservedEnt. This is completely removed from the template and won't affect anything.) (DEPRECATED 24/3/2021 was brought back for info specific to theteamnum
key. Use{{KV TeamNum}}
instead.)l4d
-(DEPRECATED 9/21/18: Found out these keyvalues only work with renderable things (cpu / gpu level). They have been migrated to visiblebrush and BaseAnimating KV templates. This is completely removed from the template and won't affect anything.)tf2
-(DEPRECATED 20/4/2021: Was only used to showTeamNum
keyvalue's TF2 specific information. Use{{KV TeamNum}}
instead.)
有关示例,请参阅示例部分。
示例
显示特定于游戏的信息 
{{KV BaseEntity:zh-cn|l4d2=1}}
显示特定于基础引擎的信息
{{KV BaseEntity:zh-cn|base=1}}
显示与笔刷相关的额外信息
额外的笔刷相关的键值与此一起显示。
{{KV BaseEntity:zh-cn|brush=1}}
使用模板默认值
不使用任何参数,模板回退到默认值,即最新的 Source 游戏。
{{KV BaseEntity:zh-cn}}
另请参阅
{{KV BaseAnimating}}
{{I BaseEntity}}
{{I BaseAnimating}}