%CompileSlime

From Valve Developer Community
Jump to: navigation, search
Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.

Stub

This article or section is a stub. You can help by adding to it.

Compiles the texture as a slime texture. In most games, the differences between slime and water are purely cosmetic, and a separate trigger_hurt will be necessary to cause slime to do the expected damage.

Example:

UnlitGeneric
{
$basetexture "liquids/custom_slime"
$bottommaterial "liquids/custom_slime"
%compileslime 1
$nocull 1
}