Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Pistols/CZ75.hpp
A Man 6f4b1706e3 Change used ammo for weapons
This commitment changes the type of ammo that can be used in silenced and non-silenced weapons. SD and non-SD ammo can currently be used in all weapon variations. We know this is possible and normal in real life, but arma weapons and ammo work in an unrealistic way. In the current state a SD weapon is almost no longer necessary since all normal weapons can be used with SD ammo to avoid triggering zombies or AIs. This is the same way that regular ammo in SD weapons works. This triggers AI's and zombies but not players. With this commitment we restore the actual and intended purpose of silenced weapons. SD ammo and SD weapons will have more relevance after this change. All silenced weapons can now only be used with SD ammo, and all non-silenced weapons can only be used with regular (non-SD) ammo.
2020-02-20 16:06:01 +01:00

41 lines
1011 B
C++

class CZ_75_P_07_DUTY;
class CZ75P_DZ: CZ_75_P_07_DUTY {
displayName = $STR_DZ_WPN_CZ75P_NAME;
descriptionShort = $STR_DZ_WPN_CZ75_DESC;
magazines[] = {"18Rnd_9x19_Phantom"};
};
class CZ_75_D_COMPACT;
class CZ75D_DZ: CZ_75_D_COMPACT {
displayName = $STR_DZ_WPN_CZ75D_NAME;
descriptionShort = $STR_DZ_WPN_CZ75_DESC;
magazines[] = {"18Rnd_9x19_Phantom"};
};
class CZ_75_SP_01_PHANTOM;
class CZ75SP_DZ: CZ_75_SP_01_PHANTOM {
displayName = $STR_DZ_WPN_CZ75SP_NAME;
descriptionShort = $STR_DZ_WPN_CZ75_DESC;
magazines[] = {"18Rnd_9x19_Phantom"};
class Attachments
{
Attachment_Sup9 = "CZ75SP_SD_DZ";
};
};
class CZ_75_SP_01_PHANTOM_SD;
class CZ75SP_SD_DZ: CZ_75_SP_01_PHANTOM_SD {
displayName = $STR_DZ_WPN_CZ75SP_SD_NAME;
descriptionShort = $STR_DZ_WPN_CZ75_DESC;
magazines[] = {"18Rnd_9x19_PhantomSD"};
class ItemActions
{
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup9',_id,'CZ75SP_DZ'] call player_removeAttachment";
};
};
};