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
Vorin

Инвентарь рюкзака

Ребят доброго времени суток. Сделал раму на которую можно повесить рюкзак, аптечку, кастрюлю, кейс и т.д.. Все прокси этих предметов прописал в модели, далее пошёл в конфиг, прописал аттачменты, прокси, слоты. Всё работает всё вешается, в инвентарь этих предметов когда висят на раме тоже всё ложится и достаётся, а вот с рюкзаком некоторые траблы образовались, рюкзак вешается на раму, сидит как литой, за персонажем тоже бегает, но в инвентарь нельзя ничего положить когда он на раме висит только можно из него забрать, а положить только когда снимешь с рамы. В чём может быть проблема? кто с таким сталкивался?
Прокси рюкзака брал вот этот: \DZ\characters\proxies\Backpack_DZ.p3d 
Параметры и классы в конфиге: 
 

class Backpack_DZ: Clothing_Base
	    {
	    	inventorySlot[] = {"Back"};
	    };
class ProxyBackpack_DZ : ProxyAttachment {
    		scope = 2;
    		inventorySlot[] = {"Back"};
    		model = "\DZ\characters\proxies\Backpack_DZ.p3d";
    	};
class Slot_Backpack_DZ {
	        	name = "Back";
	        	displayName = "Рюкзак";
	        	ghostIcon = "Back";
	        };

Где делаю не правильно, подозрение может не ту модель беру под прокси?
Либо в конфиге что то не правильно написал?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts




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

×
×
  • 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.