Raised This Month: $ Target: $400
 0% 

Create new entity and give him spr model, need help :)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-20-2011 , 07:18   Create new entity and give him spr model, need help :)
Reply With Quote #1

Hi

I have created a new entity "flare light glow"

PHP Code:
  // Flare Glow
  
entity_set_stringiEntityEV_SZ_classnameevnlightclassname );
  
entity_set_intiEntityEV_INT_solidSOLID_NOT );
  
entity_set_intiEntityEV_INT_movetypeMOVETYPE_NONE );
  
entity_set_modeliEntityEvNFlareGlow );
  new 
Float:RGB];
  
RGB] = str_to_floatcolor[0] );
  
RGB] = str_to_floatcolor[1] );
  
RGB] = str_to_floatcolor[2] );
  
entity_set_vectoriEntityEV_VEC_rendercolorRGB );
  
entity_set_floatiEntityEV_FL_scale0.5 );
  
entity_set_floatiEntityEV_FL_nextthinkget_gametime() + 2.0 );
  
entity_set_originiEntityoriginF ); 
I need to set render mode "Additive"
And FX Amount "90"

Like i can do valve hammer editor, env_sprite
and there are that options

Render FX
Render Mode
FX Amount

But how i do this in amxmodx scripting?

I have search that engine_const.inc where i found
EV_VEC_rendercolor and EV_FL_scale

But there are no sucks things like FX amount or FX mode


thanking in advance.
And sorry for my bad english.
.Dare Devil. 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 23:35.


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