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
222Orbita

Серверостроение – Спавн стаков патронов

Доброго времени суток! Подскажите, пожалуйста, в чём может быть загвоздка? Я увеличил стак всех патронов до 500 и соответственно, патроны теперь спанятся стаками по 100, 200, 300 штук (это округлённо, может быть разное число). В types выставил процентовку quantmin и quantmax 1 и 3 соответственно. По всем канонам стаки с патронами должны спавниться от 5 до 15 штук в стаке, но они спавнятся также по 80-200 штук в стаке. Может быть изменить varQuantityInit и varQuantityMax, хотя это тоже не помогает. Где, что добавить или изменить, чтобы процентовка спавна была под выставленные значения quantmin  и quantmax? Спасибо!

class Ammo_12gaPellets : Ammunition_Base
	{
		count = 500;
	};
<type name="Ammo_12gaPellets">
        <nominal>100</nominal>
        <lifetime>14400</lifetime>
        <restock>0</restock>
        <min>75</min>
        <quantmin>1</quantmin>
        <quantmax>3</quantmax>
        <cost>100</cost>

 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Разобрался сам. Просто прописал для патронов varQuantityInit и varQuantityMax. Всё работает как надо и даже вес правильный показывает. ))

class Ammo_12gaPellets : Ammunition_Base
	{
		varQuantityInit=500;
		varQuantityMax=500;
		count = 500;
	};

 

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.