Engine:Console commands: Difference between revisions

Line 23: Line 23:
: [[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 ====
Global:
: [[CVAR lib_path|lib_path]] - './lib/' - Path for native 'world' modules.
: [[CVAR lib_path|lib_path]] - './lib/' - Path for native 'world' modules.
: [[CVAR lib_path|base_path]] - './data/' - Path for content and assets.
: [[CVAR lib_path|base_path]] - './data/' - Path for content and assets.
Line 28: Line 29:
: [[CVAR lib_path|GameDll]] - (none) - Full path for 'world' module, './lib/gamex86.dll'.
: [[CVAR lib_path|GameDll]] - (none) - Full path for 'world' module, './lib/gamex86.dll'.
: [[CVAR lib_path|s_use_ai]] - '1.0' - If world 'AI' processing is enabled.
: [[CVAR lib_path|s_use_ai]] - '1.0' - If world 'AI' processing is enabled.
: [[CVAR lib_path|map]] - 'maps/base1.bsp' - Full path for default content module
: [[CVAR lib_path|map]] - 'maps/base1.bsp' - Full path for default content module.
: [[CVAR lib_path|startup]] - (none) - Full path of initial startup script
: [[CVAR lib_path|startup]] - (none) - Full path of initial startup script.


==== Assignments ====
==== Assignments ====
Line 35: Line 36:
: Default log assignment is 'log'
: Default log assignment is 'log'
: Initial console assignment is 'console'
: Initial console assignment is 'console'
=== Render module ===
==== Commands ====
: none
==== Intrinsic vars ====
Global:
: [[CVAR r_width|r_width]] - '900' - Initial main window height.
: [[CVAR r_height|r_height]] - '600' - Initial main window width.
: [[CVAR r_bpp|r_bpp]] - '32' - Initial render device color bit depth.
: [[CVAR r_fullscreen|r_fullscreen]] - (none) - If device full-screen, without window.
: [[CVAR r_gamma|r_gamma]] - '1.0' - Device color gamma correction.
: [[CVAR r_vsync|r_vsync]] - '1.0' - If should render each frame one frame synced with device rate.
==== Assignments ====
: none