Template:I BaseAnimating

From Valve Developer Community
Revision as of 23:06, 20 August 2018 by Pinsplash (talk | contribs) (checked all games.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
skin
Sets the model's skin.
SetBodyGroup
Sets the the active $bodygroup.
Ignite
Makes the entity catch on fire.
IgniteLifetime  <float>
Makes the entity catch on fire for a given amount of time.[confirm]
IgniteNumHitboxFires  <integer>
To do: add description
IgniteHitboxFireScale  <float>
To do: add description
BecomeRagdoll
Makes the entity into a client-side ragdoll.
SetLightingOrigin  <targetname>
Sets the entity's lighting origin to an info_lighting.
SetLightingOriginHack  <targetname>
Offsets the entity's lighting origin by their distance from an info_lighting_relative.
Note:Not available in <Left 4 Dead><Left 4 Dead 2>.
fademindist  <float>
Sets distance at which the entity starts fading. If <0, the entity will disappear instantly when end fade is hit. The value will scale appropriately if the entity is in a 3D Skybox.
fademaxdist  <float>
Sets distance at which the entity ends fading. If <0, the entity won't disappear at all. The value will scale appropriately if the entity is in a 3D Skybox.
fadescale  <float>
If specified in the worldspawn, or if the engine is running below DirectX 8, entities will fade out even if the fade distances above aren't specified. This value gives more control over when this happens: numbers smaller than 1 cause the entity to fade out at further distances, and greater than 1 cause it to fade out at closer distances. Using 0 turns off the forced fade altogether. See also $noforcedfade.

To do: In what game is fadescale an input?

SetModelScale  <vector>
Multiplies the size of the model. Does not alter the physics collisions in most cases, however. It can take an optional second parameter that functions as a delay.
Alpha  <integer>
Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its Render Mode (rendermode) set to 1.
AlternativeSorting  <boolean>
Used to attempt to fix sorting problems when rendering. To do: What is the effect?
Color  <color255>
Sets an RGB color for the entity. Requires the entity to have its Render Mode (rendermode) set to 1.
SetDamageFilter  <targetname>
Sets a filter for this entity for when it receives damage.
EnableDamageForces
Makes it so that the entity will be pushed by damage done to it (usually force amount correlates with the damage done).
DisableDamageForces
Prevents the entity from being pushed by damage done to it.
EnableShadow
Makes it so that the entity will draw a render target shadow.
DisableShadow
Prevents the entity from drawing a render target shadow.
EnableDraw  (New with Portal 2)
Removes EF_NODRAW from the entity.
DisableDraw  (New with Portal 2)
Applies EF_NODRAW to the entity. Note that this is different than rendermode 10.
EnableReceivingFlashlight  (New with Portal 2)
Makes it so that the entity is lit by env_projectedtextures.
DisableReceivingFlashlight  (New with Portal 2)
Prevents the entity from being lit by env_projectedtextures. The shadow made by the texture will still cast.
EnableDrawInFastReflection  (New with Portal 2)
Makes the entity render in fast reflections. To do: Clarify what "fast reflections" are. It seems to be associated with water in Portal 2.
DisableDrawInFastReflection  (New with Portal 2)
Prevents the entity from rendering in fast reflections.