Super Battle Golf
Install with App

Details

Latest version
1.0.0
Last Updated
First Uploaded
Downloads
9
Likes
0
Size
13KB
Dependants

Categories

RandomWind

Adds a Random entry to the Wind dropdown in the match setup menu. Each hole, the host rolls a uniform wind speed between a configurable minimum and maximum (default 0-99 km/h, 99 being the top of High).

Host-only

Only the lobby host needs the mod. Wind speed and angle are sent to every player by the game's own networking, so players without the mod get the correct wind. The Random entry only exists in the host's menu, so a player without the mod may see a different label for that setting.

Config (com.sbg.randomwind.cfg)

Key Default Meaning
MinWindKmh 0 Lowest speed the Random option can roll (0-100)
MaxWindKmh 99 Highest speed the Random option can roll (0-100)
LowWindBias 1 1 = every speed equally likely. Higher skews toward the minimum (see below)
NoWindChancePercent 0 Extra chance (0-100) a hole rolls exactly the minimum, e.g. no wind when min is 0
UseDropdownOption true Add the Random entry to the Wind dropdown
FallbackOverrideEnabled false Roll every non-Off wind setting in the min/max range instead of its tier. Use if the dropdown entry breaks after a game update

If min is set above max they are swapped. A rolled speed of 0 hides the wind widget, same as Off.

Shaping the odds

The default is a flat roll, so over 0-99 exactly half of all rolls are 50 km/h or more, the average is about 49.5 (vanilla Medium averages about 40), and exactly 0 comes up 1% of the time. If that feels too windy, lower MaxWindKmh or skew the roll with LowWindBias:

Setting (range 0-99) No wind Under 20 20-60 Over 60 Average
LowWindBias 1 (default) 1% 20% 41% 39% 49.5
LowWindBias 1.5 4.6% 34% 38% 28% 40
LowWindBias 2 10% 45% 33% 22% 33

NoWindChancePercent adds to those figures. For example LowWindBias 1.5 with NoWindChancePercent 10 gives roughly 14% no-wind holes.

Notes

  • Random is stored as value 5 in the saved lobby settings. If you uninstall the mod, a vanilla host loads 5, which the game does not know, so there is no wind until you pick another option.
  • The angle is rolled by the game as usual (0-359 degrees).
  • Works with MatchSeed: with both installed, Random wind is part of a replayable seed. Changing LowWindBias, NoWindChancePercent or the min/max changes the result for a given seed.
  • If a game update breaks the dropdown entry, set UseDropdownOption = false and FallbackOverrideEnabled = true to apply the min/max range to the game's normal wind settings.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.