CompileTrigger: Difference between revisions
Jump to navigation
Jump to search
Note:Different textures will have no functional effect, unless paired with other Shader Parameters.
(redirect) |
SirYodaJedi (talk | contribs) m (Manual Move from %compiletrigger) Tag: Removed redirect |
||
| Line 1: | Line 1: | ||
Compiles the texture to be used for a [[Trigger]] | |||
Generally "Tools/toolstrigger" could be used for any trigger. But if a mod/map has multiple types of triggers, one could make multiple tool textures to differentiate the types of triggers easier. Such as [[trigger_hurt]], [[trigger_once]], [[trigger_multiple]]...<br> | |||
{{note|Different textures will have no functional effect, unless paired with other [[Shader Parameters]].}} | |||
==Example== | |||
LightmappedGeneric | |||
{ | |||
$translucent 1 | |||
$basetexture "Tools/toolstrigger" | |||
"srgb?$basetexture" "Tools/toolstrigger-dx10" | |||
'''"%compiletrigger" 1''' | |||
"%keywords" "airexchange,borealis,c17downtown,c17industrial,c17sewers,c17skyscraper,c17trainstation,combine,kraken,wasteland" | |||
} | |||
[[Category:Material System]] | |||
[[Category:List of Shader Parameters]] | |||
Revision as of 14:03, 22 May 2023
Compiles the texture to be used for a Trigger
Generally "Tools/toolstrigger" could be used for any trigger. But if a mod/map has multiple types of triggers, one could make multiple tool textures to differentiate the types of triggers easier. Such as trigger_hurt, trigger_once, trigger_multiple...
Example
LightmappedGeneric
{
$translucent 1
$basetexture "Tools/toolstrigger"
"srgb?$basetexture" "Tools/toolstrigger-dx10"
"%compiletrigger" 1
"%keywords" "airexchange,borealis,c17downtown,c17industrial,c17sewers,c17skyscraper,c17trainstation,combine,kraken,wasteland"
}