ice friction
Post Reply
Quote
Re: ice friction
Posted by shibby on Fri Nov 11th at 8:12am 2005


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



Quote
Re: ice friction
Posted by Andrei on Fri Nov 11th at 1:05pm 2005


trigger_push?



Quote
Re: ice friction
Posted by Paladin[NL] on Fri Nov 11th at 1:18pm 2005


func/sv_friction...or is that HL1 only?




Quote
Re: ice friction
Posted by fishy on Fri Nov 11th at 5:11pm 2005


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



Quote
Re: ice friction
Posted by shibby on Sun Nov 13th at 6:14am 2005


yew slides like a... sled. thatnks heaps fishy. your a champ!!!

bob





Quote
Re: ice friction
Posted by fishy on Sun Nov 13th at 3:06pm 2005


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" in it ,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.




i eat paint



Quote
Re: ice friction
Posted by shibby on Mon Nov 14th at 10:57am 2005


fishy your a legend!!!



Quote
Re: ice friction
Posted by shibby on Wed Nov 23rd at 7:00am 2005


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.

BOB





Quote
Re: ice friction
Posted by Paladin[NL] on Thu Nov 24th at 9:12am 2005


Nice work shibby





Post Reply