Jump to content

Need some info/explanation.

Not a Bug 2.0.11

Lucius
Lucius

Posted

Need help on how I could lower the chance of this item being in a crate. I dont understand what the ConditionMinimumAmount, ConditionMaximumAmount, SpawnChanceTimes and the SpawnChanceScale actually do. Would love some extra info or explanation about this.

 

 

        {

          "ShortName": "scrap",

          "CustomName": null,

          "SkinId": 0,

          "MinimumAmount": 10,

          "MaximumAmount": 100,

          "ConditionMinimumAmount": 0.2,

          "ConditionMaximumAmount": 0.65,

          "SpawnChanceTimes": 4,

          "SpawnChanceScale": 5

        }

  • Administrator
Raul-Sorin Sorban

Posted

On 12/18/2021 at 4:28 PM, Lucius said:

Need help on how I could lower the chance of this item being in a crate. I dont understand what the ConditionMinimumAmount, ConditionMaximumAmount, SpawnChanceTimes and the SpawnChanceScale actually do. Would love some extra info or explanation about this.

 

 

        {

          "ShortName": "scrap",

          "CustomName": null,

          "SkinId": 0,

          "MinimumAmount": 10,

          "MaximumAmount": 100,

          "ConditionMinimumAmount": 0.2,

          "ConditionMaximumAmount": 0.65,

          "SpawnChanceTimes": 4,

          "SpawnChanceScale": 5

        }

I apologise for overlooking your support message! Please have a look at this. In addition to that, ConditionMinimumAmount and ConditionMaximumAmount work quite the same. It's a decimal value between 0 to 1, which 0 is minimum condition of an item (0) and 1 is the maximum condition of an item. Whenever a container is (re)generated, a random value is chosen between ConditionMinimumAmount and ConditionMaximumAmount, which gets scaled based on the item's maximum condition.

  • Administrator
Raul-Sorin Sorban

Posted

Changed Status from Pending to Not a Bug

Lucius

Posted

13 hours ago, Raul-Sorin Sorban said:

I apologise for overlooking your support message! Please have a look at this. In addition to that, ConditionMinimumAmount and ConditionMaximumAmount work quite the same. It's a decimal value between 0 to 1, which 0 is minimum condition of an item (0) and 1 is the maximum condition of an item. Whenever a container is (re)generated, a random value is chosen between ConditionMinimumAmount and ConditionMaximumAmount, which gets scaled based on the item's maximum condition.

So basically the conditionminimum and conditionmaximum has to do with durability?

  • Administrator
Raul-Sorin Sorban

Posted (edited)

57 minutes ago, Lucius said:

So basically the conditionminimum and conditionmaximum has to do with durability?

Yes, condition = item durability. The green bar on the item.

Edited by Raul-Sorin Sorban
Lucius

Posted

49 minutes ago, Raul-Sorin Sorban said:

The green bar on the item.

Im pretty familiar 🙂

Lucius

Posted

What does the refillrate do exactly?

  • Administrator
Raul-Sorin Sorban

Posted

2 minutes ago, Lucius said:

What does the refillrate do exactly?

Currently, refilling rate is the rate in minutes which wipes the entire container from memory, so when a player goes to it, the container will be freshly reset/refilled.

Lucius

Posted

3 minutes ago, Raul-Sorin Sorban said:

Currently, refilling rate is the rate in minutes which wipes the entire container from memory, so when a player goes to it, the container will be freshly reset/refilled.

So default respawn rate is 40 minutes?

  • Administrator
Raul-Sorin Sorban

Posted

6 minutes ago, Lucius said:

So default respawn rate is 40 minutes?

Yes. It's also the value I usually use for the default config present in the description.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
160.4k
Total sales
Payments
3.5m
Processed total
×
×
  • Create New...

Important Information

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.