Env texturetoggle: Difference between revisions
Jump to navigation
Jump to search
(Compare with) |
WhosAsking (talk | contribs) |
||
Line 9: | Line 9: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Target Brush(es).|target_destination|Name of the brushes or [[info_overlay]]s.}} | {{KV|Target Brush(es).|target_destination|Name of the brushes or [[info_overlay]]s. All ''ToggleTexture'' materials on all entities matching the targetname will be affected.}} | ||
{{KV Targetname}} | {{KV Targetname}} | ||
Revision as of 01:27, 22 May 2012

Template:Base point It allows you to change the textures on other brush-built entities.
In order for env_texturetoggle to work properly, your overlay or at least one face of your brush must use a VMT material with the ToggleTexture proxy defined and pointing to an Animated VTF file with at least two frames.
Compare this with the material_modify_control entity that can modify any parameter of a material globally.
Keyvalues
- Target Brush(es). ([todo internal name (i)]) <targetname>
- Name of the brushes or info_overlays. All ToggleTexture materials on all entities matching the targetname will be affected.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- IncrementTextureIndex
- Increments target brush's current texture frame by one.
- SetTextureIndex <integer >
- Sets target brush's texture frame to the specified index.