AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   About EF_LIGHT Effect (https://forums.alliedmods.net/showthread.php?t=98566)

meTaLiCroSS 07-26-2009 17:13

About EF_LIGHT Effect
 
How i can create the EF_LIGHT effect, but in green?

Drak 07-26-2009 20:54

Re: About EF_LIGHT Effect
 
Use the server message. TE_DLIGHT.

meTaLiCroSS 07-27-2009 15:10

Re: About EF_LIGHT Effect
 
Quote:

Originally Posted by Drak (Post 882593)
Use the server message. TE_DLIGHT.

This is EF_LIGHT effect, but i need in Green
http://img193.**************/i/csassault0043.png/

And the TE_DLIGHT server message is this...
http://img99.**************/i/csassault0039.png/

Arkshine 07-27-2009 15:40

Re: About EF_LIGHT Effect
 
AFAIK you can not change the color. Maybe there is a tricky way to apply indirectly the color, but I doubt.

meTaLiCroSS 07-27-2009 16:36

Re: About EF_LIGHT Effect
 
Quote:

Originally Posted by Arkshine (Post 883262)
AFAIK you can not change the color. Maybe there is a tricky way to apply indirectly the color, but I doubt.

Exist a server message similar to EF_LIGHT effect?

Drak 07-27-2009 22:24

Re: About EF_LIGHT Effect
 
I'm confused. Because TE_DLIGHT is a dynamic light. Exactly like that screenshot shows. (the spot on the ground) or the glowing orb is what your looking for?

hlstriker 07-27-2009 23:30

Re: About EF_LIGHT Effect
 
Only way afaik.

PHP Code:

DLight(100600600flOrigin02550);

stock DLight(iRadiusiLifeiDecay, const Float:flOrigin[3], iRediGreeniBlue)
{
    
message_begin(MSG_BROADCASTSVC_TEMPENTITY);
    
write_byte(TE_DLIGHT);
    
write_coord(floatround(flOrigin[0]));
    
write_coord(floatround(flOrigin[1]));
    
write_coord(floatround(flOrigin[2]));
    
write_byte(iRadius);
    
write_byte(iRed);
    
write_byte(iGreen);
    
write_byte(iBlue);
    
write_byte(iLife);
    
write_byte(iDecay);
    
message_end();



meTaLiCroSS 07-28-2009 16:47

Re: About EF_LIGHT Effect
 
Quote:

Originally Posted by hlstriker (Post 883552)
Only way afaik.

PHP Code:

DLight(100600600flOrigin02550);

stock DLight(iRadiusiLifeiDecay, const Float:flOrigin[3], iRediGreeniBlue)
{
    
message_begin(MSG_BROADCASTSVC_TEMPENTITY);
    
write_byte(TE_DLIGHT);
    
write_coord(floatround(flOrigin[0]));
    
write_coord(floatround(flOrigin[1]));
    
write_coord(floatround(flOrigin[2]));
    
write_byte(iRadius);
    
write_byte(iRed);
    
write_byte(iGreen);
    
write_byte(iBlue);
    
write_byte(iLife);
    
write_byte(iDecay);
    
message_end();



Dude i don't need the "Aura" effect, y need this: http://img193.**************/i/csassault0043.png/

But with another color, exist a server message similar to EF_LIGHT effect?

hlstriker 07-28-2009 18:41

Re: About EF_LIGHT Effect
 
Quote:

Originally Posted by Drak (Post 883520)
(the spot on the ground) or the glowing orb is what your looking for?

I'm wondering the same thing:
[img]http://img22.**************/img22/240/flareorlight.jpg[/img]

Are you talking about the flare or the light?

If you are talking about the flare then you will need to set the entities model to the sprite EF_LIGHT is using, then you will need to set the rendering values to the color you want. You will also want to remove the EF_LIGHT effect since you are creating the effect manually.

meTaLiCroSS 07-28-2009 20:20

Re: About EF_LIGHT Effect
 
Sorry :E

I need the "Flare" effect, the light in the floor is the EF_BRIGHTLIGHT effect :) (Aura effect)


All times are GMT -4. The time now is 18:31.

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