Skip to content

Commit

Permalink
Merge pull request #50 from kerckasha/master
Browse files Browse the repository at this point in the history
 Fixed: Missing hitpoints on RA units
  • Loading branch information
kju authored Jan 3, 2020
2 parents 9adb30e + ec16942 commit 4cf44dc
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/medical/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
z\ifa3_comp_ace\addons\medical
10 changes: 10 additions & 0 deletions addons/medical/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class CfgVehicles {

//units
class O_Soldier_base_F;
class LIB_SOV_Soldier_base: O_Soldier_base_F {
class HitPoints {
ADD_ACE_HITPOINTS(1,1);
};
};
};
17 changes: 17 additions & 0 deletions addons/medical/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include "script_component.hpp"

class CfgPatches {
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_medical_engine","WW2_Assets_c_Characters_ZZZ_LastLoaded_c"};
author = CSTRING(Team);
authors[] = { "Kerc" };
authorUrl = CSTRING(Url);
url = CSTRING(Url);
VERSION_CONFIG;
};
};

#include "CfgVehicles.hpp"
5 changes: 5 additions & 0 deletions addons/medical/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#define COMPONENT medical
#include "\z\ifa3_comp_ace\addons\main\script_mod.hpp"

#include "\z\ace\addons\main\script_macros.hpp"
#include "\z\ace\addons\medical_engine\script_macros_config.hpp"

0 comments on commit 4cf44dc

Please sign in to comment.