mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-17 09:53:21 +03:00
Mag names, Attachments names, Translation fixes
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?)
This commit is contained in:
@@ -4,13 +4,13 @@ class MR43_DZ : Rifle
|
||||
|
||||
model = "\dayz_weapons\models\mr43.p3d";
|
||||
picture = "\dayz_weapons\textures\equip_mr43_CA.paa";
|
||||
displayname = $STR_WPN_NAME_5;
|
||||
descriptionShort = $STR_WPN_DESC_5;
|
||||
displayname = $STR_DZ_WPN_MR43_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MR43_DESC;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
2Rnd_12Gauge_Slug,
|
||||
2Rnd_12Gauge_Buck
|
||||
2Rnd_12Gauge_Buck;
|
||||
2Rnd_12Gauge_Slug
|
||||
};
|
||||
|
||||
handAnim[] = {"OFP2_ManSkeleton", "\Ca\weapons_E\Data\Anim\LeeEnfield.rtm"};
|
||||
@@ -18,7 +18,7 @@ class MR43_DZ : Rifle
|
||||
distanceZoomMin = 100;
|
||||
distanceZoomMax = 100;
|
||||
|
||||
modes[] = {"Single"};
|
||||
modes[] = {"Single","Double"};
|
||||
|
||||
class Single : Mode_SemiAuto
|
||||
{
|
||||
@@ -32,4 +32,18 @@ class MR43_DZ : Rifle
|
||||
recoil = "recoil_single_primary_9outof10";
|
||||
recoilProne = "recoil_single_primary_prone_8outof10";
|
||||
};
|
||||
class Double : Mode_Burst
|
||||
{
|
||||
displayName = $STR_DZ_WPN_MR43_DSMODE_NAME;
|
||||
dispersion = 0.003;
|
||||
soundContinuous = 0;
|
||||
reloadTime = 0.001;
|
||||
ffCount = 2;
|
||||
reloadMagazineSound[] = {"\ca\sounds\weapons\rifles\M1014-reload", 0.316228, 1, 20};
|
||||
DB_shotgun_1[] = {"dayz_weapons\sounds\DB_shotgun_1", 1.77828, 1, 1000};
|
||||
soundBegin[] = {"DB_shotgun_1", 1};
|
||||
drySound[] = {"ca\sounds\weapons\rifles\dry", 0.01, 1, 10};
|
||||
recoil = "recoil_single_primary_9outof10";
|
||||
recoilProne = "recoil_single_primary_prone_8outof10";
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user