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
Добрый день! Нашёл интересный мод на фурнитуру, может кто знает - Furniture Kits [1.0]. Там есть печка на 4 конфорки, чем и заинтересовала... Но проблема, что кроме ванильной кастрюли нельзя ничего поставить, даже модовые кастрюли которые привязаны к классу ванильной кастрюли... В скриптах сам копался. благо автор дал добро, но мозгов не хватило... Может кто в курсе как сделать, чтобы можно было любые кастрюли и сковородку добавлять? И в том же моде есть автомобильный стеллаж, куда кроме ванильных колёс ничего не поставить. Как сделать чтобы модовые можно было?
P.S. При чем, что интересно ещё - на верстак из этого мода вешаются и ванильные и модовые молотки например... Но по аналогии с молотками с кастрюлями не прокатило...
Общий конфиг:
Конфиг слотов плиты:
class CfgPatches { class SlotGasStove { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"DZ_Data", "DZ_Scripts", "DZ_Gear_Cooking"}; }; }; class CfgVehicles { class Bottle_Base; // External class reference class Pot : Bottle_Base { inventorySlot[] = {"CookingEquipment", "DirectCookingA", "DirectCookingB", "DirectCookingC", "Pot1", "Pot2", "Pot3", "Pot4"}; }; }; class CfgSlots { class Slot_Pot1 { name = "Pot1"; displayName = "#Slot_Panela"; ghostIcon = "set:dayz_inventory image:cookingequipment"; }; class Slot_Pot2 { name = "Pot2"; displayName = "#Slot_Panela"; ghostIcon = "set:dayz_inventory image:cookingequipment"; }; class Slot_Pot3 { name = "Pot3"; displayName = "#Slot_Panela"; ghostIcon = "set:dayz_inventory image:cookingequipment"; }; class Slot_Pot4 { name = "Pot4"; displayName = "#Slot_Panela"; ghostIcon = "set:dayz_inventory image:cookingequipment"; }; class Slot_BigGas { name = "BigGas"; displayName = "#Slot_Gas"; ghostIcon = "set:dayz_inventory image:gascanister"; }; }; class CfgNonAIVehicles { class ProxyAttachment; // External class reference class ProxyPot1 : ProxyAttachment { scope = 2; inventorySlot = "Pot1"; model = "M_Kits\SlotsPersonalizados\SlotGasStove\Pot1.p3d"; }; class ProxyPot2 : ProxyAttachment { scope = 2; inventorySlot = "Pot2"; model = "M_Kits\SlotsPersonalizados\SlotGasStove\Pot2.p3d"; }; class ProxyPot3 : ProxyAttachment { scope = 2; inventorySlot = "Pot3"; model = "M_Kits\SlotsPersonalizados\SlotGasStove\Pot3.p3d"; }; class ProxyPot4 : ProxyAttachment { scope = 2; inventorySlot = "Pot4"; model = "M_Kits\SlotsPersonalizados\SlotGasStove\Pot4.p3d"; }; class ProxyBigGas : ProxyAttachment { scope = 2; inventorySlot = "BigGas"; model = "M_Kits\SlotsPersonalizados\SlotGasStove\BigGas.p3d"; }; };
Конфиг стойки для авто:
class CfgPatches { class SlotPecasCarro { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"DZ_Vehicles_Wheeled", "DZ_Data", "DZ_Vehicles_Parts", "DZ_Scripts"}; }; }; class CfgVehicles { class Inventory_Base; // External class reference class CarWheel : Inventory_Base {}; class HatchbackWheel : CarWheel { inventorySlot[] = {"NivaWheel_1_1", "NivaWheel_1_2", "NivaWheel_2_1", "NivaWheel_2_2", "NivaWheel_Spare_1", "Roda1", "Roda2", "Roda3", "Roda4", "Roda5", "Roda6"}; }; class CivSedanWheel : CarWheel { inventorySlot[] = {"CivSedanWheel_1_1", "CivSedanWheel_1_2", "CivSedanWheel_2_1", "CivSedanWheel_2_2", "Roda1", "Roda2", "Roda3", "Roda4", "Roda5", "Roda6"}; }; class Hatchback_02_Wheel : CarWheel { inventorySlot[] = {"Hatchback_02_Wheel_1_1", "Hatchback_02_Wheel_1_2", "Hatchback_02_Wheel_2_1", "Hatchback_02_Wheel_2_2", "Roda1", "Roda2", "Roda3", "Roda4", "Roda5", "Roda6"}; }; class Sedan_02_Wheel : CarWheel { inventorySlot[] = {"Sedan_02_Wheel_1_1", "Sedan_02_Wheel_1_2", "Sedan_02_Wheel_2_1", "Sedan_02_Wheel_2_2", "Roda1", "Roda2", "Roda3", "Roda4", "Roda5", "Roda6"}; }; class Truck_01_Wheel : CarWheel { inventorySlot[] = {"Truck_01_Wheel_1_1", "Truck_01_Wheel_2_1", "Truck_01_Wheel_Spare_1", "Truck_01_Wheel_Spare_2", "Roda1", "Roda2", "Roda3", "Roda4", "Roda5", "Roda6"}; }; class TruckBattery : Inventory_Base { inventorySlot[] = {"TruckBattery", "LargeBattery", "BateriaCaminhao1", "BateriaCaminhao2"}; }; class CarBattery : Inventory_Base { inventorySlot[] = {"CarBattery", "LargeBattery", "Bateria1", "Bateria2", "Bateria3", "Bateria4", "Bateria5", "Bateria6"}; }; class CarRadiator : Inventory_Base { inventorySlot[] = {"CarRadiator", "Radiador1", "Radiador2", "Radiador3", "Radiador4"}; }; }; class CfgSlots { class Slot_CivSedanWheel_1_1 {}; class Slot_Roda1 : Slot_CivSedanWheel_1_1 { name = "Roda1"; displayName = "#Slot_Rodas"; ghostIcon = "set:dayz_inventory image:wheel"; }; class Slot_Roda2 : Slot_CivSedanWheel_1_1 { name = "Roda2"; displayName = "#Slot_Rodas"; ghostIcon = "set:dayz_inventory image:wheel"; }; class Slot_Roda3 : Slot_CivSedanWheel_1_1 { name = "Roda3"; displayName = "#Slot_Rodas"; ghostIcon = "set:dayz_inventory image:wheel"; }; class Slot_Roda4 : Slot_CivSedanWheel_1_1 { name = "Roda4"; displayName = "#Slot_Rodas"; ghostIcon = "set:dayz_inventory image:wheel"; }; class Slot_Roda5 : Slot_CivSedanWheel_1_1 { name = "Roda5"; displayName = "#Slot_Rodas"; ghostIcon = "set:dayz_inventory image:wheel"; }; class Slot_Roda6 : Slot_CivSedanWheel_1_1 { name = "Roda6"; displayName = "#Slot_Rodas"; ghostIcon = "set:dayz_inventory image:wheel"; }; class Slot_CarBattery {}; class Slot_TruckBattery {}; class Slot_Bateria1 : Slot_CarBattery { name = "Bateria1"; displayName = "#Slot_BateriasCarro"; ghostIcon = "set:dayz_inventory image:carbattery"; }; class Slot_Bateria2 : Slot_CarBattery { name = "Bateria2"; displayName = "#Slot_BateriasCarro"; ghostIcon = "set:dayz_inventory image:carbattery"; }; class Slot_Bateria3 : Slot_CarBattery { name = "Bateria3"; displayName = "#Slot_BateriasCarro"; ghostIcon = "set:dayz_inventory image:carbattery"; }; class Slot_Bateria4 : Slot_CarBattery { name = "Bateria4"; displayName = "#Slot_BateriasCarro"; ghostIcon = "set:dayz_inventory image:carbattery"; }; class Slot_Bateria5 : Slot_CarBattery { name = "Bateria5"; displayName = "#Slot_BateriasCarro"; ghostIcon = "set:dayz_inventory image:carbattery"; }; class Slot_Bateria6 : Slot_CarBattery { name = "Bateria6"; displayName = "#Slot_BateriasCarro"; ghostIcon = "set:dayz_inventory image:carbattery"; }; class Slot_BateriaCaminhao1 : Slot_TruckBattery { name = "BateriaCaminhao1"; displayName = "#Slot_BateriasCaminhao"; ghostIcon = "set:dayz_inventory image:carbattery"; }; class Slot_BateriaCaminhao2 : Slot_TruckBattery { name = "BateriaCaminhao2"; displayName = "#Slot_BateriasCaminhao"; ghostIcon = "set:dayz_inventory image:carbattery"; }; class Slot_CarRadiator {}; class Slot_Radiador1 : Slot_CarRadiator { name = "Radiador1"; displayName = "#Slot_Radiador"; ghostIcon = "set:dayz_inventory image:radiator"; }; class Slot_Radiador2 : Slot_CarRadiator { name = "Radiador2"; displayName = "#Slot_Radiador"; ghostIcon = "set:dayz_inventory image:radiator"; }; class Slot_Radiador3 : Slot_CarRadiator { name = "Radiador3"; displayName = "#Slot_Radiador"; ghostIcon = "set:dayz_inventory image:radiator"; }; class Slot_Radiador4 : Slot_CarRadiator { name = "Radiador4"; displayName = "#Slot_Radiador"; ghostIcon = "set:dayz_inventory image:radiator"; }; }; class CfgNonAIVehicles { class ProxyAttachment; // External class reference class ProxyRoda1 : ProxyAttachment { scope = 2; inventorySlot = "Roda1"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Roda1.p3d"; }; class ProxyRoda2 : ProxyAttachment { scope = 2; inventorySlot = "Roda2"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Roda2.p3d"; }; class ProxyRoda3 : ProxyAttachment { scope = 2; inventorySlot = "Roda3"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Roda3.p3d"; }; class ProxyRoda4 : ProxyAttachment { scope = 2; inventorySlot = "Roda4"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Roda4.p3d"; }; class ProxyRoda5 : ProxyAttachment { scope = 2; inventorySlot = "Roda5"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Roda5.p3d"; }; class ProxyRoda6 : ProxyAttachment { scope = 2; inventorySlot = "Roda6"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Roda6.p3d"; }; class ProxyBateria1 : ProxyAttachment { scope = 2; inventorySlot = "Bateria1"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Bateria1.p3d"; }; class ProxyBateria2 : ProxyAttachment { scope = 2; inventorySlot = "Bateria2"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Bateria2.p3d"; }; class ProxyBateria3 : ProxyAttachment { scope = 2; inventorySlot = "Bateria3"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Bateria3.p3d"; }; class ProxyBateria4 : ProxyAttachment { scope = 2; inventorySlot = "Bateria4"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Bateria4.p3d"; }; class ProxyBateria5 : ProxyAttachment { scope = 2; inventorySlot = "Bateria5"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Bateria5.p3d"; }; class ProxyBateria6 : ProxyAttachment { scope = 2; inventorySlot = "Bateria6"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Bateria6.p3d"; }; class ProxyBateriaCaminhao1 : ProxyAttachment { scope = 2; inventorySlot = "BateriaCaminhao1"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\BateriaCaminhao1.p3d"; }; class ProxyBateriaCaminhao2 : ProxyAttachment { scope = 2; inventorySlot = "BateriaCaminhao2"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\BateriaCaminhao2.p3d"; }; class ProxyRadiador1 : ProxyAttachment { scope = 2; inventorySlot = "Radiador1"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Radiador1.p3d"; }; class ProxyRadiador2 : ProxyAttachment { scope = 2; inventorySlot = "Radiador2"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Radiador2.p3d"; }; class ProxyRadiador3 : ProxyAttachment { scope = 2; inventorySlot = "Radiador3"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Radiador3.p3d"; }; class ProxyRadiador4 : ProxyAttachment { scope = 2; inventorySlot = "Radiador4"; model = "M_Kits\SlotsPersonalizados\SlotPecasCarro\Radiador4.p3d"; }; };
Share this post
Link to post
Share on other sites