Raised This Month: $ Target: $400
 0% 

Which is low cpu usge?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
YKH =]
Senior Member
Join Date: Sep 2008
Location: Hong Kong
Old 04-14-2009 , 21:57   Which is low cpu usge?
Reply With Quote #1

set_pev(id, pev_effects, pev(id, pev_effects) | EF_BRIGHTLIGHT)

or TE_DLIGHT?
__________________
Approved Plugins

[ZP] Effect Plugins :
Damage Effect
Real Death
YKH =] is offline
_lol_
Senior Member
Join Date: Apr 2009
Old 04-14-2009 , 22:04   Re: Which is low cpu usge?
Reply With Quote #2

i think the brightlight...but it is only white...you can not optimize it..
_lol_ is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 04-15-2009 , 07:30   Re: Which is low cpu usge?
Reply With Quote #3

Well, this is what I think (I *may* be wrong in some slight details but overall I think I'm right )

EF_BRIGHTLIGHT it's just a flag on a model and it's processed client side (light color, size, decay, etc), the server only sends another "flag" along with the entity data... and yeah, can be set only on another entity
and this has one more comunication with the module...

TE_DLIGHT creates another entity (info_target, at the specified origin) that emits one dynamic light that can be customized... this however has alot of comunications to the module setting each param

if you REALLY need TE_DLIGHT you can use it, but EF_BRIGHTLIGHT is a good alternative... for flares, model world-light glows, etc.
__________________
Hunter-Digital is offline
Reply



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 02:25.


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