custom rope material with alpha

squintik

L2: Junior Member
Sep 9, 2009
57
35
Hi !

I'm trying to make a custom rope material (to use with move_rope / keyframe_rope) with some alpha in it (using $alphatest in the material) and it doesn't seem to work. (the cable isn't displayed at all)

I don't think it's an issue with the .vtf as it works fine if I use $translucent instead of $alphatest in the .vmt (but then it doesn't look nice).

I tried a lot of different things ($vertexcolor, $vertexalpha, $translucent, $additive, LightMappedGeneric instead of Cable, ....) but none works correctly.
(the only one that works is when using $translucent, but then the material looks like translucent, even when the alpha is pure white)

So, did anyone already made something like this in ?

Thanks
 
T

The Asylum

Is ther an alpha channel in your vtf? If so, I've tried to make transparent/semitransperent ropes many times, and for some reason ropes don't like transparencies or VRAD.
 

Ravidge

Grand Vizier
aa
May 14, 2008
1,544
2,818
I had no luck when trying to make a chain texture many month ago.
My conclusion was that it's just not possible, but I really didn't look around all that much.