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
Здравствуйте. Пытаюсь сделать карман для бронежилета. Столкнулся с проблемой, что не получается создать новый слот, под этот карман. Как мне это сделать?
class CfgPatches { class DZ_Characters_Backpacks { units[]={}; weapons[]={}; requiredVersion=0.1; requiredAddons[]= { "DZ_Characters" }; }; }; class cfgVehicles { class Clothing_Base; class CourierBag; class PlateCarrierPouches; class Clothing: Clothing_Base { }; class Pouch1: PlateCarrierPouches { scope=2; displayName="Подсумок"; descriptionShort="Подвешивается на некоторые жилеты и ремни"; model="\Pouch\pouch_1.p3d"; inventorySlot[]= { "Pouch1" }; attachments[]= { "Magazine" }; itemInfo[]= { "Clothing", "Back" }; rotationFlags=16; itemSize[]={1,2}; itemsCargoSize[]={1,2}; weight=200; varWetMax=0.050000001; heatIsolation=1; visibilityModifier=0.69999999; repairableWithKits[]={5,2}; repairCosts[]={30,25}; soundAttType="Small"; hiddenSelections[]= { "camo1" }; hiddenSelectionsTextures[]= { "\Pouch\data\Pouch.paa" }; class ClothingTypes { male="\Pouch\pouch_1.p3d"; female="\Pouch\pouch_1.p3d"; }; class DamageSystem { class GlobalHealth { class Health { hitpoints=300; healthLevels[]= { { 1, { "DZ\Characters\backpacks\data\ImpCourierBag.rvmat" } }, { 0.69999999, { "DZ\Characters\backpacks\data\ImpCourierBag.rvmat" } }, { 0.5, { "DZ\Characters\backpacks\data\ImpCourierBag_damage.rvmat" } }, { 0.30000001, { "DZ\Characters\backpacks\data\ImpCourierBag_damage.rvmat" } }, { 0, { "DZ\Characters\backpacks\data\ImpCourierBag_destruct.rvmat" } } }; }; }; }; class AnimEvents { class SoundWeapon { class pickUpItem_Light { soundSet="pickUpCourierBag_Light_SoundSet"; id=796; }; class pickUpItem { soundSet="pickUpCourierBag_SoundSet"; id=797; }; class drop { soundset="taloonbag_drop_SoundSet"; id=898; }; }; }; }; }; class Slot_Pouch { name = "Pouch1"; displayName = "Pouch1"; ghostIcon = "set:dayz_inventory image:vestpouches"; }; class CfgNonAIVehicles { class ProxyAttachment; class ProxyPouch_1: ProxyAttachment { scope = 2; inventorySlot[] = {"Pouch1"}; model = "\Pouch\pouch_1.p3d"; }; };
Share this post
Link to post
Share on other sites