mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add Famas
Thx @SyNcRoNiCzZ
This commit is contained in:
@@ -43,6 +43,7 @@ Included Custom Addons
|
|||||||
* Contractor Mi-17 Pack by lennard91 - http://www.armaholic.com/page.php?id=18498
|
* Contractor Mi-17 Pack by lennard91 - http://www.armaholic.com/page.php?id=18498
|
||||||
* "Heckler & Koch" MP7 by SyNcRoNiCzZ - http://www.armaholic.com/page.php?id=8379
|
* "Heckler & Koch" MP7 by SyNcRoNiCzZ - http://www.armaholic.com/page.php?id=8379
|
||||||
* P99 Projekt by SyNcRoNiCzZ - http://www.armaholic.com/page.php?id=9985
|
* P99 Projekt by SyNcRoNiCzZ - http://www.armaholic.com/page.php?id=9985
|
||||||
|
* FAMAS Pack by SyNcRoNiCzZ - http://www.armaholic.com/page.php?id=8867
|
||||||
|
|
||||||
--------------------------
|
--------------------------
|
||||||
Included Custom Islands
|
Included Custom Islands
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ weaponsEU[] =
|
|||||||
{Loot_WEAPON, 5, m8_holo_sd},
|
{Loot_WEAPON, 5, m8_holo_sd},
|
||||||
{Loot_WEAPON, 5, m8_carbine},
|
{Loot_WEAPON, 5, m8_carbine},
|
||||||
{Loot_WEAPON, 5, L85A2_DZ},
|
{Loot_WEAPON, 5, L85A2_DZ},
|
||||||
|
{Loot_WEAPON, 5, Famas_DZ},
|
||||||
{Loot_WEAPON, 5, SCAR_L_CQC_CCO_SD},
|
{Loot_WEAPON, 5, SCAR_L_CQC_CCO_SD},
|
||||||
{Loot_WEAPON, 5, SCAR_L_CQC},
|
{Loot_WEAPON, 5, SCAR_L_CQC},
|
||||||
{Loot_WEAPON, 5, SCAR_L_CQC_Holo},
|
{Loot_WEAPON, 5, SCAR_L_CQC_Holo},
|
||||||
|
|||||||
@@ -129,6 +129,12 @@ class Category_16 {
|
|||||||
class CZ805_A1_GL_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
|
class CZ805_A1_GL_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
|
||||||
class CZ805_A2_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
class CZ805_A2_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||||
class CZ805_A2_SD_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
class CZ805_A2_SD_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||||
|
class Famas_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||||
|
class Famas_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||||
|
class Famas_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||||
|
class Famas_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
|
||||||
|
class Famas_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||||
|
class Famas_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||||
class G36C_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
class G36C_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||||
class G36C_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
class G36C_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||||
class G36C_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
class G36C_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||||
|
|||||||
@@ -77,10 +77,13 @@ class CfgWeapons
|
|||||||
class M4A1;
|
class M4A1;
|
||||||
class M4A1_AIM_SD_camo;
|
class M4A1_AIM_SD_camo;
|
||||||
#include "Rifles\M4A1.hpp"
|
#include "Rifles\M4A1.hpp"
|
||||||
|
//Famas
|
||||||
|
#include "Rifles\Famas.hpp"
|
||||||
|
|
||||||
class M14_EP1;
|
class M14_EP1;
|
||||||
#include "Rifles\M14.hpp"
|
#include "Rifles\M14.hpp"
|
||||||
|
|
||||||
|
//CZ 805
|
||||||
#include "Rifles\CZ805.hpp"
|
#include "Rifles\CZ805.hpp"
|
||||||
|
|
||||||
class M24 : Rifle
|
class M24 : Rifle
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ class CZ805_A2_DZ: CZ805_A2_ACR {
|
|||||||
class CZ805_A2_SD_ACR;
|
class CZ805_A2_SD_ACR;
|
||||||
class CZ805_A2_SD_DZ: CZ805_A2_SD_ACR {
|
class CZ805_A2_SD_DZ: CZ805_A2_SD_ACR {
|
||||||
displayName = $STR_DZ_WPN_CZ_805A2_SD_NAME;
|
displayName = $STR_DZ_WPN_CZ_805A2_SD_NAME;
|
||||||
descriptionShort = $STR_DZ_WPN_CZ_805A_DESC;
|
descriptionShort = $STR_DZ_WPN_CZ_805A_SD_DESC;
|
||||||
};
|
};
|
||||||
|
|
||||||
class CZ805_B_GL_ACR;
|
class CZ805_B_GL_ACR;
|
||||||
|
|||||||
180
SQF/dayz_code/Configs/CfgWeapons/Rifles/Famas.hpp
Normal file
180
SQF/dayz_code/Configs/CfgWeapons/Rifles/Famas.hpp
Normal file
@@ -0,0 +1,180 @@
|
|||||||
|
class Famas_DZ: M4A1
|
||||||
|
{
|
||||||
|
displayName = $STR_DZ_WPN_FAMAS_NAME;
|
||||||
|
model = "\C1987_Famas\Famas_f1.p3d";
|
||||||
|
picture = "\C1987_Famas\equip\famas_f1.paa";
|
||||||
|
handAnim[] = {"OFP2_ManSkeleton","\CA\weapons\Data\Anim\Bizon.rtm"};
|
||||||
|
reloadMagazineSound[] = {"\C1987_Famas\sound\Famas_Reload.wss",0.056234,1,20};
|
||||||
|
modes[] = {"Single","Fullauto"};
|
||||||
|
class Single: Mode_SemiAuto
|
||||||
|
{
|
||||||
|
sound[] = {"\C1987_famas\sound\Famas.wss",1.778279,1,1000};
|
||||||
|
recoil = "recoil_single_primary_3outof10";
|
||||||
|
recoilProne = "recoil_single_primary_prone_3outof10";
|
||||||
|
};
|
||||||
|
class FullAuto: Mode_FullAuto
|
||||||
|
{
|
||||||
|
sound[] = {"\C1987_famas\sound\Famas.wss",1.778279,1,1000};
|
||||||
|
recoil = "recoil_single_primary_3outof10";
|
||||||
|
recoilProne = "recoil_single_primary_prone_3outof10";
|
||||||
|
};
|
||||||
|
descriptionShort = $STR_DZ_WPN_CZ_805A_DESC;
|
||||||
|
|
||||||
|
magazines[] =
|
||||||
|
{
|
||||||
|
30Rnd_556x45_Stanag,
|
||||||
|
30Rnd_556x45_StanagSD,//Allow both SD and non-SD
|
||||||
|
30Rnd_556x45_G36,
|
||||||
|
30Rnd_556x45_G36SD,
|
||||||
|
100Rnd_556x45_BetaCMag,
|
||||||
|
20Rnd_556x45_Stanag,
|
||||||
|
60Rnd_556x45_Stanag_tape_ice_DZE
|
||||||
|
};
|
||||||
|
|
||||||
|
class Attachments
|
||||||
|
{
|
||||||
|
Attachment_CCO = "Famas_CCO_DZ";
|
||||||
|
Attachment_Holo = "Famas_Holo_DZ";
|
||||||
|
Attachment_Sup556 = "Famas_SD_DZ";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
class Famas_CCO_DZ: Famas_DZ
|
||||||
|
{
|
||||||
|
displayName = $STR_DZ_WPN_FAMAS_COO_NAME;
|
||||||
|
model = "\C1987_Famas\Famas_f1_aim.p3d";
|
||||||
|
picture = "\C1987_Famas\equip\famas_f1_aim.paa";
|
||||||
|
|
||||||
|
class Attachments
|
||||||
|
{
|
||||||
|
Attachment_Sup556 = "Famas_CCO_SD_DZ";
|
||||||
|
};
|
||||||
|
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class RemoveCCO
|
||||||
|
{
|
||||||
|
text = $STR_DZ_ATT_CCO_RMVE;
|
||||||
|
script = "; ['Attachment_CCO',_id,'Famas_DZ'] call player_removeAttachment";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
class Famas_Holo_DZ: Famas_DZ
|
||||||
|
{
|
||||||
|
displayName = $STR_DZ_WPN_FAMAS_HOLO_NAME;
|
||||||
|
model = "\C1987_Famas\Famas_f1_eot.p3d";
|
||||||
|
picture = "\C1987_Famas\equip\famas_f1_eot.paa";
|
||||||
|
|
||||||
|
class Attachments
|
||||||
|
{
|
||||||
|
Attachment_Sup556 = "Famas_Holo_SD_DZ";
|
||||||
|
};
|
||||||
|
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class RemoveHolo
|
||||||
|
{
|
||||||
|
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||||
|
script = "; ['Attachment_Holo',_id,'Famas_DZ'] call player_removeAttachment";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
class Famas_SD_DZ: M4A1_AIM_SD_camo
|
||||||
|
{
|
||||||
|
displayName = $STR_DZ_WPN_FAMAS_SD_NAME;
|
||||||
|
model = "\C1987_Famas\Famas_f1_sd.p3d";
|
||||||
|
picture = "\C1987_Famas\equip\famas_f1_sd.paa";
|
||||||
|
handAnim[] = {"OFP2_ManSkeleton","\CA\weapons\Data\Anim\Bizon.rtm"};
|
||||||
|
reloadMagazineSound[] = {"\C1987_Famas\sound\Famas_Reload.wss",0.056234,1,20};
|
||||||
|
fireLightDuration = 0.0;
|
||||||
|
fireLightIntensity = 0.0;
|
||||||
|
modes[] = {"Single","Fullauto"};
|
||||||
|
class Single: Mode_SemiAuto
|
||||||
|
{
|
||||||
|
sound[] = {"\C1987_famas\sound\Famas_sd.wss",1.0,1,300};
|
||||||
|
recoil = "recoil_single_primary_3outof10";
|
||||||
|
recoilProne = "recoil_single_primary_prone_3outof10";
|
||||||
|
};
|
||||||
|
class FullAuto: Mode_FullAuto
|
||||||
|
{
|
||||||
|
sound[] = {"\C1987_famas\sound\Famas_sd.wss",1.0,1,300};
|
||||||
|
recoil = "recoil_single_primary_3outof10";
|
||||||
|
recoilProne = "recoil_single_primary_prone_3outof10";
|
||||||
|
};
|
||||||
|
descriptionShort = $STR_DZ_WPN_CZ_805A_SD_DESC;
|
||||||
|
|
||||||
|
magazines[] =
|
||||||
|
{
|
||||||
|
30Rnd_556x45_StanagSD,
|
||||||
|
30Rnd_556x45_Stanag,//Allow both SD and non-SD
|
||||||
|
30Rnd_556x45_G36SD,
|
||||||
|
30Rnd_556x45_G36,
|
||||||
|
100Rnd_556x45_BetaCMag,
|
||||||
|
20Rnd_556x45_Stanag,
|
||||||
|
60Rnd_556x45_Stanag_tape_ice_DZE
|
||||||
|
};
|
||||||
|
|
||||||
|
class Attachments
|
||||||
|
{
|
||||||
|
Attachment_CCO = "Famas_CCO_SD_DZ";
|
||||||
|
Attachment_Holo = "Famas_Holo_SD_DZ";
|
||||||
|
};
|
||||||
|
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class RemoveSuppressor
|
||||||
|
{
|
||||||
|
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||||
|
script = "; ['Attachment_Sup556',_id,'Famas_DZ'] call player_removeAttachment";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
class Famas_CCO_SD_DZ: Famas_SD_DZ
|
||||||
|
{
|
||||||
|
displayName = $STR_DZ_WPN_FAMAS_COO_SD_NAME;
|
||||||
|
model = "\C1987_Famas\Famas_f1_aim_sd.p3d";
|
||||||
|
picture = "\C1987_Famas\equip\famas_f1_aim_sd.paa";
|
||||||
|
|
||||||
|
class Attachments {};
|
||||||
|
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class RemoveCCO
|
||||||
|
{
|
||||||
|
text = $STR_DZ_ATT_CCO_RMVE;
|
||||||
|
script = "; ['Attachment_CCO',_id,'Famas_SD_DZ'] call player_removeAttachment";
|
||||||
|
};
|
||||||
|
class RemoveSuppressor
|
||||||
|
{
|
||||||
|
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||||
|
script = "; ['Attachment_Sup556',_id,'Famas_CCO_DZ'] call player_removeAttachment";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
class Famas_Holo_SD_DZ: Famas_SD_DZ
|
||||||
|
{
|
||||||
|
displayName = $STR_DZ_WPN_FAMAS_HOLO_SD_NAME;
|
||||||
|
model = "\C1987_Famas\Famas_f1_eot_sd.p3d";
|
||||||
|
picture = "\C1987_Famas\equip\famas_f1_eot_sd.paa";
|
||||||
|
|
||||||
|
class Attachments {};
|
||||||
|
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class RemoveHolo
|
||||||
|
{
|
||||||
|
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||||
|
script = "; ['Attachment_Holo',_id,'Famas_SD_DZ'] call player_removeAttachment";
|
||||||
|
};
|
||||||
|
class RemoveSuppressor
|
||||||
|
{
|
||||||
|
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||||
|
script = "; ['Attachment_Sup556',_id,'Famas_Holo_DZ'] call player_removeAttachment";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
@@ -11611,11 +11611,16 @@
|
|||||||
<English>Assault Rifle <br/>Caliber: 5.56x45mm</English>
|
<English>Assault Rifle <br/>Caliber: 5.56x45mm</English>
|
||||||
<German>Sturmgewehr <br/>Kaliber: 5.56x45mm</German>
|
<German>Sturmgewehr <br/>Kaliber: 5.56x45mm</German>
|
||||||
</Key>
|
</Key>
|
||||||
|
<Key ID="STR_DZ_WPN_CZ_805A_SD_DESC">
|
||||||
|
<English>Silenced Assault Rifle <br/>Caliber: 5.56x45mm</English>
|
||||||
|
<German>Schallgedämpftes Sturmgewehr <br/>Kaliber: 5.56x45mm</German>
|
||||||
|
</Key>
|
||||||
<Key ID="STR_DZ_WPN_CZ_805B_DESC">
|
<Key ID="STR_DZ_WPN_CZ_805B_DESC">
|
||||||
<English>Assault Rifle <br/>Caliber: 7.62x51mm</English>
|
<English>Assault Rifle <br/>Caliber: 7.62x51mm</English>
|
||||||
<German>Sturmgewehr <br/>Kaliber: 7.62x51mm</German>
|
<German>Sturmgewehr <br/>Kaliber: 7.62x51mm</German>
|
||||||
</Key>
|
</Key>
|
||||||
|
|
||||||
|
<!-- Rusty Weapons -->
|
||||||
<Key ID="STR_DZE_WPN_M16RUSTY_NAME">
|
<Key ID="STR_DZE_WPN_M16RUSTY_NAME">
|
||||||
<English>M16A2 (Rusty)</English>
|
<English>M16A2 (Rusty)</English>
|
||||||
<German>M16A2 (Rostig)</German>
|
<German>M16A2 (Rostig)</German>
|
||||||
@@ -11787,15 +11792,12 @@
|
|||||||
<Hungarian>Hangtompítós géppisztoly <br/> Kaliber: 4.6x30mm</Hungarian>
|
<Hungarian>Hangtompítós géppisztoly <br/> Kaliber: 4.6x30mm</Hungarian>
|
||||||
</Key>
|
</Key>
|
||||||
|
|
||||||
<!-- P99 -->
|
<!-- P99 -->
|
||||||
|
|
||||||
<Key ID="STR_DZ_WPN_P99_NAME">
|
<Key ID="STR_DZ_WPN_P99_NAME">
|
||||||
<English>P99</English>
|
<English>P99</English>
|
||||||
<German>P99</German>
|
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_DZ_WPN_P99SD_NAME">
|
<Key ID="STR_DZ_WPN_P99SD_NAME">
|
||||||
<English>P99 SD</English>
|
<English>P99 SD</English>
|
||||||
<German>P99 SD</German>
|
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_DZ_WPN_P99_DESC">
|
<Key ID="STR_DZ_WPN_P99_DESC">
|
||||||
<English>Semi-automatic Pistol <br/>Caliber: 10x22mm</English>
|
<English>Semi-automatic Pistol <br/>Caliber: 10x22mm</English>
|
||||||
@@ -11804,7 +11806,28 @@
|
|||||||
<Key ID="STR_DZ_WPN_P99SD_DESC">
|
<Key ID="STR_DZ_WPN_P99SD_DESC">
|
||||||
<English>Silenced Semi-automatic Pistol <br/>Caliber: 10x22mm SD</English>
|
<English>Silenced Semi-automatic Pistol <br/>Caliber: 10x22mm SD</English>
|
||||||
<German>Schallgedämpfte halbautomatische Pistole <br/>Kaliber: 10x22mm SD</German>
|
<German>Schallgedämpfte halbautomatische Pistole <br/>Kaliber: 10x22mm SD</German>
|
||||||
|
</Key>
|
||||||
|
|
||||||
|
<!-- Famas -->
|
||||||
|
<Key ID="STR_DZ_WPN_FAMAS_NAME">
|
||||||
|
<English>Famas</English>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_DZ_WPN_FAMAS_COO_NAME">
|
||||||
|
<English>Famas CCO</English>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_DZ_WPN_FAMAS_HOLO_NAME">
|
||||||
|
<English>Famas Holo</English>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_DZ_WPN_FAMAS_SD_NAME">
|
||||||
|
<English>Famas SD</English>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_DZ_WPN_FAMAS_COO_SD_NAME">
|
||||||
|
<English>Famas CCO SD</English>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_DZ_WPN_FAMAS_HOLO_SD_NAME">
|
||||||
|
<English>Famas Holo SD</English>
|
||||||
</Key>
|
</Key>
|
||||||
|
|
||||||
<!-- **** MAGAZINES **** -->
|
<!-- **** MAGAZINES **** -->
|
||||||
|
|
||||||
<Key ID="STR_DZ_MAG_17RND_9X19_GLOCK17SD_NAME">
|
<Key ID="STR_DZ_MAG_17RND_9X19_GLOCK17SD_NAME">
|
||||||
|
|||||||
Reference in New Issue
Block a user