Adds some utilities for testing and developing mods.
Execute a script on the SERVER / CLIENT / UI vm. All locals will be printed as well as runtime errors and expressions that evaluate to no action.
You can use macros. To get a list of all usable macros, type qs ss
@me
- The player executing the command@us
- All players in the team of the player executing the command@all
- All players connected@there
- Returns a vector of the position the executor looks at@here
- Returns a vector of the position of the executor@trace
- Returns aTraceResult
from the callee eye position to the point the callee is looking at@cache
- Returns the entity last shot with the dev gun by the callee
ss @me.Die()
Kills the person executing the commandss foreach(e in @all){e.SetOrigin(@there)}
Set the origin of every player to the position the person executing the command looks at
Spawn a grunt at the position the executor looks at. You can pass an expression to the --team
option or spawn a titan with -titan
grunt --team TEAM_MILITIA
grunt --team 0 -titan
Clear the console
Print help about Querschnitt commands
Pass a command to receive more info about it.
Displays some useful info of the entity shot in the HUD. You can get the entity you shot with @cache
in ss
and sc
You can obtain it with the command give mp_dev_info_gun