Warning: Illegal string offset 'type' in [path]/includes/class_postbit.php(294) : eval()'d code on line 65
Luck/Turmoil versus Nothing. - .com.unity Forums
.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old June 21st, 2010, 11:30 PM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default Re: Luck/Turmoil versus Nothing.

I wrote up a long post that seems to have gotten eaten.
But events seem to occur in clusters in provinces, far more than chance would indicate.

For example, I have gotten the *temple made, and temple destroyed events* in the same province, in the same turn.
Same things with labs.

This means that the events follow sequentially from each other.
Ie., events are not rolled randomly on a table and then applied.. its event 1 apply, event 2 apply et.c

I personally think it goes like this:

1. Determine number of events.
2. Randomly choose province for event
3. Determine what events can happen (scales etc).
4. Check each possible event see if it happens.
5. Still have events remaining.. go to 2.

I say this because very randomly in old versions you could get more than 4 events in a province. Which if you had a province with a lot of potential luck events, they might have missed the programming loop to check that (ie., only check at step 5 instead of step 4.
Reply With Quote
  #2  
Old June 22nd, 2010, 12:01 AM
Squirrelloid Squirrelloid is offline
Major General
 
Join Date: Jun 2009
Posts: 2,157
Thanks: 69
Thanked 116 Times in 73 Posts
Squirrelloid is on a distinguished road
Default Re: Luck/Turmoil versus Nothing.

Quote:
Originally Posted by chrispedersen View Post
1. Determine number of events.
2. Randomly choose province for event
3. Determine what events can happen (scales etc).
4. Check each possible event see if it happens.
5. Still have events remaining.. go to 2.
1 is almost certainly wrong based on the data I have. If it predetermined the number of events, you'd be unlikely to see a binomial distribution (which you do see). (I mean, I suppose it could calculate the number of events based on a binomial distribution, but that doesn't seem like the kind of thing JK would have bothered to do. In fact, the only reason to do that is to fool people trying to figure out how events are generated.
__________________
The ignorant shall fall to the squirrels.
--Chip 4:2

Ulm: Order of the Black Rose - Reimagining MA Ulm

A more Sombre forum: http://z7.invisionfree.com/Dom3mods/index.php?.act=idx. Now with more Maerlande.
Reply With Quote
  #3  
Old June 22nd, 2010, 03:24 AM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default Re: Luck/Turmoil versus Nothing.

Quote:
Originally Posted by Squirrelloid View Post
Quote:
Originally Posted by chrispedersen View Post
1. Determine number of events.
2. Randomly choose province for event
3. Determine what events can happen (scales etc).
4. Check each possible event see if it happens.
5. Still have events remaining.. go to 2.
1 is almost certainly wrong based on the data I have. If it predetermined the number of events, you'd be unlikely to see a binomial distribution (which you do see). (I mean, I suppose it could calculate the number of events based on a binomial distribution, but that doesn't seem like the kind of thing JK would have bothered to do. In fact, the only reason to do that is to fool people trying to figure out how events are generated.
how is rolling four times (step one) not binomial?
Reply With Quote
  #4  
Old June 22nd, 2010, 10:15 AM

LDiCesare LDiCesare is offline
Captain
 
Join Date: Apr 2004
Location: France
Posts: 820
Thanks: 4
Thanked 33 Times in 24 Posts
LDiCesare is on a distinguished road
Default Re: Luck/Turmoil versus Nothing.

The issue with this:
Quote:
1.Determine number of events.
2. Randomly choose province for event
is that it would take the order/turmoil probability factor out of the equation, or use that of one predetermined province like the capital.
To test it, we'd have to put a capital with +3 order and another province with +3 turmoil and see
- if events are evenly balanced between the provinces
- if the overall probability of events is that of an order 3 province or an order 0.
Reply With Quote
  #5  
Old June 22nd, 2010, 02:01 PM
Squirrelloid Squirrelloid is offline
Major General
 
Join Date: Jun 2009
Posts: 2,157
Thanks: 69
Thanked 116 Times in 73 Posts
Squirrelloid is on a distinguished road
Default Re: Luck/Turmoil versus Nothing.

Quote:
Originally Posted by chrispedersen View Post
Quote:
Originally Posted by Squirrelloid View Post
Quote:
Originally Posted by chrispedersen View Post
1. Determine number of events.
2. Randomly choose province for event
3. Determine what events can happen (scales etc).
4. Check each possible event see if it happens.
5. Still have events remaining.. go to 2.
1 is almost certainly wrong based on the data I have. If it predetermined the number of events, you'd be unlikely to see a binomial distribution (which you do see). (I mean, I suppose it could calculate the number of events based on a binomial distribution, but that doesn't seem like the kind of thing JK would have bothered to do. In fact, the only reason to do that is to fool people trying to figure out how events are generated.
how is rolling four times (step one) not binomial?
But why would you check that way if you're determining number of events all at once? It only makes sense to determine them independently if you're checking for the event after some other step 1. (Especially given what we know of JK's programming style)

In addition to the problem LDICaesare points out, your method also predicts that empire size has no effect on the number of events seen. I'm pretty sure this is wrong, but I haven't recorded data to test it specifically.
__________________
The ignorant shall fall to the squirrels.
--Chip 4:2

Ulm: Order of the Black Rose - Reimagining MA Ulm

A more Sombre forum: http://z7.invisionfree.com/Dom3mods/index.php?.act=idx. Now with more Maerlande.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:58 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.