Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
Engine:CVAR startup
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{dev/uicvar}} Path for the startup script file. <kua>set startup 'startup.cfg' </kua> == Arguments == * name - 'startup' * value - Relative asset path for the startup script file. Default value is unset. == Associations == * Is by default placed in the 'global' context. == Details == Set a script file to be run after basic engine systems are started. If no value is set, no startup script will be run. The similar engine config script 'config.cfg' file is run after basic module initialization. The config file is a place where the startup script can be set. Startup stages: * Process load * Modules initialization ** Commands and variables with default values are created * Config script is run 'config.cfg' * Modules start ** Use of default or config set variables or other changes * '''Startup script is run 'startup.cfg'''' * Server module load * Engine run === Using === For example, the 'map' and 'module' load defaults can be unset, and then no map or module will be loaded. The setup script can then be used to provide a more sophisticated configuration. This includes choosing which services are inittially started, and so on. == Examples == === Default values === <kua> > startup 'startup' is '' </kua> In a config file named 'config.cfg' <kua> ... startup startup.cfg </kua> == Notes == == See also ==
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Crumb
(
edit
)
Template:Crumbtext
(
edit
)
Template:Dev/uicvar
(
edit
)
Template:Editlink
(
edit
)
Template:Engine/devnav
(
edit
)
Template:Tocright
(
edit
)
Close
Loading editor…