Env effectscript: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(updates. i feel as if this page is missing some important information but i don't know what.)
Line 1: Line 1:
{{base point|env_effectscript}} It allows scripting special visual effects via a script file.
{{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}}.


==Keyvalues==
==Keyvalues==
{{KV|Script Model|studio|Model to use for animation sequences. Defaults to ''models/Effects/teleporttrail.mdl''.}}
{{KV|Script Model (model)|studio|Model to use for animation sequences. Defaults to <code>models/Effects/teleporttrail.mdl</code>.}}
{{KV|Script File|string|Name of the script to use for this model. Defaults to ''scripts/effects/testeffect.txt''.}}
{{KV|Script File (scriptfile)|string|Name of the script to use for this model. Defaults to <code>scripts/effects/testeffect.txt</code>.}}
{{KV Targetname}}
{{KV BaseAnimating}}
{{KV Parentname}}
{{KV BaseEntity|css=1}}
{{KV Angles}}


== Inputs ==
==Inputs==
{{IO|SetSequence|Sets the script model's sequence.|param=string}}
{{IO|SetSequence|Sets the script model's sequence.|param=string}}
{{I Targetname}}
{{I BaseAnimating|portal2=1}}
{{I Parentname}}
{{I BaseEntity|prel4d=1}}


== Outputs ==
==Outputs==
{{O Targetname}}
{{O BaseAnimating|portal2=1}}
{{O BaseEntity|l4d=1}}


== See also ==
==See also==
* [[Creating an Effectscript model]]
*[[Creating an Effectscript model]]
* [[Particle System Overview]]
*[[Particle System Overview]]

Revision as of 19:28, 23 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.

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