Skip to main content

Generate Symbol Weights

This node calculates the probability weights for symbols.

The Generate Symbol Weights node creates a distribution curve for symbol frequency.

The Generate Symbol Weights node helps balance the game by generating a set of weights for your symbols based on a mathematical formula. This is easier than manually tuning "10, 20, 30..." for every symbol.

Inputs​

Parameters​

DataDescription
Number of SymbolsTotal unique symbols in the game.
Weight FormulaA math formula using x (symbol index). Default: exp(-x / 15).

Custom Weights​

DataDescription
Symbol N Custom WeightOverride the calculated weight for specific symbols.

Actions​

SignalDescription
DoTriggers the calculation.

Outputs​

Results​

DataDescription
Normalized Base WeightsAn array of weights summing to 100 (percentages).

Events​

SignalDescription
DoneTriggered when complete.

Usage​

Balancing​

  1. Set Number of Symbols to 10.
  2. Use a formula like 100 - (x * 5) to make early symbols common and later symbols rare.
  3. Connect the output to Generate Reel Strips.

Detailed Behavior​

  • Formula: Evaluated for x = 1 to N.
  • Normalization: The raw results are scaled so they sum to 100, making them easier to understand as percentages.

Troubleshooting​

  • Negative Weights: Ensure your formula doesn't produce negative numbers for the given range of x.