Actually as an after thought. I looked at my code and here is how i allocate mine. My dlight is on the client side since its a single player mod. I use it for my torch to light up a small area.
dlight_t *dl = gEngfuncs.pEfxAPI->CL_AllocDlight (2); The (2) is because when its (1) I believe the flashlight uses it and when you turn on the flashlight my light goes bye bye. I think you are doing it on the server side. Im not really sure. But that is how I got mine on client side to work nicely. You can see an ok demo movie here... the fps are kinda jacked up. : http://www.the-coming.com/files/torch.avi Hope this helps maybe a little. Roachie ----- Original Message ----- From: "Cortex" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 21, 2002 9:14 AM Subject: [hlcoders] DLIGHT problem > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > Hello, > > For some reasons, I need to have a temporary light in my > mod... I create it with a SVC_TEMPENTITY. It works... > > But the result isn't as expected... Indeed, as you can see > on the picture I've joined to this mail, the light enlights > the whole face and the effect is crappy on a big big face... > > Is there an other way to create a other light effect ???? > > - Cortex : mapper & coder www.hlalbator.fr.st > -- > > > _______________________________________________ > 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

