Table Of Contents
Plugin
A plugin extends the functions of EMERGENCY 5 and EMERGENCY 2016 and has to be created by programmers. The file ending of plugins isdll
.Inlcuding plugins
In order to load plugins into the game, you'll have to include them into the project.Create a x64 directory
At first you'll have to create another folder with the namex64
in your project directory. The project directory has to look like this (it's possible, that there are more directories than shown):Copy plugin DLL file
If the Visual Studio project wasn't prepared to copy thedll
file automatically into the x64
directory after the build process, you'll have to do it manually. The x64
should includ all dll
files which will be used by the current project.Edit project.json
Every used plugin has to be included into theproject.json
file. 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_editor
as 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,233 times viewed