How to open doors with a command in CS2
Run sv_cheats 1, then type ent_fire prop_door_rotating open in the server console to open every rotating door on the map.
ent_fire
Sends an input to map entities by name or class, such as opening doors; requires sv_cheats 1.
ent_fire <target> [action] [value] Examples
ent_fire prop_door_rotating open Open every rotating door on the map.
Arguments
targetRequired- Entity name or class name.
actionOptional- Input to fire, such as
openorkill. valueOptional- Optional parameter for the input.
What it does
Fires an entity input, the same signals maps use internally. You target entities by name or class and give an action and optional value. It is mostly used in practice and map testing.
The game's own description: Usage: ent_fire <target> [action] [value0] [value1] ... [valueN]
Good to know
- Needs
sv_cheats 1on the server, so it works on your own practice server but not in matchmaking.
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to game/csgo/cfg/server.cfg. New to this? Start a CS2 server first.
Your own
CS2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.