Env effectscript

From Valve Developer Community
< Zh
Revision as of 00:35, 13 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
Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
The redirect page got deleted, therefore this page should too.
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.

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