Entities can be used in the map editor to specify player spawn locations or to add effects, doors, items and more.

Category: all (50)

30 - Env_Building (Build)


Creates a building (or other "Stuff" - see list below) at the tile position.

List of buildings with type IDs (Class 1 and 2 only):
CS2D Dynamic Objects

Note: In case you want to place a laser mine you have to place the entity on a floor tile next to a wall tile. In the properties you have to set the direction of the entity to the direction you want the beam to go (only 0, 90, 180 or 270 degree depending on where the wall is). The laser mine will blow up instantly if you don't adjust these things properly.

Values / Properties

The following values can be set in the entity properties menu of the map editor and can be read using the Lua command entity.

  • ints[0]=building type ID
  • ints[1]=team (0=neutral, 1=terrorists, 2=counter-terrorists)
  • ints[2]=rotation (affects barbed wire and laser mine only)