Talk:Camera Bob: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with 'Just wanted to add that you probably want to change the first line if ( cl_viewbob_enabled.GetInt() == 1) to if ( cl_viewbob_enabled.GetInt() == 1 && !engine->IsPaused() ) …')
 
No edit summary
Line 8: Line 8:


That way, it won't bob when the game is paused, and it'll prevent a huge bob effect from gathering up from pausing for a long time.
That way, it won't bob when the game is paused, and it'll prevent a huge bob effect from gathering up from pausing for a long time.
Oh, and after testing this effect, I personally found that it looked better with a zoffset, it looks more natural and is less nauseating (for me at least).
--[[User:Wilsonc|Wilsonc]] 20:12, 23 July 2009 (UTC)

Revision as of 13:12, 23 July 2009

Just wanted to add that you probably want to change the first line

if ( cl_viewbob_enabled.GetInt() == 1)

to

if ( cl_viewbob_enabled.GetInt() == 1 && !engine->IsPaused() )

That way, it won't bob when the game is paused, and it'll prevent a huge bob effect from gathering up from pausing for a long time.

Oh, and after testing this effect, I personally found that it looked better with a zoffset, it looks more natural and is less nauseating (for me at least).

--Wilsonc 20:12, 23 July 2009 (UTC)