Env effectscript

From Valve Developer Community
< Zh
Revision as of 23:35, 12 October 2019 by 求生的兔 (talk | contribs) (Created page with "{{lang|Env effectscript}} {{point_ent:zh|env_effectscript}}允许通过脚本文件来编程特殊视觉效果的实体。在{{ent|d1_trainstation_05}}{{hl2}}有2个此实体...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

起源 env_effectscript是一个存在于所有的 起源 游戏的点实体。允许通过脚本文件来编程特殊视觉效果的实体。在d1_trainstation_05半衰期2有2个此实体。


待完善: This template is currently using deprecated suf or {{Lang}}-based translations. Please use the main {{Code class}} instead, which uses {{Autolang}}.

在源代码中,它由 class CEnvEffectsScript 代表,定义于 env_effectsscript.cpp


键值

Script Model (model) <模型文件路径(en)>
使用的模型文件。默认是models/Effects/teleporttrail.mdl.
Script File (scriptfile) <字符串(en)>
给此模型使用的脚本文件。默认是 scripts/effects/testeffect.txt.
Note.png注意:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history

Deprecated template {{KV BaseEntity:zh}} used; use {{KV Targetname}} instead.

Inputs

SetSequence <字符串(en)>
Sets the script model's sequence.
Note.png注意:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history


Outputs

Note.png注意:Content moved to Rendering and studio model related KIO/Outputs for continuation of page history


See also