Talk:Info darknessmode lightsource

From Valve Developer Community
Jump to: navigation, search

Does someone knows something else about this entity ? --NykO18

//-----------------------------------------------------------------------------
// Purpose: Manages entities that provide light while in darkness mode
//-----------------------------------------------------------------------------
And here are some debug convars that you can use around in EP1 to see how it works
ConVar g_debug_darkness( "g_debug_darkness", "0", FCVAR_NONE, "Show darkness mode lightsources.", CV_Debug_Darkness );
ConVar darkness_ignore_LOS_to_sources( "darkness_ignore_LOS_to_sources", "1", FCVAR_NONE );

^Ben 16:26, 22 Sep 2006 (PDT)

A guess: I've seen Alyx be associated with a darkness mode. Does she use some kind of darkness goggles in Episode One? If so, this might help he see things and places illuminated by this lightsource that perhaps only she can see. Just a guess. Might also work for other monsters too, to help them see in the dark. --Andreasen 21:36, 22 Sep 2006 (PDT)

She can see where you have your flashlight pointed... a lightsource is ideally a static copy of your flashlight—ts2do 21:44, 22 Sep 2006 (PDT)