quanticc / lawena-recording-tool

Simple movie recording tool for Source Engine games
http://lawena.github.io/
GNU General Public License v3.0
80 stars 16 forks source link

Recording demos with toggle command binds can override some 'locked' settings #13

Closed quanticc closed 10 years ago

quanticc commented 11 years ago

If you have a class config using the "toggle" command, like: bind "q" "lastinv; toggle r_drawviewmodel"

Your recorded demos will override a setting that lawena "locked" (setting an empty alias to a convar to avoid further changes) because toggle doesn't call the convar itself, but changes the value internally.

Workaround: Edit your appropriate class cfg (scout.cfg, sniper.cfg, etc.) inside lawena/cfg and add this line, in this case to lock viewmodels on: toggle r_drawviewmodel 1

This issue will remain open until I find the best way to fix this. The workaround should do for now.