2,113
edits
(Created page with "{{dev/uicvar}} Base name for 'world' module, without platform postfix or extensions. <kua>set module 'game'</kua> == Arguments == * name - 'module' * value - module name to load == Associations == * Is by default placed in the 'global' context. == Details == Name of the world module. The path is either a full OS file system path to the library location, or a path relative to the launch location, which is the location of the executable for the engine. In some confi...") |
No edit summary |
||
Line 11: | Line 11: | ||
== Details == | == Details == | ||
Name of the world | Name of the world native library to load. | ||
'World' in this context means a graphically or otherwise conceptually interactive environment, and is apart from any regular 2D UI environment, or may have no direct user interfaces. | |||
This library typically loads when the 'world' loads and provides support for managing discrete world components how they interact and can act as a sink and/or source for messaging with other systems. | |||
The actual load path for the world library set with [[CVAR lib_path]], and final library file name will be calculated from the 'module' name and the platform suffixes. See [[CVAR lib_path]] for the list of suffixes and explanation. | |||
== Examples == | == Examples == | ||
=== Default values === | === Default values === | ||
For the path executable path 'd:\install\engine.exe', and a ' | For the path executable path 'd:\install\engine.exe', and a 'lib_path' of './lib/' on windows running 64-bit Engine: | ||
set module 'game' | |||
becomes: ./lib/gamex64.dll | |||
with install in: d:\install\engine | |||
effective OS load: d:\install\engine\lib\gamex86.dll | |||
: | |||
== Notes == | == Notes == |