Commands/Lua

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

CS2D Command CS2D Console Commands

Category: server (199)

CS2D Command mp_hovertext

Categories

Parameters

  • Hover Text (0-31): display hover texts?

Info

This server setting controls the visibility of certain texts which appear when you hover game objects in-game. The parameter must be the sum of the codes for all the texts which are supposed to be visible. Use 0 if you want to hide all texts or 31 to show all texts.

The codes are the following:
1 - Player names
2 - Player health
4 - Hostages
8 - Dynamic Objects (Buildings/NPCs/...)
16 - Items

The default value for this setting is
1+2+4+8+16 = 31, which means that all texts are visible

Lua Hook Lua Hooks

Lua Command Lua Commands