Engine:Console commands: Difference between revisions

Line 27: Line 27:
: [[MACRO bind|run]] - run, /run - Load and run script file. Run a named script file. Name must include extension.
: [[MACRO bind|run]] - run, /run - Load and run script file. Run a named script file. Name must include extension.
==== Intrinsic vars ====
==== Intrinsic vars ====
: [[CVAR lib_path|lib_path]] -
: [[CVAR lib_path|lib_path]] - './lib/' - Path for native 'world' modules.
: [[CVAR lib_path|base_path]] -
: [[CVAR lib_path|base_path]] - './data/' - Path for content and assets.
: [[CVAR lib_path|module]] -
: [[CVAR lib_path|module]] - 'game' - Base name for 'world' module, without platform postfix.
: [[CVAR lib_path|GameDll]] -
: [[CVAR lib_path|GameDll]] - (none) - Full path for 'world' module, './lib/gamex86.dll'.
: [[CVAR lib_path|s_use_ai]] -
: [[CVAR lib_path|s_use_ai]] - '1.0' - If world 'AI' processing is enabled.
: [[CVAR lib_path|map]] -
: [[CVAR lib_path|map]] - 'maps/base1.bsp' - Full path for default content module
: [[CVAR lib_path|startup]] -
: [[CVAR lib_path|startup]] - (none) - Full path for initial startup script