Commands/Lua

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

CS2D Command CS2D Console Commands

Category: all (375)

CS2D Command controller

Categories

Parameters

  • controller (0/1): controller/gamepad support enabled?

Info

Enable or disable controller/gamepad support. Enabled by default.

Note: The game always also reacts to mouse and keyboard input so you don't necessarily have to disable controller input if you don't want to use it.

Note: If your controller sends inputs unintentionally which interfere with game play while you want to play with mouse and keyboard, you can set this setting to 0. This way you can play CS2D without having to disconnect the controller.

Lua Hook Lua Hooks

Lua Command Lua Commands