Material modify control
Jump to navigation
Jump to search
An entity that can be used to directly control material vars. To use it, you need to read the .vmt of the material you intend to change. Parent this entity to a brush model entity whose material you want to control.
Keyvalues
- Template:Kv targetname
- Template:Kv parentname
- materialName <string>
- Material to modify
- materialVar <string>
- Variable of the material to modify
Inputs
- Template:I targetname
- Template:I parentname
- SetMaterialVar <string>
- Fire to modify a material variable. The argument is the value to set the variable to.
- SetMaterialVarToCurrentTime
- This sets the material variable to the current time on the server.