Skip to content

Commit

Permalink
~ Changed : Initial Commit
Browse files Browse the repository at this point in the history
Updated to new file-structure
  • Loading branch information
Coldfront15 committed Sep 9, 2024
1 parent 10b641e commit 2d8982a
Show file tree
Hide file tree
Showing 93 changed files with 9,183 additions and 686 deletions.
64 changes: 57 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,59 @@
release/*
*.cache
*.pbo
!additionals/*.pbo
texHeaders.bin
*.swp
*.swo
.hemttout
hemtt
hemtt.exe
*.biprivatekey
Thumbs.db
.hemtt/project.toml
.gitattributes
.editorconfig
.gitattributes
.editorconfig
include/z/ace/addons/medical_engine/$PBOPREFIX$
include/z/ace/addons/medical_engine/addon.toml
include/z/ace/addons/medical_engine/CfgActions.hpp
include/z/ace/addons/medical_engine/CfgEventHandlers.hpp
include/z/ace/addons/medical_engine/CfgExtendedAnimation.hpp
include/z/ace/addons/medical_engine/CfgFunctions.hpp
include/z/ace/addons/medical_engine/CfgMoves.hpp
include/z/ace/addons/medical_engine/CfgVehicles.hpp
include/z/ace/addons/medical_engine/CfgWeapons.hpp
include/z/ace/addons/medical_engine/config.cpp
include/z/ace/addons/medical_engine/data/ace_unconscious_1.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_1_1.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_2.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_2_1.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_3.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_3_1.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_4.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_4_1.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_5.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_5_1.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_6.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_6_1.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_7.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_7_1.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_8.rtm
include/z/ace/addons/medical_engine/data/ace_unconscious_8_1.rtm
include/z/ace/addons/medical_engine/data/model.cfg
include/z/ace/addons/medical_engine/functions/fnc_applyAnimAfterRagdoll.sqf
include/z/ace/addons/medical_engine/functions/fnc_damageBodyPart.sqf
include/z/ace/addons/medical_engine/functions/fnc_disableThirdParty.sqf
include/z/ace/addons/medical_engine/functions/fnc_getHitpointArmor.sqf
include/z/ace/addons/medical_engine/functions/fnc_getItemArmor.sqf
include/z/ace/addons/medical_engine/functions/fnc_handleDamage.sqf
include/z/ace/addons/medical_engine/functions/fnc_lockUnconsciousSeat.sqf
include/z/ace/addons/medical_engine/functions/fnc_setStructuralDamage.sqf
include/z/ace/addons/medical_engine/functions/fnc_setUnconsciousAnim.sqf
include/z/ace/addons/medical_engine/functions/fnc_unlockUnconsciousSeat.sqf
include/z/ace/addons/medical_engine/functions/fnc_updateBodyPartVisuals.sqf
include/z/ace/addons/medical_engine/functions/fnc_updateDamageEffects.sqf
include/z/ace/addons/medical_engine/initSettings.inc.sqf
include/z/ace/addons/medical_engine/README.md
include/z/ace/addons/medical_engine/script_component.hpp
include/z/ace/addons/medical_engine/script_macros_config.hpp
include/z/ace/addons/medical_engine/script_macros_medical.hpp
include/z/ace/addons/medical_engine/stringtable.xml
include/z/ace/addons/medical_engine/XEH_postInit.sqf
include/z/ace/addons/medical_engine/XEH_preInit.sqf
include/z/ace/addons/medical_engine/XEH_PREP.hpp
include/z/ace/addons/medical_engine/XEH_preStart.sqf
422 changes: 101 additions & 321 deletions LICENSE

Large diffs are not rendered by default.

339 changes: 339 additions & 0 deletions README.md

Large diffs are not rendered by default.

26 changes: 22 additions & 4 deletions addons/cargo/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,43 @@ class CfgPatches {
class CfgVehicles
{
// Planes
class LIB_US_Plane_base;
class LIB_Plane_base;
class LIB_US_Plane_base: LIB_Plane_base {};
class LIB_GER_Plane_base: LIB_Plane_base {};
class LIB_SU_Plane_base: LIB_Plane_base {};
class LIB_P47: LIB_US_Plane_base {
EGVAR(refuel,fuelCapacity) = 1155;
};
class LIB_P39: LIB_US_Plane_base {
EGVAR(refuel,fuelCapacity) = 454;
};
class LIB_Pe2: LIB_SU_Plane_base {
EGVAR(refuel,fuelCapacity) = 1086;
};
class LIB_C47_Skytrain : LIB_US_Plane_base {
EGVAR(refuel,fuelCapacity) = 3043;
GVAR(loadmasterTurrets)[] = {{17}};
ace_cargo_space=7;
ace_cargo_hasCargo=1;
};
class LIB_HORSA : LIB_US_Plane_base {
EGVAR(refuel,fuelCapacity) = 0;
ace_cargo_space=7;
ace_cargo_hasCargo=1;
};
class LIB_CG4_WACO : LIB_US_Plane_base {
EGVAR(refuel,fuelCapacity) = 0;
ace_cargo_space=7;
ace_cargo_hasCargo=1;
};

class LIB_GER_Plane_base;
class LIB_JU52 : LIB_GER_Plane_base {
class LIB_Ju87 : LIB_GER_Plane_base {
EGVAR(refuel,fuelCapacity) = 1155;
ace_cargo_space=7;
ace_cargo_hasCargo=1;
};
class LIB_FW190F8: LIB_GER_Plane_base {
EGVAR(refuel,fuelCapacity) = 639;
};

//Ammoboxes
class LIB_ReammoBox_Base;
Expand Down
23 changes: 21 additions & 2 deletions addons/main/CfgAmmo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,16 @@ class CfgAmmo {
ace_rearm_caliber = 82;
};

class LIB_Sh_60_HE: LIB_Sh_82_HE {
EGVAR(frag,enabled) = 1;
EGVAR(frag,force) = 1;
EGVAR(frag,metal) = 1400;
EGVAR(frag,charge) = 185;
EGVAR(frag,gurney_c) = 2700;
EGVAR(frag,gurney_k) = "1/2";
EGVAR(frag,classes)[] = {"ACE_frag_medium","ACE_frag_small"};
};

class ARTY_LIB_Sh_82_HE: LIB_Sh_82_HE {
ace_frag_enabled = 1;
ace_frag_classes[] = {"ACE_frag_medium", "ACE_frag_medium_HD"};
Expand Down Expand Up @@ -886,7 +896,17 @@ class CfgAmmo {
ace_frag_gurney_k = "1/2";
};

class LIB_MAIN_pipebomb;
//Defined mine baseclass update.
class MineCore;
class PipeBombBase;
class LIB_MAIN_mine: MineCore {
ace_mineDetector_detectable = 1;
};

class LIB_MAIN_pipebomb: MineCore {
ace_mineDetector_detectable = 1;
};

class LIB_Ladung_Small_ammo: LIB_MAIN_pipebomb {
// ace_explosives_magazine = "LIB_Ladung_Small_MINE_mag";
ace_explosives_Explosive = "LIB_Ladung_Small_ammo_Scripted";
Expand Down Expand Up @@ -926,7 +946,6 @@ class CfgAmmo {
triggerWhenDestroyed = 1;
};

class LIB_MAIN_mine;
class LIB_TMI42_ammo: LIB_MAIN_mine {
ace_explodeOnDefuse = 0.02;
ace_explosives_defuseObjectPosition[] = {0, 0, 0.07};
Expand Down
54 changes: 38 additions & 16 deletions addons/main/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,16 +197,49 @@ class CfgVehicles {
ace_dragging_dragDirection = 0;
};

//Backpacks

class B_LIB_AssaultPack_Base;
class B_LIB_US_Backpack_RocketBag;
class B_LIB_GER_Backpack;

class B_LIB_GER_SapperBackpack_empty: B_LIB_GER_Backpack {
ace_trenches_entrenchingTool = 1;
};
class B_LIB_US_Backpack: B_LIB_AssaultPack_Base {
ace_trenches_entrenchingTool = 1;
};
class B_LIB_US_Backpack_Bandoleer: B_LIB_US_Backpack {
ace_trenches_entrenchingTool = 1;
};
class B_LIB_US_Backpack_dday: B_LIB_US_Backpack {
ace_trenches_entrenchingTool = 1;
};
class B_LIB_US_Backpack_Mk2: B_LIB_US_Backpack {
ace_trenches_entrenchingTool = 1;
};
class B_LIB_US_Backpack_RocketBag_Empty: B_LIB_US_Backpack_RocketBag {
ace_trenches_entrenchingTool = 1;
};

class B_LIB_GER_LW_Paradrop: B_LIB_AssaultPack_Base {
ace_hasReserveParachute = 1;
ace_reserveParachute = "ACE_ReserveParachute";
ace_reserveParachute = "ACE_NonSteerableParachute";
};

class B_LIB_US_Type5: B_LIB_AssaultPack_Base {
ace_hasReserveParachute = 1;
ace_reserveParachute = "ACE_NonSteerableParachute";
};

class B_LIB_US_TypeA3: B_LIB_AssaultPack_Base {
ace_hasReserveParachute = 1;
ace_reserveParachute = "ACE_NonSteerableParachute";
};

class B_LIB_SOV_RA_Paradrop: B_LIB_AssaultPack_Base {
ace_hasReserveParachute = 1;
ace_reserveParachute = "ACE_ReserveParachute";
ace_reserveParachute = "ACE_NonSteerableParachute";
};
class Thing;
class LIB_ParachuteLanded_base: Thing
Expand All @@ -215,6 +248,8 @@ class CfgVehicles {
ace_reserveParachute = "";
};


// Planes
class LIB_Plane_base;
class LIB_SU_Plane_base: LIB_Plane_base {};
class LIB_GER_Plane_base: LIB_Plane_base {};
Expand Down Expand Up @@ -407,7 +442,7 @@ class CfgVehicles {
class LIB_M5A1_Stuart: LIB_M3A3_Stuart {};

class LIB_M4A3_76: LIB_M4A3_75 {
ace_repair_hitpointPositions[] = { {"HitHull", [0,2.4,-0.2]},{"HitEngine", [0,-2.4,0.15]},{"HitFuel", [0,-1.8,0.15]},{"HitLTrack", [-1.1,0,-0.6]},{"HitRTrack", [1.1,0,-0.6]} };
ace_repair_hitpointPositions[] = { {"HitHull", {0,2.4,-0.2}},{"HitEngine", {0,-2.4,0.15}},{"HitFuel", {0,-1.8,0.15}},{"HitLTrack", {-1.1,0,-0.6}},{"HitRTrack", {1.1,0,-0.6}} };
ace_cookoff_cookoffSelections[] = { "hatchFire_commander" };
ace_cookoff_turret[] = {"",{0,-1,0}};
};
Expand Down Expand Up @@ -577,19 +612,6 @@ class CfgVehicles {

class Wheeled_Apc_F;
class LIB_ArmouredCar_base: Wheeled_Apc_F {};
class LIB_SdKfz222_base: LIB_ArmouredCar_base {
ace_refuel_fuelCapacity = 100;
};

class LIB_SdKfz234_base: LIB_ArmouredCar_base {
ace_refuel_fuelCapacity = 240;
};

class LIB_SdKfz234_2: LIB_Sdkfz234_base {
ace_cookoff_ammoLocation = "HitHull";
ace_cookoff_cookoffSelections[] = { "ace_cookoff_pos" };
ace_cookoff_turret[] = {"LIB_SdKfz234_2_Destruct_Tower",{0,-1,0}};
};

// I44
class LIB_M8_Greyhound_base: LIB_ArmouredCar_base {
Expand Down
8 changes: 0 additions & 8 deletions addons/main/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ if (isClass(configfile >> "CfgPatches" >> "ace_cookoff")) then {
}] call CBA_fnc_addEventHandler;
};

// blow off turret effect
["LIB_SdKfz234_2", "killed", {
if ((_this select 0) getVariable ["ace_cookoff_enable",ace_cookoff_enable]) then {
if (random 1 < 0.15) then {
(_this select 0) call ace_cookoff_fnc_blowOffTurret;
};
};
}] call CBA_fnc_addClassEventHandler;
};

["ace_throwableThrown", {
Expand Down
2 changes: 1 addition & 1 deletion addons/main/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class CfgPatches {
"ace_main","ace_interaction","ace_repair","ace_refuel","ace_frag" // TODO: add more ace addons that are required
};
author = CSTRING(Team);
authors[] = { "bux", "El Tyranos" };
authors[] = { "bux", "El Tyranos", "Coldfront15" };
authorUrl = CSTRING(Url);
url = CSTRING(Url);
VERSION_CONFIG;
Expand Down
62 changes: 52 additions & 10 deletions addons/medical/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,52 @@
class CfgVehicles {

//units
class O_Soldier_base_F;
class LIB_SOV_Soldier_base: O_Soldier_base_F {
class HitPoints {
ADD_ACE_HITPOINTS(1,1);
};
};
};
class CfgVehicles
{
class O_Soldier_base_F;
class LIB_SOV_Soldier_base: O_Soldier_base_F
{
class HitPoints
{
class HitLeftArm
{
armor = 1;
material = -1;
name = "hand_l";
passThrough = 1;
radius = 0.08;
explosionShielding = 1;
visual = "injury_hands";
minimalHit = 0.01;
};
class HitRightArm: HitLeftArm
{
name = "hand_r";
};
class HitLeftLeg
{
armor = 1;
material = -1;
name = "leg_l";
passThrough = 1;
radius = 0.1;
explosionShielding = 1;
visual = "injury_legs";
minimalHit = 0.01;
};
class HitRightLeg: HitLeftLeg
{
name = "leg_r";
};
class ACE_HDBracket
{
armor = 1;
material = -1;
name = "head";
passThrough = 0;
radius = 1;
explosionShielding = 1;
visual = "";
minimalHit = 0;
depends = "HitHead";
};
};
};
};
4 changes: 1 addition & 3 deletions addons/mortar/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
z\ifa3_comp_ace\addons\mortar

version = 2daa8d03
z\ifa3_comp_ace\addons\mortar
2 changes: 1 addition & 1 deletion addons/mortar/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class CfgWeapons
type = "mount"; // What type of carry it is. Must always be "mount" for the tripod
deployTime = 4; // How long it takes to deploy the tripod
pickupTime = 4; // How long it takes to pickup the tripod
deploy = "ACE_LIB_GrWr34_Tripod_Deployed"; // what vehicle will spawn when the tripod is deployed
deploy = "ACE_LIB_BM37_Tripod_Deployed"; // what vehicle will spawn when the tripod is deployed
};
};
class LIB_BM37_Barrel: LIB_Slung_Static_Weapon_Base {
Expand Down
Loading

0 comments on commit 2d8982a

Please sign in to comment.