m8nkey Posted April 22, 2008 Report Posted April 22, 2008 Yesterday I made a pole and rope barrier and ran into a couple of issues. According the the Valve Wiki, "Cable" is a valid shader but my material just appears black when I use it. "UnlitGeneric" works fine but I'm curious if there's a better way to do it. Also tried "LightmappedGeneric" which resulted in errors. http://developer.valvesoftware.com/wiki/Half-Life_2_Shader_Fallbacks#Cable I'm also wondering if there's a way have player collision with ropes? I think it can only collide with world though. Here's a WIP of my barrier
Seldoon182 Posted April 22, 2008 Report Posted April 22, 2008 I think you can only use the static Player Clip... Cheer !
m8nkey Posted April 25, 2008 Author Report Posted April 25, 2008 Yeah, looks like I'm just going to have to use player clip. Any ideas for the material? Only shader that works for me is "UnlitGeneric". It isn't very noticable that it's unlit but I'm hoping there's a more suitable shader.
Minos Posted April 26, 2008 Report Posted April 26, 2008 Have you tried VertexLitGeneric? Maybe it works, since the cable is dynamic and stuff (lightmappedgeneric is for static brushes only)
m8nkey Posted April 26, 2008 Author Report Posted April 26, 2008 Thanks for the idea Minos, I hadn't tried that. Just tried it then and the rope just displayed pure black.
robert.briscoe Posted April 30, 2008 Report Posted April 30, 2008 make sure you have a normal map for the rope!
m8nkey Posted May 15, 2008 Author Report Posted May 15, 2008 Thanks for the tip Robert. I tried both "LightmappedGeneric" and "VertexLitGeneric". I also tried variants of both with normal maps, neither worked though.
Recommended Posts