0.0.6 • Published 7 years ago
grad-drop v0.0.6
GRAD Drop
Dependencies
Installation
Manually
- Create a folder in your mission root folder and name it
modules
. Then create one inside there and call itgrad-drop
. - 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-drop\cfgFunctions.hpp"
};
class CfgSounds {
sounds[] = {};
#include "modules\grad-drop\cfgSounds.hpp"
};
Via npm
for details about what npm is and how to use it, look it up on npmjs.com
- Install package
grad-drop
:npm install --save grad-drop
- Prepend your mission's
description.ext
with#define MODULES_DIRECTORY node_modules
- Append the following lines of code to the
description.ext
:
class CfgFunctions {
#include "node_modules\grad-drop\cfgFunctions.hpp"
};
class CfgSounds {
sounds[] = {};
#include "node_modules\grad-drop\cfgSounds.hpp"
};