Need help?
Create a topic in the appropriate section
Don't write everything in the chat!Take a look at the marketplace
There you can buy
everything related to game serversDon't want a ban?
Please read our rules
Don't disturb the order!Sell or buy?
Use services of the guarantor
We will make your deal safe
- 0
-
Our picks
Приветствую Вас уважаемые форумчане. Такой вопрос. Сделал свою модовую бочку, прописал в ней слоты, все работает все отлично, но есть одно но, attachments не скрываются при закрытии бочки. Подскажите куда двигаться дальше.
class CfgPatches { class DZ_Gear_Containers { units[]={}; weapons[]={}; requiredVersion=0.1; requiredAddons[]= { "DZ_Data" }; }; }; class CfgVehicles { class HouseNoDestruct; class Inventory_Base; class Bottle_Base; class Container_Base; class WorldContainer_Base; class Barrel_ColorBase: Container_Base { }; class FireplaceBase: Inventory_Base { }; class BarrelHoles_ColorBase: FireplaceBase { }; class FBS_BarrelBase: Barrel_ColorBase { descriptionShort="<Расширенная бочка FBS"; inventorySlot[]= { "55galDrum_1", "55galDrum_2", "55galDrum_3", "55galDrum_4", "55galDrum_5", "55galDrum_6", "55galDrum_7", "55galDrum_8", "55galDrum_9", "55galDrum_10", "55galDrum_11", "55galDrum_12", "Truck_01_Barrel1", "Truck_01_Barrel2", "Truck_01_Barrel3", "Truck_01_Barrel4", "Truck_01_Barrel5", "Truck_01_Barrel6", "Truck_01_Barrel7", "Truck_01_Barrel8", "Truck_01_Barrel9", "Truck_01_Barrel10", "Truck_01_Barrel11", "Truck_01_Barrel12" }; class Cargo { itemsCargoSize[]={10,50}; openable=0; allowOwnedCargoManipulation=0; }; }; class DamageSystem { class GlobalHealth { class Health { hitpoints = 100000; }; }; class GlobalArmor { class FragGrenade { class Health { damage = 8.0; }; class Blood { damage = 8.0; }; class Shock { damage = 8.0; }; }; }; }; class FBS_250_Blue_Barrel: FBS_BarrelBase { scope=2; color="black_Camo"; displayName="Бочка FBS 250 слотов."; attachments[] = { "shoulder1", "shoulder2", "shoulder3", "shoulder4", "shoulder5", "shoulder6", "shoulder7", "shoulder8", "shoulder9", "shoulder10", "shoulder11", "shoulder12", "shoulder13", "shoulder14", "shoulder15", }; hiddenSelectionsTextures[]= { "FBS_Barel\FBS_Barel\data\fbs_pixel_barrel_blue_co.paa" }; class DamageSystem: DamageSystem { class GlobalHealth: GlobalHealth { class Health: Health { RefTexsMats[] = {"FBS_Barel\FBS_Barel\data\fbs_pixel_barrel_blue.rvmat"}; }; }; }; }; }; class CfgSlots { class Slot_Shoulder; class Shoulder_Base : Slot_Shoulder { inventorySlot[] = {"Shoulder1", "Shoulder2", "Shoulder3", "Shoulder4", "Shoulder5", "Shoulder6", "Shoulder7", "Shoulder8", "Shoulder9", "Shoulder10", "Shoulder11", "Shoulder12", "Shoulder13", "Shoulder14", "Shoulder15"}; }; };
Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.
Share this post
Link to post
Share on other sites