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
Ctarei

Как изменить количество выпавших тряпок при разрезании вещи

Подскажите, кто нибуд знает как изменить количество выпавших тряпок  при разрезании вещи. Осмотрел все крафты и декрафты и прочее програн по слову rag поиск по всем файлам и ничего не нашел ((( ведь должен быть где то файл или скрипт отвечающий за количество выпавших тряпок

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 1

Плохо смотрели

 

4_World\Classes\Recipes\Recipes

CraftRag.c

 

class CraftRag

 

Функция Do

 

	override void Do(ItemBase ingredients[], PlayerBase player,array<ItemBase> results, float specialty_weight)//gets called upon recipe's completion
	{
		ItemBase result;
		Class.CastTo(result, results.Get(0));
		ItemBase ingredient2 = ingredients[1];
      
      	//тут из конфига предмета берется значение переменной ragQuantity которая указывает сколько лоскутов получится если вещичку порезать
		int quantity = ingredient2.ConfigGetFloat("ragQuantity");
		
      	//тут устанавливается количество лоскутов
		result.SetQuantity(quantity); 
	}

 

 

 

Share this post


Link to post
Share on other sites



  • 0
9 часов назад, BorizzK сказал:

Плохо смотрели

 

4_World\Classes\Recipes\Recipes

CraftRag.c

 

class CraftRag

 

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Edited by Ctarei (see edit history)

Share this post


Link to post
Share on other sites
  • 0
8 минут назад, Ctarei сказал:

В том то и дело ) нет этого крафта тут ) распаковывал с помощью dayz tools, как завещала БАГемия

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Share this post


Link to post
Share on other sites
  • 0
13 минут назад, Ctarei сказал:

В том то и дело ) нет этого крафта тут ) распаковывал с помощью dayz tools, как завещала БАГемия

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Как нет?
 

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Edited by BorizzK (see edit history)

Share this post


Link to post
Share on other sites
  • 0

Понял видимо криво файл пбо распаковался ))) а я уже голову сломал 😀

Share this post


Link to post
Share on other sites
  • 0

всем спасибо открыл через пбо менеджер, нашел файл )

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

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