StrataSource / Portal-2-Community-Edition

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

`sv_regeneration_enable` cvar #1437

Open MyGamepedia opened 1 year ago

MyGamepedia commented 1 year ago

Which component should be improved?

Gameplay

Describe your suggestion

We have info_portal_gamerules that can disable/enable health regeneration, but it can't change it in real time when you play at map. sv_regeneration_enable is cvar that can toggle player regeneration, if 1 - regeneration is enabled, if 0 - regeneration is disabled, default value linked to info_portal_gamerules Enable health regeneration keyvalue.