Have you got $translucent 1 in the VMT though, you might also need
$vertexalpha 1 :)

Good luck.

On Thursday, 13 January 2011, jetscope <jetsc...@gmail.com> wrote:
> PS I also tried RENDER_GROUP_TRANSLUCENT_ENTITY, same thing.
>
> On Thu, Jan 13, 2011 at 9:53 AM, jetscope <jetsc...@gmail.com> wrote:
> Thanks, I tried both (for the render group I used 
> ClientLeafSystem()->SetRenderGroup( RenderHandle(), 
> RENDER_GROUP_VIEW_MODEL_TRANSLUCENT ); - is that correct?) but it still 
> doesn't work. It's a third-person mod, btw, so I only need to get it working 
> on the worldmodel.
>
>
>
> On Thu, Jan 13, 2011 at 3:54 AM, Skillet <skillet5...@gmail.com> wrote:
>
>
>
> Try setting the render group to translucent for the weapon.  Putting 
> $translucent in each skin's VMT would probably accomplish the same thing too.
>
> On Wed, Jan 12, 2011 at 5:09 AM, jetscope <jetsc...@gmail.com> wrote:
> Hi guys. Coding for HL2MP here, and I'm trying to create a cloaking effect 
> for the player - it works well so far, except I can't change the transparency 
> of the weapon at all. For the player, I'm doing it in the player class's 
> DrawModel() function - which reads a variable from the player class and uses 
> SetRenderColorA()... I did it there since I'm already doing some texture 
> overriding stuff and wanted to keep it in one place anyway. This works for 
> the player, but when I did the same for the weapon class (any weapon class, I 
> went through the whole hierarchy) it doesn't work. The alpha value does get 
> set, when I read it with GetRenderColor().a it prints the correct value - and 
> I can actually set the weapon's other rendercolors just fine - e.g. doing 
> SetRenderColor(255, 0, 0) paints the weapon red. It's just the alpha. What's 
> wrong here?
>
> Thanks in advance.
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
>
>
>

-- 

Thanks,
 - Saul.

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to