mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
CFG WEAPONS DONE
This commit is contained in:
57
SQF/dayz_code/Configs/CfgMagazines/Items/BearTrap.hpp
Normal file
57
SQF/dayz_code/Configs/CfgMagazines/Items/BearTrap.hpp
Normal file
@@ -0,0 +1,57 @@
|
||||
class TrapBear : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\bear_trap_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bear_trap_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_BEARTRAP;
|
||||
descriptionShort = $STR_EQUIP_DESC_BEARTRAP;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"TrapBear"};
|
||||
create = "BearTrap_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapBearTrapFlare : TrapBear
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_beartrap_dropped_flare.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_beartrap_dropped_flare.paa";
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_FLARE;
|
||||
descriptionShort = $STR_ITEM_DESC_BEAR_TRAP_FLARE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapBearTrapFlare"};
|
||||
create = "TrapBearTrapFlare";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapBearTrapSmoke : TrapBear
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_beartrap_dropped_smoke.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_beartrap_dropped_smoke.paa";
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_SMOKE;
|
||||
descriptionShort = $STR_ITEM_DESC_BEAR_TRAP_SMOKE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapBearTrapSmoke"};
|
||||
create = "TrapBearTrapSmoke";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user