Installation - gruppe-adler/grad-persistence GitHub Wiki

Dependencies

Manually

  1. Create a folder in your mission root folder and name it modules. Then create one inside there and call it grad-persistence.
  2. Download the contents of this repository ( there's a download link at the side ) and put it into the directory you just created.
  3. Append the following lines of code to the description.ext:
class CfgFunctions {
    #include "modules\grad-persistence\cfgFunctions.hpp"
};

Via npm

for details about what npm is and how to use it, look it up on npmjs.com

  1. Install package grad-persistence : npm install --save grad-persistence
  2. Append the following lines of code to the description.ext:
#define MODULES_DIRECTORY node_modules

class CfgFunctions {
    #include "node_modules\grad-persistence\cfgFunctions.hpp"
};