Jump to content

Spawn Chance

Closed 2.0.4

Neighigh
Neighigh

Posted

Trying to understand the methodology to the spawn chances here:
          "SpawnChanceTimes": 4,
          "SpawnChanceScale": 5

Is this like 'rolling' on the loot table?
Right now my assumption is SpanChanceTimes = how many times the system can include it in total "rolls" for a possible spawn.
Second assumption is SpawnChanceScale = the 'weighting' of a possible spawn in a loot table compared to other possible items listed.

Would this mean lower numbers = less chance of the item spawning? - For now I cannot tell whether this is the case and it is making it difficult to modify my own loot tables accurately.

  • Like 1
  • Administrator
Raul-Sorin Sorban

Posted

18 minutes ago, Neighigh said:

Trying to understand the methodology to the spawn chances here:
          "SpawnChanceTimes": 4,
          "SpawnChanceScale": 5

Is this like 'rolling' on the loot table?
Right now my assumption is SpanChanceTimes = how many times the system can include it in total "rolls" for a possible spawn.
Second assumption is SpawnChanceScale = the 'weighting' of a possible spawn in a loot table compared to other possible items listed.

Would this mean lower numbers = less chance of the item spawning? - For now I cannot tell whether this is the case and it is making it difficult to modify my own loot tables accurately.

Yep, that's exactly how that works! For both SpawnChanceTimes and Scale. Times is how many times in the scale it'll be likely to be a picked choice.

5 Times in 10 Scale would mean 50% chance, 50/50. 1 Time in 10 Scale would mean 10% chance, and so on. I included both values as modifiable to get the best kind of accuracy for random loot tables. Could use 2 Times in 50 Scale which is super less likely to hit, but it works well for unique, very rare items to spawn.

  • Love 1
Neighigh

Posted

Perfect! Thanks so much! I've been having a lot of fun editing the tables and bringing in the DLC items or some oddballs like duct tape and maps for giggles. 🙂 I'll be able to edit the full list with a lot more confidence knowing the method behind it now, appreciate the speedy reply!
 

ALSO: Unrelated, but is there a chance we could see functionality for your other plugin - FacePunch - To be able to damage open the lootables? It's become a staple in our server and would love to keep it's functionality mainstreamed with this too.

  • Love 1
  • Administrator
Raul-Sorin Sorban

Posted

12 minutes ago, Neighigh said:

Perfect! Thanks so much! I've been having a lot of fun editing the tables and bringing in the DLC items or some oddballs like duct tape and maps for giggles. 🙂 I'll be able to edit the full list with a lot more confidence knowing the method behind it now, appreciate the speedy reply!
 

ALSO: Unrelated, but is there a chance we could see functionality for your other plugin - FacePunch - To be able to damage open the lootables? It's become a staple in our server and would love to keep it's functionality mainstreamed with this too.

Glad it works out so well for you! Really happy to hear that.

In regards to the unrelated point, that's a crossover that we deserve. Working on it!

  • Love 1
  • Administrator
Raul-Sorin Sorban

Posted

Changed Status from Pending to Closed

1.5m

Downloads

Total number of downloads.

7.1k

Customers

Total customers served.

106k

Files Sold

Total number of files sold.

2.1m

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.