Env effectscript: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(updates. i feel as if this page is missing some important information but i don't know what.)
(code class)
Line 1: Line 1:
{{lang|Env effectscript}}
{{lang|Env effectscript}}
{{base point|env_effectscript}} It allows scripting special visual effects via a script file. Two are used in {{ent|d1_trainstation_05}}{{hl2}}.
{{base point|env_effectscript}} It allows scripting special visual effects via a script file. Two are used in {{ent|d1_trainstation_05}}{{hl2}}.
{{code class|CEnvEffectsScript|env_effectsscript.cpp}}


==Keyvalues==
==Keyvalues==

Revision as of 03:02, 24 September 2018

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

Template:Base point It allows scripting special visual effects via a script file. Two are used in d1_trainstation_05Half-Life 2.

C++ In code, it is represented by theCEnvEffectsScriptclass, defined in theenv_effectsscript.cppfile.

Keyvalues

Script Model (model) ([todo internal name (i)]) <model path>
Model to use for animation sequences. Defaults to models/Effects/teleporttrail.mdl.
Script File (scriptfile) ([todo internal name (i)]) <string>
Name of the script to use for this model. Defaults to scripts/effects/testeffect.txt.
Note.pngNote:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history


Inputs

SetSequence <stringRedirectInput/string>
Sets the script model's sequence.
Note.pngNote:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history


Outputs

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


See also