Scripting is one of the most important features of Vault-Tec Multiplayer Mod. It grants access to in-game
Objects and allows to manipulate them. With the help of scripts, it is possible to customize the game experience and even create whole new gamemodes. Scripts are executed server-side by the dedicated server of vaultmp. Users who code scripts are known as
scripters. They mainly use the
scripting functions and
scripting callbacks (see
VaultMP interface) provided by the mod to write a script. A script can be written in C / C++ or in the
PAWN language. See the section
Installing a script in the dedicated server setup guide on how to load such a script.
Contents
Scripts can be written in C and C++. It allows for maximum flexibility and an extremely large set of possibilities. An example script comes with the vaultmp package. C / C++ scripts need to be compiled as dynamic-link library (shared object for Unix) files. The entry point of a C / C++ script is
exec.
Scripts can be written in PAWN. With regard to the VaultMP interface, PAWN scripts can be as powerful as C / C++ ones. An example script comes with the vaultmp package. PAWN scripts need to be compiled with pawncc.exe (comes with vaultmp) and the -C64 command line option appended. The entry point of a PAWN script is
main.
Subcategories
There are 2 subcategories in this category, which are shown below.
Pages in category "Scripting"
There are 0 pages in this section of this category.