146 lines · 2.7 KB · cpp
Raw
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
class CfgPatches
{
class RealisticSuppressors
{
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {"DZ_Data"};
};
};
class CfgMods
{
class RealisticSuppressors
{
dir = "RealisticSuppressors";
hideName = 1;
hidePicture = 1;
name = "RealisticSuppressors";
author = "Deceased";
authorID = "76561198147193612";
version = "1.0";
extra = 0;
type = "mod";
};
};
class cfgVehicles
{
class ItemSuppressor;
class M4_Suppressor: ItemSuppressor
{
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 400;
};
};
};
};
class AK_Suppressor: ItemSuppressor
{
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 400;
};
};
};
};
class PistolSuppressor: ItemSuppressor
{
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 500;
};
};
};
};
class ImprovisedSuppressor: ItemSuppressor
{
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 2;
};
};
};
};
class M4_Suppressor_Admin: M4_Suppressor
{
displayName = "Admin M4 Suppressor";
descriptionShort = "Admin suppressor with much higher durability. Doubt you'd spend enough rounds through it to even clean it.";
noiseShootModifier = -6.9;
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 4000;
};
};
};
};
class AK_Suppressor_Admin: AK_Suppressor
{
displayName = "Admin AK Suppressor";
descriptionShort = "Admin suppressor with much higher durability. Doubt you'd spend enough rounds through it to even clean it.";
noiseShootModifier = -6.9;
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 4000;
};
};
};
};
class PistolSuppressor_Admin: PistolSuppressor
{
displayName = "Admin Pistol Suppressor";
descriptionShort = "Admin suppressor with much higher durability. Doubt you'd spend enough rounds through it to even clean it.";
noiseShootModifier = -6.9;
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 5000;
};
};
};
};
class ImprovisedSuppressor_Admin: ImprovisedSuppressor
{
displayName = "Admin Improvised Suppressor";
descriptionShort = "Admin suppressor with much higher durability. Doubt you'd spend enough rounds through it to even clean it.";
noiseShootModifier = -6.9;
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints = 5000;
};
};
};
};
};