ice friction

ice friction

Re: ice friction Posted by shibby on Fri Nov 11th 2005 at 8:12am
shibby
9 posts
Posted 2005-11-11 8:12am
shibby
member
9 posts 1 snarkmarks Registered: Feb 16th 2005 Location: australia
ok well im making abobsled map for css and i'm trying to make my bobsled slide properly. in garry's mod v1.8 you can shoot the bobsled and change its physical properties to "ice on ice" but im wondering how 2 do it in hammer :confused:
Re: ice friction Posted by Andrei on Fri Nov 11th 2005 at 1:05pm
Andrei
2455 posts
Posted 2005-11-11 1:05pm
Andrei
member
2455 posts 1248 snarkmarks Registered: Sep 15th 2003 Location: Bucharest, Romania
trigger_push?
Re: ice friction Posted by Paladin[NL] on Fri Nov 11th 2005 at 1:18pm
Paladin[NL]
157 posts
Posted 2005-11-11 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
2623 posts
Posted 2005-11-11 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 shibby on Sun Nov 13th 2005 at 6:14am
shibby
9 posts
Posted 2005-11-13 6:14am
shibby
member
9 posts 1 snarkmarks Registered: Feb 16th 2005 Location: australia
yew slides like a... sled. thatnks heaps fishy. your a champ!!!

bob :popcorn:
Re: ice friction Posted by fishy on Sun Nov 13th 2005 at 3:06pm
fishy
2623 posts
Posted 2005-11-13 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
Re: ice friction Posted by shibby on Mon Nov 14th 2005 at 10:57am
shibby
9 posts
Posted 2005-11-14 10:57am
shibby
member
9 posts 1 snarkmarks Registered: Feb 16th 2005 Location: australia
fishy your a legend!!! :popcorn:
Re: ice friction Posted by shibby on Wed Nov 23rd 2005 at 7:00am
shibby
9 posts
Posted 2005-11-23 7:00am
shibby
member
9 posts 1 snarkmarks Registered: Feb 16th 2005 Location: australia
As a future reference for anybody else wanting to do this:

make a new TXT file. and copy and paste this into it: (you can change the texture if you'd like a different 1)

"LightmappedGeneric"
{
"$basetexture" "props/metalstainless01"
"$surfaceprop" "ice"
}

then go to save as and name it slideyice.vmt or something that has meaning to it and your done. load up hammer and it should be there.

Cheers. :popcorn:

BOB
Re: ice friction Posted by Paladin[NL] on Thu Nov 24th 2005 at 9:12am
Paladin[NL]
157 posts
Posted 2005-11-24 9:12am
157 posts 56 snarkmarks Registered: May 4th 2004 Occupation: Student/mapper Location: Netherlands
Nice work shibby