Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding

Reply
 
Thread Tools Display Modes
Old 01-30-2009, 11:11 AM   #1
FoXoF
 
Guest
Posts: n/a
EP2 Flicker and fade

In Ep2 when the flashlight runs out of battery it fades and starts to flicker. I would like to implement this in a OB SP mod I am making. I am using the legacy flashlight version. I have looked through the code for legacy and non-legacy and cannot find where this effect is controlled.

Cheers
 
Reply With Quote
Old 01-30-2009, 03:05 PM   #2
z33ky
 
Join Date: May 2008
Reputation: 169
Posts: 5,361
Look for "bool bFlicker = false;" in src/game/client/flashlighteffect.cpp
z33ky is offline   Reply With Quote
Old 01-30-2009, 03:27 PM   #3
FoXoF
 
Guest
Posts: n/a
Thanks for that, I'll look into it tommorow.
  Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Coding


Thread Tools
Display Modes

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



All times are GMT -7. The time now is 05:40 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.