1 Development environment setup
The following tutorial explains how to set up the development environment in order to create plugins for EMERGENCY 5 / EMERGENCY 2016.
1.1 SDK download
At first you'll have to download the latest version of the SDK. At the moment it's version 2.0.2. You can download it on WORLD of EMERGENCY under the menu Patches (notModding).
1.2 Visual Studio download
You should use Visual Studio as development environment. The developers of EMERGENCY 5 / EMERGENCY 2016 use it too, so every demo and template projects are provided as Visual Studio projects. The Visual Studio Community Edition can be used for the development of new plugins. It can be downloaded here. After the download you'll have to install it.
1.3 Unzip files
You should place the downloaded archive in your EMERGENCY 5 / EMERGENCY 2016 directory. Visual Studio usually works with relative paths, so a easy way is to use the common path system. If you unzip the archive into any other directory, you'll have to change the path. The EMERGENCY 5 / EMERGENCY 2016 should look like this (the sdk folder is important):
You can check the installation process if you open the example project and compile it. You can find it in the directory ./sdk/sample_plugins/plugin_sample/em5_sample_mod.sln
If all steps are done in the right way, the compiler shouldn't show any failures. Now the development environment is ready for the development of plugins for EMERGENCY 5 / EMERGENCY 2016.