Zh/Env effectscript: Difference between revisions
< Zh
Jump to navigation
Jump to search
1416006136 (talk | contribs) m (updated used templates) |
m (→Inputs: Substituted IO templates) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lang|Env effectscript}} | {{lang|Env effectscript}} | ||
{{ | {{CD|CEnvEffectsScript|file1=env_effectsscript.cpp}} | ||
{{this is a|point entity|name=env_effectscript}}允许通过脚本文件来编程特殊视觉效果的实体。在{{ent|d1_trainstation_05}}{{hl2}}有2个此实体。 | |||
==键值== | ==键值== | ||
{{KV:zh-cn|Script Model | {{KV:zh-cn|Script Model|intn=model|studio|使用的模型文件。默认是<code>models/Effects/teleporttrail.mdl</code>.}} | ||
{{KV:zh-cn|Script File | {{KV:zh-cn|Script File|intn=scriptfile|字符串|给此模型使用的脚本文件。默认是 <code>scripts/effects/testeffect.txt</code>.}} | ||
==Inputs== | ==Inputs== | ||
{{ | {{I|SetSequence|Sets the script model's sequence.|param=string}} | ||
==See also== | ==See also== | ||
* | *{{L|Creating an Effectscript model}} | ||
* | *{{L|Particle System Overview}} |
Latest revision as of 11:27, 21 April 2025
![]() |
---|
CEnvEffectsScript |
![]() |
env_effectscript
是一个点实体 ,可在所有的 起源 游戏中使用。允许通过脚本文件来编程特殊视觉效果的实体。在d1_trainstation_05
有2个此实体。
键值
- Script Model
(model)
<模型文件路径 > - 使用的模型文件。默认是
models/Effects/teleporttrail.mdl
.
- Script File
(scriptfile)
<字符串 > - 给此模型使用的脚本文件。默认是
scripts/effects/testeffect.txt
.
Inputs
- SetSequence <字符串 >
- Sets the script model's sequence.