Raised This Month: $ Target: $400
 0% 

3 different colour aura


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ƒa†es™
Senior Member
Join Date: May 2009
Location: Garena
Old 06-19-2009 , 02:39   3 different colour aura
Reply With Quote #1

I was wondering how do i add 3 different colour aura during the same time.

which mean there will be Red, Blue, Green during the same time, it depends

PHP Code:
        static Float:originF[3]            
        
pev(idpev_originoriginF)
        
engfunc(EngFunc_MessageBeginMSG_PVSSVC_TEMPENTITYoriginF0)
        
write_byte(TE_DLIGHT// TE id
        
engfunc(EngFunc_WriteCoordoriginF[0]) // x
        
engfunc(EngFunc_WriteCoordoriginF[1]) // y
        
engfunc(EngFunc_WriteCoordoriginF[2]) // z
        
write_byte(50// radius
        
write_byte(0// r
        
write_byte(225// g
        
write_byte(0)  // b 
        
write_byte(2// life
        
write_byte(0// decay rate
        
message_end() 
If i change those colour like this:

PHP Code:
        write_byte(225// r
        
write_byte(225// g
        
write_byte(255)  // b 
it will mix the colour so it will be white for this case.

so now the question is how do i prevent the colour from mixing ?
__________________
ƒa†es™ is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode