这篇条目有关 Source引擎。如需详情,点击这里。

Zh/Env effectscript: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
m (updated used templates)
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{lang|Env effectscript}}
{{lang|Env effectscript}}
{{Thisis|e0|name=env_effectscript}}允许通过脚本文件来编程特殊视觉效果的实体。在{{ent|d1_trainstation_05}}{{hl2}}有2个此实体。
{{this is a|point entity|name=env_effectscript}}允许通过脚本文件来编程特殊视觉效果的实体。在{{ent|d1_trainstation_05}}{{hl2}}有2个此实体。


{{code class|CEnvEffectsScript|env_effectsscript.cpp}}
{{code class|CEnvEffectsScript|env_effectsscript.cpp}}

Revision as of 19:16, 17 May 2024

English (en)中文 (zh)Translate (Translate)

env_effectscript是一个点实体(en),可在所有的 起源 起源 游戏中使用。允许通过脚本文件来编程特殊视觉效果的实体。在d1_trainstation_05半衰期2有2个此实体。

C++ 在源代码中,它由 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