Skip to content

Commit 0c69da5

Browse files
committed
Reduce weight of GM manpacks
1 parent d1e6bfe commit 0c69da5

File tree

4 files changed

+53
-0
lines changed

4 files changed

+53
-0
lines changed

addons/GM_Backpacks/$PBOPREFIX$

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
z\PzGrenBtl402\addons\GM_Backpacks

addons/GM_Backpacks/CfgVehicles.hpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
class CfgVehicles {
2+
class gm_backpack_base;
3+
class gm_ge_backpack_sem35_base: gm_backpack_base {
4+
maximumLoad = 126;
5+
mass = 50; // Reduce weight
6+
};
7+
8+
class gm_gc_backpack_r105m_base: gm_backpack_base {
9+
maximumLoad = 126;
10+
mass = 60; // Reduce weight
11+
};
12+
};

addons/GM_Backpacks/config.cpp

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#include "script_component.hpp"
2+
3+
class CfgPatches {
4+
class ADDON {
5+
name = COMPONENT_NAME;
6+
units[] = {};
7+
weapons[] = {};
8+
requiredVersion = REQUIRED_VERSION;
9+
requiredAddons[] = {
10+
"PzGrenBtl402_Main",
11+
"gm_core_characters",
12+
"gm_characters_ge_characters",
13+
"gm_characters_gc_characters"
14+
};
15+
skipWhenMissingDependencies = 1;
16+
author = ECSTRING(Main,authors);
17+
authors[] = {"Timi007"};
18+
url = ECSTRING(Main,URL);
19+
VERSION_CONFIG;
20+
};
21+
};
22+
23+
#include "CfgVehicles.hpp"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#define COMPONENT GM_Backpacks
2+
#define COMPONENT_BEAUTIFIED GM Backpacks
3+
#include "\z\PzGrenBtl402\addons\Main\script_mod.hpp"
4+
5+
// #define DEBUG_MODE_FULL
6+
// #define DISABLE_COMPILE_CACHE
7+
// #define CBA_DEBUG_SYNCHRONOUS
8+
9+
#ifdef DEBUG_ENABLED_GM_BACKPACKS
10+
#define DEBUG_MODE_FULL
11+
#endif
12+
13+
#ifdef DEBUG_SETTINGS_GM_BACKPACKS
14+
#define DEBUG_SETTINGS DEBUG_SETTINGS_GM_BACKPACKS
15+
#endif
16+
17+
#include "\z\PzGrenBtl402\addons\Main\script_macros.hpp"

0 commit comments

Comments
 (0)