Jump to content

Need some info/explanation.

Not a Bug 2.0.11

Lucius

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

        }

Link to comment
  • Administrator
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.

Link to comment
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?

Link to comment
  • Administrator
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
Link to comment
  • Administrator
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.

Link to comment
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?

Link to comment
  • Administrator
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.

  • Like 1
Link to comment
1.4m

Downloads

Total number of downloads.

6.7k

Customers

Total customers served.

100k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

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