Ui autoReload (cvar)
Description
This CVar controls automatic reload of weapons
Usage
At the console type…
ui_autoreload [bool]
Parameters
- [bool] (0/1)
Flags
Flag | Enabled | Description |
---|---|---|
CVAR_ALL | all flags | |
CVAR_BOOL | X | variable is a boolean |
CVAR_INTEGER | variable is an integer | |
CVAR_FLOAT | variable is a float | |
CVAR_SYSTEM | system variable | |
CVAR_RENDERER | renderer variable | |
CVAR_SOUND | sound variable | |
CVAR_GUI | gui variable | |
CVAR_GAME | X | game variable |
CVAR_TOOL | tool variable | |
CVAR_USERINFO | X | sent to servers, available to menu |
CVAR_SERVERINFO | sent from servers, available to menu | |
CVAR_NETWORKSYNC | cvar is synced from the server to clients | |
CVAR_STATIC | statically declared, not user created | |
CVAR_CHEAT | variable is considered a cheat | |
CVAR_NOCHEAT | variable is not considered a cheat | |
CVAR_INIT | can only be set from the command-line | |
CVAR_ROM | display only, cannot be set by user at all | |
CVAR_ARCHIVE | X | set to cause it to be saved to a config file |
CVAR_MODIFIED | set when the variable is modified |
Notes
this does not override manual reload. this command is only available to weapons that use ammunition. this command is only handled when attack is pressed, ammo is available in inventory, but weapons’ clip is empty