StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
148 stars 3 forks source link

Bug: r_drawviewmodel doesn't reset on game restart (value is archived). #1468

Closed Rip-Rip-Rip closed 11 months ago

Rip-Rip-Rip commented 1 year ago

Describe the bug

In standard Portal 2, if I was to set r_drawviewmodel to 0 then restart my game, it would be set back to 1, however in P2CE the value is archived. I'm not sure if this is intended or not, but it is a difference to the original game so I'm putting it here :)

Issue Map

N/A, happens across the whole game.

To Reproduce

  1. Open Console
  2. Type "r_drawviewmodel 0" into the console.
  3. Restart game.
  4. Load a map of somekind
  5. Observe that the model is still hidden and that the value for "r_drawviewmodel" is still set to 0.

Operating System

Windows 11 Build 22621.1992

craftablescience commented 11 months ago

Looks like this is actually intended behavior, going to leave it as-is for now