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

CS2D Command CS2D Console Commands

Category: server (201)

CS2D Command mp_building_health



  • building (text): name of a building
  • health (0-X): initial/max health for that building type


Set the health for a building type. All buildings of that type will have this value has their new maximum health value.

Buildings (Class 1 only!):

Note: All buildings spawned after using this command will have the new health value as their initial health.

Note: The health of existing buildings of that type will NOT be increased if it is lower than the new maximum health. It will however be capped to the maximum value if it was higher.

Attention: Make sure that you use the name exactly as the building is called in-game (see list above).

mp_building_health "Turret" 10

Lua Hook Lua Hooks

Lua Command Lua Commands