Table Of Contents
PluginA plugin extends the functions of EMERGENCY 5 and EMERGENCY 2016 and has to be created by programmers. The file ending of plugins is
Inlcuding pluginsIn order to load plugins into the game, you'll have to include them into the project.
Create a x64 directoryAt first you'll have to create another folder with the name
x64in your project directory. The project directory has to look like this (it's possible, that there are more directories than shown):
Copy plugin DLL fileIf the Visual Studio project wasn't prepared to copy the
dllfile automatically into the
x64directory after the build process, you'll have to do it manually. The
x64should includ all
dllfiles which will be used by the current project.
Edit project.jsonEvery used plugin has to be included into the
project.jsonfile. For editing the file, you'll have to open it with any suitable text editor.
Below the term 'Plugins' you should enter all file names of the plugins as key and the string
em5_game em5_editoras value. The string defines, that the plugin will be loaded both ingame in in the editor. Every single entry has to be separated by comma (official json specification).
After the inclusion of the new entry, the file should look like this (some of the settings beneath the plugins can be different):
Source Code: project.json
1,001 times viewed