Installation - gruppe-adler/grad-persistence GitHub Wiki
Dependencies
Manually
- Create a folder in your mission root folder and name it
modules
. Then create one inside there and call itgrad-persistence
. - Download the contents of this repository ( there's a download link at the side ) and put it into the directory you just created.
- Append the following lines of code to the
description.ext
:
class CfgFunctions {
#include "modules\grad-persistence\cfgFunctions.hpp"
};
npm
Via for details about what npm is and how to use it, look it up on npmjs.com
- Install package
grad-persistence
:npm install --save grad-persistence
- Append the following lines of code to the
description.ext
:
#define MODULES_DIRECTORY node_modules
class CfgFunctions {
#include "node_modules\grad-persistence\cfgFunctions.hpp"
};