mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
Fix blank remove attachment text M4, M240, L110
Some attachments were using incorrect string names.
This commit is contained in:
@@ -18,7 +18,7 @@ class L110A1_CCO_DZ : BAF_L110A1_Aim
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_REM;
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'L110A1_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
@@ -34,7 +34,7 @@ class L110A1_Holo_DZ : L110A1_CCO_DZ
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_REM;
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'L110A1_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
@@ -63,13 +63,4 @@ class L110A1_DZ : L110A1_CCO_DZ
|
||||
|
||||
class BAF_L110A1_Aim_DZE:BAF_L110A1_Aim { //Slightly different scope from L110A1_CCO_DZ, otherwise identical
|
||||
type = "1";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_REM;
|
||||
script = "; ['Attachment_CCO',_id,'L110A1_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -26,7 +26,7 @@ class M240_CCO_DZ : M240_DZ
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_REM;
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'M240_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
@@ -44,7 +44,7 @@ class M240_Holo_DZ : M240_CCO_DZ
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_REM;
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'M240_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -62,16 +62,8 @@ class M249_Holo_DZ : M249_CCO_DZ
|
||||
};
|
||||
|
||||
class M249_EP1;
|
||||
class M249_EP1_DZ:M249_EP1 { //Iron sight with shorter stock (different from M249_DZ)
|
||||
class M249_EP1_DZ:M249_EP1 { //Iron sight with shorter stock (slightly different look from M249_DZ) can also fire MG36 mags
|
||||
type = "1";
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M249_CCO_DZ";
|
||||
Attachment_Holo = "M249_Holo_DZ";
|
||||
};
|
||||
|
||||
class ItemActions {};
|
||||
};
|
||||
|
||||
class M249_m145_EP1;
|
||||
|
||||
@@ -824,7 +824,7 @@ class M4A1_ACOG_FL_DZ : M4A1_FL_DZ
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_REM;
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL_Rfl',_id,'M4A1_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
@@ -853,7 +853,7 @@ class M4A1_ACOG_SD_DZ : M4A1_SD_DZ
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP556_REM;
|
||||
text = $STR_DZ_ATT_SUP556_RMVE;
|
||||
script = "; ['Attachment_Sup556',_id,'M4A1_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
@@ -881,12 +881,12 @@ class M4A1_ACOG_SD_FL_DZ : M4A1_SD_FL_DZ
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP556_REM;
|
||||
text = $STR_DZ_ATT_SUP556_RMVE;
|
||||
script = "; ['Attachment_Sup556',_id,'M4A1_ACOG_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_REM;
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL_Rfl',_id,'M4A1_ACOG_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
@@ -917,7 +917,7 @@ class M4A1_GL_ACOG_DZ : M4A1_GL_DZ
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_REM;
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M4A1_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
@@ -945,12 +945,12 @@ class M4A1_GL_ACOG_FL_DZ : M4A1_GL_FL_DZ
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_REM;
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M4A1_ACOG_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_REM;
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL_Rfl',_id,'M4A1_GL_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
@@ -978,12 +978,12 @@ class M4A1_GL_ACOG_SD_DZ : M4A1_GL_SD_DZ
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_REM;
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M4A1_ACOG_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP556_REM;
|
||||
text = $STR_DZ_ATT_SUP556_RMVE;
|
||||
script = "; ['Attachment_Sup556',_id,'M4A1_GL_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
@@ -1008,17 +1008,17 @@ class M4A1_GL_ACOG_SD_FL_DZ : M4A1_GL_SD_FL_DZ
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_REM;
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M4A1_ACOG_SD_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_DZ_ATT_SUP556_REM;
|
||||
text = $STR_DZ_ATT_SUP556_RMVE;
|
||||
script = "; ['Attachment_Sup556',_id,'M4A1_GL_ACOG_FL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_REM;
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_FL_Rfl',_id,'M4A1_GL_ACOG_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -30,7 +30,9 @@ class ItemSledge: ItemCore // Epoch class
|
||||
*/
|
||||
};
|
||||
};
|
||||
/* //Vanilla sledge is using a different model
|
||||
|
||||
//Vanilla sledge is using a different model.
|
||||
//All scripts have been changed to use Epoch ItemSledge, but leave this defined in case admins want to use it for something.
|
||||
class ItemSledgeHammer : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
@@ -60,5 +62,4 @@ class ItemSledgeHammerBroken : ItemCore
|
||||
script = "spawn player_fixHatchet;";
|
||||
};
|
||||
};
|
||||
};
|
||||
*/
|
||||
};
|
||||
Reference in New Issue
Block a user