Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Rifles/Kriss.hpp
2020-02-26 14:53:48 +01:00

196 lines
4.2 KiB
C++

class Kriss_DZ: MP5_DZ
{
displayName = $STR_DZ_WPN_KRISS_NAME;
descriptionShort = $STR_DZ_WPN_KRISS_DESC;
model = "\RH_smg\RH_kriss.p3d";
picture = "\RH_smg\inv\kriss.paa";
magazines[] = {"33Rnd_45ACP_KRISS"};
handAnim[] = {"OFP2_ManSkeleton","\RH_smg\Anim\NORRN_RH_Kris1.rtm"};
reloadMagazineSound[] = {"\RH_smg\Sound\kriss_reload.wss",0.056234,1,25};
modes[] = {"Single","FullAuto"};
class Single: Mode_SemiAuto
{
begin1[] = {"\RH_smg\sound\kriss.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
};
delete Burst;
class FullAuto: Mode_FullAuto
{
begin1[] = {"\RH_smg\sound\kriss.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
};
class FlashLight
{
color[] = {0.9,0.9,0.7,0.9};
ambient[] = {0.1,0.1,0.1,1.0};
position = "flash dir";
direction = "flash";
angle = 30;
scale[] = {1,1,0.5};
brightness = 0.1;
};
class Attachments
{
Attachment_CCO = "Kriss_CCO_DZ";
Attachment_Holo = "Kriss_Holo_DZ";
Attachment_Sup45 = "Kriss_SD_DZ";
};
};
class Kriss_CCO_DZ: Kriss_DZ
{
displayname = $STR_DZ_WPN_KRISS_CCO_NAME;
model = "\RH_smg\RH_krissaim.p3d";
picture = "\RH_smg\inv\krissaim.paa";
opticsDisablePeripherialVision = 1;
distanceZoomMin = 100;
distanceZoomMax = 100;
class Attachments
{
Attachment_Sup45 = "Kriss_CCO_SD_DZ";
};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'Kriss_DZ'] call player_removeAttachment";
};
};
};
class Kriss_Holo_DZ: Kriss_DZ
{
displayname = $STR_DZ_WPN_KRISS_HOLO_NAME;
model = "\RH_smg\RH_krisseot.p3d";
picture = "\RH_smg\inv\krisseot.paa";
opticsDisablePeripherialVision = 1;
distanceZoomMin = 100;
distanceZoomMax = 100;
class Attachments
{
Attachment_Sup45 = "Kriss_Holo_SD_DZ";
};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'Kriss_DZ'] call player_removeAttachment";
};
};
};
class Kriss_SD_DZ: MP5_SD_DZ
{
displayName = $STR_DZ_WPN_KRISS_SD_NAME;
descriptionShort = $STR_DZ_WPN_KRISS_SD_DESC;
model = "\RH_smg\RH_krisssd.p3d";
picture = "\RH_smg\inv\krisssd.paa";
handAnim[] = {"OFP2_ManSkeleton","\RH_smg\Anim\NORRN_RH_Kris.rtm"};
magazines[] = {"33Rnd_45ACP_KRISSSD"};
fireLightDuration = 0.0;
fireLightIntensity = 0.0;
modes[] = {"Single","FullAuto"};
class Single: Mode_SemiAuto
{
begin1[] = {"\RH_smg\sound\umpsd.wss",1.778279,1,50};
soundBegin[] = {"begin1",1};
};
delete Burst;
class FullAuto: Mode_FullAuto
{
begin1[] = {"\RH_smg\sound\umpsd.wss",1.778279,1,50};
soundBegin[] = {"begin1",1};
};
class FlashLight
{
color[] = {0.9,0.9,0.7,0.9};
ambient[] = {0.1,0.1,0.1,1.0};
position = "flash dir";
direction = "flash";
angle = 30;
scale[] = {1,1,0.5};
brightness = 0.1;
};
class Attachments
{
Attachment_CCO = "Kriss_CCO_SD_DZ";
Attachment_Holo = "Kriss_Holo_SD_DZ";
};
class ItemActions
{
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup45',_id,'Kriss_DZ'] call player_removeAttachment";
};
};
};
class Kriss_CCO_SD_DZ: Kriss_SD_DZ
{
displayname = $STR_DZ_WPN_KRISS_CCO_SD_NAME;
model = "\RH_smg\RH_krisssdaim.p3d";
picture = "\RH_smg\inv\krisssdaim.paa";
opticsDisablePeripherialVision = 1;
distanceZoomMin = 100;
distanceZoomMax = 100;
class Attachments {};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'Kriss_SD_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup45',_id,'Kriss_CCO_DZ'] call player_removeAttachment";
};
};
};
class Kriss_Holo_SD_DZ: Kriss_SD_DZ
{
displayname = $STR_DZ_WPN_KRISS_HOLO_SD_NAME;
model = "\RH_smg\RH_krisssdeot.p3d";
picture = "\RH_smg\inv\krisssdeot.paa";
opticsDisablePeripherialVision = 1;
distanceZoomMin = 100;
distanceZoomMax = 100;
class Attachments {};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'Kriss_SD_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup45',_id,'Kriss_Holo_DZ'] call player_removeAttachment";
};
};
};