Re: ice friction
Posted by Paladin[NL] on
Fri Nov 11th 2005 at 1:18pm
157 posts
56 snarkmarks
Registered:
May 4th 2004
Occupation: Student/mapper
Location: Netherlands
func/sv_friction...or is that HL1 only?
Re: ice friction
Posted by fishy on
Fri Nov 11th 2005 at 5:11pm
fishy
member
2623 posts
1476 snarkmarks
Registered:
Sep 7th 2003
Location: glasgow
get gcfscape if you don't already have it, and extract the .vmt belonging to the texture that you want to be slippery. open it with notepad, and find the the surfaceprop line, and change it to "$surfaceprop" "ice"
if there is no surfaceprop line already present (which would be unusual), just add it anyway.
save the vmt with a new name, and put it somewhere in your materials directory. it doesn't matter where. look for the new named material when you restart hammer.
there's also "slipperymetal" , that could be used as a surfacepro for the base of the sled.
i eat paint
Re: ice friction
Posted by fishy on
Sun Nov 13th 2005 at 3:06pm
fishy
member
2623 posts
1476 snarkmarks
Registered:
Sep 7th 2003
Location: glasgow
as an afterthought, if you're using a material that actually looks like ice, but doesn't have decent bullet sprites when you shoot at it (you'll notice that there are NO sprites attached to the ice surfaceprop), then you could name another copy of the vmt, only this time have "$surfaceprop" "glass" [color=#ffffff]in it [/color],which would give the same crack effect that glass or ice have. it wouldn't be slippery, but it would look better on walls etc.
the two materials would look identical in hammer, so clear naming always helps. :smile:
i eat paint