You have ELight's and DLight's that you can place dynamically. Also, the flashlight code is in flashlighteffect.cpp and .h on the client. The newer effect uses a projected texture for the flashlight.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mukkan Yhtiö Sent: Tuesday, January 16, 2007 6:32 PM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] Placing Light Sources during Game Play. I need to create a light source while in game; I have been looking at lightglow.h and this looks like it will be a good idea. Although; if I could find where the Flashlight source code is in the SDK; I am slightly stumped as I found it a few months back but have no idea where... :\ If anyone could point out the file the flashlight code is in or a better class to use as a light source that would be very helpfull. Thanks _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders __________ NOD32 1982 (20070116) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders