Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 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 servers
  • Don'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
Sign in to follow this  
Taipan

Карманы для бронижитела.

Здравствуйте, подскажите, как сделать конфинг для карманов (pouch),  которые затем можно будет использовать как атачмент. Вопрос именно в конфинге, не получается сделать.

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 1
class CfgPatches
{
	class Pouches
	{
		units[] = {};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {"DZ_Data","DZ_Characters"};
	};
};
class CfgVehicles
{
	class PlateCarrierPouches;
	class Pouches: PlateCarrierPouches // Прописать свой класснейм не забудь
	{
		scope = 0;
		displayName = "$STR_Pouches_0";
		descriptionShort = "$STR_Pouches_1";
		inventorySlot[] = {"Pouch"};
		model = "-"; // Путь до модели
		itemSize[] = {6,4};
		itemsCargoSize[] = {7,5};
		hiddenSelections[] = {"camoGround","camoMale","camoFemale"};
		hiddenSelectionsTextures[] = {"-"}; // Текстуры для ретекстура
	};
};
class CfgSlots
{
	class Slot_Pouch
	{
		name = "Pouch";
		displayName = "$STR_CfgVestPouch0";
		ghostIcon = "set:dayz_inventory image:vestpouches";
	};
};
class CfgNonAIVehicles
{
	class ProxyAttachment;
	class ProxyPouch: ProxyAttachment
	{
		scope = 2;
		inventorySlot[] = {"Pouch"};
		model = "-"; // Путь до модели
	};
};

Вот так попробуй. Там если что уже строки изменишь под себя.

Share this post


Link to post
Share on other sites



  • 1

Что именно не получается?
Если ты не можешь сделать слот, то вот это прописываешь в cfg кармана или в cfg в папке Scripts
 

	class Slot_Pouch
	{
		name = "Pouch";
		displayName = "$STR_CfgVestPouch0";
		ghostIcon = "set:dayz_inventory image:vestpouches";
	};

И то что у тебя в name – прописываешь как inventory slot в cfg с карманом, а после как атачмент в бронижелете.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.