ACE3/addons/protection/FixHelmets.hpp

231 lines
3.6 KiB
C++
Raw Normal View History

// INTEGER
#define HELMET_ARMOR_NO_PROTECTION 0
// FLOAT, 0-1
#define HELMET_PASSTHROUGH_NO_PROTECTION 1
/*class InventoryItem_Base_F;
class HeadgearItem: InventoryItem_Base_F {
armor = 0;
passThrough = 1;
};
class H_HelmetB: ItemCore {
class ItemInfo: HeadgearItem {
//mass = 40;
armor = 4;
passThrough = 0.5;
};
};
class H_HelmetB_camo: H_HelmetB {
class ItemInfo: HeadgearItem {
//mass = 40;
armor = 4;
passThrough = 0.5;
};
};
class H_HelmetB_light: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 30;
armor = 3;
passThrough = 0.5;
};
};
class H_Booniehat_khk: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 10;
armor = 0;
passThrough = 1;
};
};
class H_HelmetB_plain_mcamo: H_HelmetB {};
class H_HelmetSpecB: H_HelmetB_plain_mcamo {
class ItemInfo: ItemInfo {
//mass = 50;
armor = 5;
passThrough = 0.5;
};
};
class H_HelmetIA: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 40;
armor = 4;
passThrough = 0.5;
};
};
class H_Cap_red: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 4;
armor = 0;
passThrough = 1;
};
};
class H_Cap_headphones: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 8;
armor = 0;
passThrough = 1;
};
};
class H_HelmetCrew_B: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 40;
armor = 4;
passThrough = 0.5;
};
};
class H_PilotHelmetFighter_B: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 50;
armor = 5;
passThrough = 0.5;
};
};
class H_PilotHelmetHeli_B: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 30;
armor = 3;
passThrough = 0.5;
};
};
class H_CrewHelmetHeli_B: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 30;
armor = 3;
passThrough = 0.5;
};
};
class H_HelmetO_ocamo: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 50;
armor = 5;
passThrough = 0.5;
};
};
class H_HelmetLeaderO_ocamo: H_HelmetO_ocamo {
class ItemInfo: ItemInfo {
//mass = 60;
armor = 6;
passThrough = 0.5;
};
};
class H_MilCap_ocamo: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 6;
armor = 0;
passThrough = 1;
};
};
class H_BandMask_blk: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 8;
armor = 0;
passThrough = 1;
};
};
class H_HelmetSpecO_ocamo: H_HelmetO_ocamo {
class ItemInfo: ItemInfo {
//mass = 40;
armor = 4;
passThrough = 0.5;
};
};
class H_Bandanna_surfer: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 8;
armor = 0;
passThrough = 1;
};
};
class H_Shemag_khk: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 6;
armor = 0;
passThrough = 1;
};
};
class H_ShemagOpen_khk: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 6;
armor = 0;
passThrough = 1;
};
};
class H_Beret_blk: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 6;
armor = 0;
passThrough = 1;
};
};
class H_Beret_02: H_Beret_blk {
class ItemInfo: ItemInfo {
//mass = 6;
armor = 0;
passThrough = 1;
};
};
class H_Watchcap_blk: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 6;
armor = 0;
passThrough = 1;
};
};
class H_TurbanO_blk: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 8;
armor = 0;
passThrough = 1;
};
};
class H_StrawHat: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 6;
armor = 0;
passThrough = 1;
};
};
class H_Hat_blue: H_HelmetB {
class ItemInfo: ItemInfo {
//mass = 6;
armor = 0;
passThrough = 1;
};
};
class H_RacingHelmet_1_F: H_HelmetB_camo {
class ItemInfo: ItemInfo {
//mass = 50;
armor = 5;
passThrough = 0.5;
};
};*/