mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add drop weapon action to MeleeSledge
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
[NEW] 1.8.7 spawn selection, set dayz_spawnselection = 1; in init.sqf (Chernarus only)
|
[NEW] 1.8.7 spawn selection, set dayz_spawnselection = 1; in init.sqf (Chernarus only)
|
||||||
[NEW] 1.8.7 infected camps, points of interest and infectious waterholes map additions (Chernarus only)
|
[NEW] 1.8.7 infected camps, points of interest and infectious waterholes map additions (Chernarus only)
|
||||||
[NEW] 1.8.7 weapon switching system and hotkeys (1 = primary, 2 = pistol, 3 = melee)
|
[NEW] 1.8.7 weapon switching system and hotkeys (1 = primary, 2 = pistol, 3 = melee)
|
||||||
|
[NEW] 1.8.7 configurable blood trails, set dayz_bleedingeffect in init.sqf
|
||||||
[NEW] Optional news/rules feed on player login, set dayz_enableRules in init.sqf
|
[NEW] Optional news/rules feed on player login, set dayz_enableRules in init.sqf
|
||||||
[NEW] Status UI icons are toggleable between "vanilla","epoch","dark" set DZE_UI in init.sqf @ebaydayz
|
[NEW] Status UI icons are toggleable between "vanilla","epoch","dark" set DZE_UI in init.sqf @ebaydayz
|
||||||
[NEW] Anzio 20mm sniper and RedRyder BB Gun by @arma2WillRobinson
|
[NEW] Anzio 20mm sniper and RedRyder BB Gun by @arma2WillRobinson
|
||||||
|
|||||||
@@ -17,14 +17,15 @@ class MeleeSledge: MeleeWeapon
|
|||||||
{
|
{
|
||||||
text = $STR_ACTIONS_2TB;
|
text = $STR_ACTIONS_2TB;
|
||||||
script = "spawn player_addToolbelt;";
|
script = "spawn player_addToolbelt;";
|
||||||
use[]=
|
use[] = {"MeleeSledge"};
|
||||||
{
|
output[] = {"ItemSledge"};
|
||||||
"MeleeSledge"
|
|
||||||
};
|
};
|
||||||
output[]=
|
|
||||||
|
class Drop
|
||||||
{
|
{
|
||||||
"ItemSledge"
|
text = $STR_ACTIONS_DROP;
|
||||||
};
|
script = "spawn player_dropWeapon; r_action_count = r_action_count + 1;";
|
||||||
|
use[] = {"Sledge_Swing"};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class Library
|
class Library
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ class ItemSledge: ItemCore // Epoch class
|
|||||||
picture="\z\addons\dayz_epoch\pictures\equip_sledge_CA.paa";
|
picture="\z\addons\dayz_epoch\pictures\equip_sledge_CA.paa";
|
||||||
displayName=$STR_EQUIP_NAME_SledgeHammer;
|
displayName=$STR_EQUIP_NAME_SledgeHammer;
|
||||||
descriptionShort=$STR_EQUIP_SLEDGE_DESC;
|
descriptionShort=$STR_EQUIP_SLEDGE_DESC;
|
||||||
|
|
||||||
class ItemActions
|
class ItemActions
|
||||||
{
|
{
|
||||||
class ToBack
|
class ToBack
|
||||||
|
|||||||
Reference in New Issue
Block a user