mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Vanilla development commit:
af9e009bae
- renamed magazines for better sorting
- renamed attachments for better sorting ([A] prefix added) some fixes,
some strings moved to proper section
- Remington 870 added to new attachment system (weapon flashlight)
- Double-barrel shotgun will now spawns with pellets and has Doubleshot
option (maybe this will make it more popular?)
45 lines
870 B
C++
45 lines
870 B
C++
class Bizon_DZ : bizon
|
|
{
|
|
model = "z\addons\dayz_communityweapons\bizon\bizon.p3d";
|
|
displayName = $STR_DZ_WPN_BIZON_NAME;
|
|
|
|
magazines[] =
|
|
{
|
|
64Rnd_9x19_Bizon,
|
|
64Rnd_9x19_SD_Bizon
|
|
};
|
|
|
|
weaponInfoType = "RscWeaponZeroing";
|
|
discreteDistance[] = {50,100,150};
|
|
discreteDistanceInitIndex = 1;
|
|
|
|
class Attachments
|
|
{
|
|
Attachment_SupBizon = "Bizon_SD_DZ";
|
|
};
|
|
};
|
|
|
|
class Bizon_SD_DZ : bizon_silenced
|
|
{
|
|
model = "z\addons\dayz_communityweapons\bizon\bizon_sd.p3d";
|
|
displayName = $STR_DZ_WPN_BIZON_SD_NAME;
|
|
|
|
magazines[] =
|
|
{
|
|
64Rnd_9x19_SD_Bizon,
|
|
64Rnd_9x19_Bizon
|
|
};
|
|
|
|
weaponInfoType = "RscWeaponZeroing";
|
|
discreteDistance[] = {50,100,150};
|
|
discreteDistanceInitIndex = 1;
|
|
|
|
class ItemActions
|
|
{
|
|
class RemoveSuppressor
|
|
{
|
|
text = $STR_DZ_ATT_SUP9BIZON_RMVE;
|
|
script = "; ['Attachment_SupBizon',_id,'Bizon_DZ'] call player_removeAttachment";
|
|
};
|
|
};
|
|
}; |