You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
mittorn edited this page Mar 3, 2016
·
7 revisions
Some simple scripting extensions was add
Enabling scripting:
cmd_scripting 1
This is archive cvar, it will be saved.
Console variables
Console variables (or CVars) are present in all quake-based games.
By deefault, it is settings, created by engine, server or client libraries.
But you can use set command to define variiables even if they are not created by engine.
For example, you can set cvar before it is registered in code.
set defaultmap crossfire
CVar substitution
This is extension of xash3d fork, that can be enabled by cmd_scripting cvar
You can substitute cvar value to any command by adding $ symbol:
echo $sv_cheats