Commands/Lua

Reference for console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

Category: all (370)

CS2D Command debug

Categories

Parameters

  • debug (0-2): debug off (0), simple (1), profiler (2)

Info

Changes the debug mode. There are 3 different modes:
  • 0 - debug disabled: No debug info. Recommended for normal playing.

  • 1 - debug mode: Shows additional debug messages and the FPS (frames per second) in the top left corner

  • 2 - profile mode: Shows detailed performance information


Note: Mode 0 is recommended for playing. Other modes might have a negative impact on performance.

Note: If you have technical problems you can try mode 1 or 2 to find out what's wrong. You might get additional info with these modes.

Lua Hook Lua Hooks

Lua Command Lua Commands