playMaker

Author Topic: Random Event Weighting changing over time?  (Read 2625 times)

4ppleseed

  • Full Member
  • ***
  • Posts: 226
Random Event Weighting changing over time?
« on: January 24, 2017, 05:41:46 AM »
When using RandomEvent Weighting I want to select from 4 events. 3 with the same probability and 1 with a lower probabilty that increases every turn. Am I right in thinking I can set them like this:

EventA 1
EventB 1
EventC 1
EventD 0.1

and then next turn:

EventA 1
EventB 1
EventC 1
EventD 0.5

and the next:

EventA 1
EventB 1
EventC 1
EventD 0.7

Is that similar to these percentages?

EventA 1   32.5%
EventB 1   32.5%
EventC 1   32.5%
EventD 0.1   2.5%

EventA 1   29.2%
EventB 1   29.2%
EventC 1   29.2%
EventD 0.5   12.5%

EventA 1   27.08%
EventB 1   27.08%
EventC 1   27.08%
EventD 0.7   17.5%

Or have I got this wrong?
Thanks!
« Last Edit: January 24, 2017, 08:07:37 AM by 4ppleseed »

4ppleseed

  • Full Member
  • ***
  • Posts: 226
Re: Random Event Weighting changing over time?
« Reply #1 on: February 03, 2017, 06:48:57 AM »
Bump.

Anyone know how the weighting translates to %?
Am I on the right track?

Thanks

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Random Event Weighting changing over time?
« Reply #2 on: February 03, 2017, 10:16:39 AM »
They should all add up to 1. So if you want:

EventA 32.5%
EventB 32.5%
EventC 32.5%
EventD 2.5%

Then set weight to:

EventA 0,325
EventB 0,325
EventC 0,325
EventD 0,025
Available for Playmaker work

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Random Event Weighting changing over time?
« Reply #3 on: February 03, 2017, 05:24:07 PM »
Hi,
You can easily test this (sorry no sound) :



4ppleseed

  • Full Member
  • ***
  • Posts: 226
Re: Random Event Weighting changing over time?
« Reply #4 on: February 04, 2017, 04:37:56 PM »
Hi,
You can easily test this (sorry no sound) :


Thanks! That's really interesting  8)