Commands/Lua
Reference for console commands, Lua hooks and Lua commands in CS2D.
- CS2D Console Commands are entered in the console, executed with key-binds, configuration (cfg) files or in Lua with parse
- Lua Hooks are used to execute Lua scripts when events occur in CS2D - some have a return value which can change the game behavior
- Lua Commands are used to retrieve game data or to perform actions in Lua scripts
CS2D Console Commands
Category: all (370)
renderdecalsCategories
Parameters
- render (0/1): render Env_Decal map decals (1) or not (0)
Info
Controls if map decals should be rendered (1, default) or not (0). This setting only affects decals which are placed in the editor via the Env_Decal entity. By default this setting is set to 1 so all decals are rendered.
Note: It is recommended to keep this at its default value (1). Disabling rendering is only recommended for slow systems with performance problems.
Note: Effect decals which are spawned during game play (e.g. footprints or grenade craters / soot stains) are not affected by this setting!
Lua Hooks
Lua Commands
Categories
Parameters
- render (0/1): render Env_Decal map decals (1) or not (0)
Info
Controls if map decals should be rendered (1, default) or not (0). This setting only affects decals which are placed in the editor via the Env_Decal entity. By default this setting is set to 1 so all decals are rendered.
Note: It is recommended to keep this at its default value (1). Disabling rendering is only recommended for slow systems with performance problems.
Note: Effect decals which are spawned during game play (e.g. footprints or grenade craters / soot stains) are not affected by this setting!



