mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Update Bizon
- Replace bizon models with the models from Robert Hammer - Add kobra sight to attachment system
This commit is contained in:
@@ -91,6 +91,8 @@ class Category_14 {
|
||||
class Scorpion_Evo3_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {22,"ItemSilverBar10oz"};};
|
||||
class Bizon_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class Bizon_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
|
||||
class Bizon_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
|
||||
class Bizon_Kobra_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||
class MP7_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class MP7_FL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {5,"ItemGoldBar"};};
|
||||
class MP7_MFL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
class Bizon_DZ : bizon
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\bizon\bizon.p3d";
|
||||
model = "\rh_aks\RH_bizon.p3d";
|
||||
picture = "\rh_aks\inv\bizon.paa";
|
||||
displayName = $STR_DZ_WPN_BIZON_NAME;
|
||||
|
||||
magazines[] =
|
||||
@@ -14,14 +15,34 @@ class Bizon_DZ : bizon
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "Bizon_Kobra_DZ";
|
||||
Attachment_SupBizon = "Bizon_SD_DZ";//left to maintain old attachment suppressor
|
||||
Attachment_Sup9 = "Bizon_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class Bizon_Kobra_DZ : Bizon_DZ
|
||||
{
|
||||
model = "\RH_aks\RH_bizonk.p3d";
|
||||
picture = "\RH_aks\inv\bizonk.paa";
|
||||
displayName = $STR_DZ_WPN_BIZON_KOBRA_NAME;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'Bizon_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Bizon_SD_DZ : bizon_silenced
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\bizon\bizon_sd.p3d";
|
||||
model = "\rh_aks\RH_bizonsd.p3d";
|
||||
picture = "\rh_aks\inv\bizonsd.paa";
|
||||
displayName = $STR_DZ_WPN_BIZON_SD_NAME;
|
||||
|
||||
magazines[] =
|
||||
@@ -33,6 +54,11 @@ class Bizon_SD_DZ : bizon_silenced
|
||||
discreteDistance[] = {50,100,150};
|
||||
discreteDistanceInitIndex = 1;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "Bizon_Kobra_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
@@ -41,4 +67,28 @@ class Bizon_SD_DZ : bizon_silenced
|
||||
script = "; ['Attachment_Sup9',_id,'Bizon_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
class Bizon_Kobra_SD_DZ : Bizon_SD_DZ
|
||||
{
|
||||
model = "\RH_aks\RH_bizonsdk.p3d";
|
||||
picture = "\RH_aks\inv\bizonsdk.paa";
|
||||
displayName = $STR_DZ_WPN_BIZON_KOBRA_SD_NAME;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup9',_id,'Bizon_Kobra_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'Bizon_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -11209,6 +11209,14 @@
|
||||
<English>Bizon SD</English>
|
||||
<Russian>Бизон ПБС</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_BIZON_KOBRA_NAME">
|
||||
<English>Bizon Kobra</English>
|
||||
<Russian>Бизон Кобра</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_BIZON_KOBRA_SD_NAME">
|
||||
<English>Bizon Kobra SD</English>
|
||||
<Russian>Бизон Кобра ПБС</Russian>
|
||||
</Key>
|
||||
|
||||
<!-- M9 -->
|
||||
<Key ID="STR_DZ_WPN_M9_NAME">
|
||||
|
||||
Reference in New Issue
Block a user