From Valve Developer Community
Jump to: navigation, search

What's the deal with decals that go on models? Mine get repeated and weird.. Garry

dynamic footprint decals

On some snowy Counter Strike maps, players would leave a trail of footprints in the snow ... the footprints always seemed to follow the direction of the player ... does anyone know how is this done ? Beeswax

normal-mapped decals

Has anyone managed to get decals with their own normalmaps to work? So far my experiments have all failed, with the decal not rendering correctly. --Beeswax 19:05, 23 Apr 2008 (PDT)

I don't think decals are supposed to have normalmaps. It simply does not work. Decals are also very limited when trying to make them reflective - I only managed to get it to work when making the material an "unlitgeneric", and it can't have an $envmapmask. --Pandaboy 02:44, 17 November 2011 (PST)

Decals in Half Life 2 Ep. 2 Engine

Does anyone know where to place the materials so one can use them in Hammer when you are using the Ep. 2 engine? I've tried making a materials folder with a decals folder inside that with my decals in that in most of the main game folders (HL2 and episodes) but it doesn't even turn up on the browser. --Alfonzo 10/10/08, 6:55pm

   - Apparently you have to put them in the Ep. 1 folder. I have no king but Caesar.
Are you SURE you put them in the correct folder? I've once done the mistake to put it in the "steamapps\<username>\half-life 2 episode two\hl2\materials" folder instead of "steamapps\<username>\half-life 2 episode two\ep2\materials". Be sure to use the correct folder. I currently have custom decals for ep2, and they all work. --Pandaboy 02:49, 17 November 2011 (PST)