For what it's worth, all the HL2DM weapons work fine (I do this in my mod), 
with the slight exception of the shining lights on the gravgun/stun baton.  I 
never really looked into whether that might be fixable though, since it still 
looks ok, IMO.


At 2007/11/11 05:10 PM, Ryan Sheffer wrote:
>I believe there is a problem with trying to fade / change alpha on
>certain materials.
>
>On Nov 10, 2007 8:48 PM, OvermindDL1 <[EMAIL PROTECTED]> wrote:
>> I have noticed the same thing in a few places, like GMod.  Anytime
>> something nearby (perhaps just on the hud?) is changing opacity, it
>> flickers instead.  I figured it was just due to my drivers (using an
>> old version as newer ones have issues with something on my install)
>> since I have seen no mention of it elsewhere (and such things are
>> generally driver related).
>>
>>
>> On 11/10/07, Richard Slaughter <[EMAIL PROTECTED]> wrote:
>> > Hi List,
>> >
>> > I'm trying to create a simple stealth effect on the player by setting
>> > the render mode to kRenderTransTexture and then setting the render
>> > colour with a low alpha value:
>> >
>> > m_nRenderMode = kRenderTransTexture;
>> > SetRenderColor( 255, 255, 255, m_flCurrentAlpha );
>> >
>> > This is called in void CHL2MP_Player::PreThink( void ) (server side) and
>> > works fine on the player model, but I'm having problems trying to fade
>> > out the players weapon view model:
>> >
>> > GetViewModel()->SetRenderMode( kRenderTransTexture );
>> > GetViewModel()->SetRenderColor( 255, 255, 255, 80 );
>> >
>> > This is called in void C_HL2MP_Player::PreThink( void ) (client side)
>> > and whilst it does half work, it leads to a flickering effect where the
>> > weapon model seems to flicker between solid and opaque.
>> >
>> > Any ideas why this would be happening and what I should do to fix it?
>> > Cheers,
>> >
>> > Rich
>> >
>> > _______________________________________________
>> > 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
>>
>>
>
>
>
>--
>~skidz
>
>_______________________________________________
>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

Reply via email to