Update FN Fal

This commit is contained in:
A Man
2020-02-25 23:50:53 +01:00
parent 559fe496dd
commit de07200b4e
5 changed files with 23 additions and 6 deletions

View File

@@ -43,6 +43,7 @@ AttachmentsEU[] =
{Loot_MAGAZINE, 1, Attachment_CCO}, {Loot_MAGAZINE, 1, Attachment_CCO},
{Loot_MAGAZINE, 1, Attachment_Holo}, {Loot_MAGAZINE, 1, Attachment_Holo},
{Loot_MAGAZINE, 1, Attachment_ACOG}, {Loot_MAGAZINE, 1, Attachment_ACOG},
{Loot_MAGAZINE, 1, Attachment_ANPVS4},
{Loot_MAGAZINE, 1, Attachment_Sup556}, {Loot_MAGAZINE, 1, Attachment_Sup556},
{Loot_MAGAZINE, 1, Attachment_Sup9}, {Loot_MAGAZINE, 1, Attachment_Sup9},
{Loot_MAGAZINE, 1, Attachment_Sup10}, {Loot_MAGAZINE, 1, Attachment_Sup10},

View File

@@ -119,7 +119,7 @@ weaponsEU[] =
{Loot_WEAPON, 4, SCAR_H_LNG_Sniper}, {Loot_WEAPON, 4, SCAR_H_LNG_Sniper},
{Loot_WEAPON, 1, RSASS_DZ}, {Loot_WEAPON, 1, RSASS_DZ},
{Loot_WEAPON, 4, FNFAL_DZ}, {Loot_WEAPON, 4, FNFAL_DZ},
{Loot_WEAPON, 3, FN_FAL_ANPVS4_DZE}, //FNFAL_ANPVS4_DZ is NV only _DZE is toggleable {Loot_WEAPON, 3, FN_FAL_ANPVS4_DZE}, //FNFAL_ANPVS4_DZ is NV only _DZE is toggleable with attachment support
{Loot_WEAPON, 1, BAF_AS50_scoped_DZ}, // High value weapon, low spawn chance. {Loot_WEAPON, 1, BAF_AS50_scoped_DZ}, // High value weapon, low spawn chance.
// Submachine Guns // Submachine Guns

View File

@@ -13,6 +13,7 @@ class Category_12 {
class Attachment_Kobra {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};}; class Attachment_Kobra {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class Attachment_SCOPED {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};}; class Attachment_SCOPED {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class Attachment_ACOG {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; class Attachment_ACOG {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_ANPVS4 {type = "trade_items";buy[] = {1,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};};
class Attachment_Tws {type = "trade_items";buy[] = {-8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; class Attachment_Tws {type = "trade_items";buy[] = {-8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_PSO1 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; class Attachment_PSO1 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_NSPU {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; class Attachment_NSPU {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};

View File

@@ -15,6 +15,7 @@ class FNFAL_DZ : FN_FAL
{ {
Attachment_CCO = "FNFAL_CCO_DZ"; Attachment_CCO = "FNFAL_CCO_DZ";
Attachment_Holo = "FNFAL_Holo_DZ"; Attachment_Holo = "FNFAL_Holo_DZ";
Attachment_ANPVS4 = "FN_FAL_ANPVS4_DZE";
}; };
}; };
@@ -57,6 +58,16 @@ class FNFAL_ANPVS4_DZ : FN_FAL_ANPVS4
modes[] = {Single}; modes[] = {Single};
}; };
class FN_FAL_ANPVS4_DZE:FN_FAL_ANPVS4 { class FN_FAL_ANPVS4_DZE: FN_FAL_ANPVS4 {
visionMode[] = {"Normal", "NVG"}; visionMode[] = {"Normal", "NVG"};
modes[] = {Single};
class ItemActions
{
class RemoveANPVS
{
text = $STR_DZ_ATT_ANPVS4_RMVE;
script = "; ['Attachment_ANPVS4',_id,'FNFAL_DZ'] call player_removeAttachment";
};
};
}; };

View File

@@ -13610,9 +13610,13 @@
<German>[E] ANPVS4 Visier</German> <German>[E] ANPVS4 Visier</German>
</Key> </Key>
<Key ID="STR_DZE_ATTACHMENT_ANPVS4_DESC"> <Key ID="STR_DZE_ATTACHMENT_ANPVS4_DESC">
<English>An ANPVS4 scope.</English> <English>ANPVS4 scope</English>
<German>Zielfernrohr vom Typ ANPVS4.</German> <German>Zielfernrohr vom Typ ANPVS4.</German>
</Key> </Key>
<Key ID="STR_DZ_ATT_ANPVS4_RMVE">
<English>Remove ANPVS4 scope</English>
<German>ANPVS4 entfernen</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_GHIL_DES_NAME"> <Key ID="STR_DZE_ATTACHMENT_GHIL_DES_NAME">
<English>[A] Small camo net. (desert)</English> <English>[A] Small camo net. (desert)</English>
<German>[E] Kl. Tarnnetz (Wüstentarn)</German> <German>[E] Kl. Tarnnetz (Wüstentarn)</German>
@@ -13642,7 +13646,7 @@
<German>Zielfernrohr vom Typ NSPU.</German> <German>Zielfernrohr vom Typ NSPU.</German>
</Key> </Key>
<Key ID="STR_DZ_ATT_NSPU_RMVE"> <Key ID="STR_DZ_ATT_NSPU_RMVE">
<English>Remove NSPU</English> <English>Remove NSPU scope</English>
<German>NSPU entfernen</German> <German>NSPU entfernen</German>
</Key> </Key>
<Key ID="STR_DZE_ATTACHMENT_NV_NAME"> <Key ID="STR_DZE_ATTACHMENT_NV_NAME">
@@ -13670,8 +13674,8 @@
<German>[E] .45cal Schalldämpfer</German> <German>[E] .45cal Schalldämpfer</German>
</Key> </Key>
<Key ID="STR_DZE_ATTACHMENT_45SUP_DESC"> <Key ID="STR_DZE_ATTACHMENT_45SUP_DESC">
<English>A silencer that can be attached to .45 caliber pistols.</English> <English>A silencer that can be attached to .45 caliber weapons.</English>
<German>Ein Schalldämpfer, der an Kaliber .45 Pistolen angebracht werden kann.</German> <German>Ein Schalldämpfer, der an Kaliber .45 Waffen angebracht werden kann.</German>
</Key> </Key>
<Key ID="STR_DZE_ATTACHMENT_762SUP_NAME"> <Key ID="STR_DZE_ATTACHMENT_762SUP_NAME">
<English>[A] 7.62mm Suppressor</English> <English>[A] 7.62mm Suppressor</English>