.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old March 27th, 2007, 06:55 AM
JepSan's Avatar

JepSan JepSan is offline
Private
 
Join Date: Mar 2004
Location: Denmark
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
JepSan is on a distinguished road
Default Re: Site Searching Strategy

Thanks Edi, thats very interesting. I have been wondering a bit about the concrete mechanics of magic site distribution.

Could you - or somebody else perhaps - tell me:

1) What is the difference between common/uncommon/rare sites? You mention someting about a reroll being required for a rare site to appear?

2) How often does the different site types appear? I would guess (from experience) that at least 70% of the magic sites are common sites, but perhaps I have just not looked hard enough for the rare (and often high-level) sites.

3) The graphics icons of the magic sites differ - even among sites of the same magic type (fire, death, earth, etc.). Does th different icons indicate the rarity of the site (common, uncommon, rare) or the magic path level (1-4) you need to find the site?
Reply With Quote
  #2  
Old March 27th, 2007, 07:28 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Site Searching Strategy

1) There are 4 possible slots for sites per each province. First slot is checked against site probability. If site appears, it is randomly determined. Then next slot is checked for site probability. As soon as a site slot comes up as empty, it and all the slots following it will remain empty. So if the first one comes up empty, no sites at all in the province.

Common sites have a greater likelihood to appear than uncommon sites, which again have a greater probability than rare sites. If the random determination results in a rare site, that result is rerolled and the second result will be the actual site that appears. In other words, a rare site appears only if the reroll also comes up as rare.


2) The exact percentages of common/uncommon/rare are not known, but I'd throw an off-the-cuff guesstimate of 60%/30%/10%, give or take something. It'd need some statistical analysis of a fairly large sample size with controlled terrains to get reliable results, and even those would be rough results.

3) The relationship of site icons to their level and rarity is not clearly established, but there seems to be some correlation, in some cases at least. The correlation seems to be more closely to the site level than to rarity.
Reply With Quote
  #3  
Old March 27th, 2007, 02:06 PM

Kaljamaha Kaljamaha is offline
Private
 
Join Date: Nov 2003
Location: Helsinki, Finland
Posts: 44
Thanks: 0
Thanked 1 Time in 1 Post
Kaljamaha is on a distinguished road
Default Re: Site Searching Strategy

Quote:
Edi said:
1) There are 4 possible slots for sites per each province. First slot is checked against site probability. If site appears, it is randomly determined. Then next slot is checked for site probability. As soon as a site slot comes up as empty, it and all the slots following it will remain empty. So if the first one comes up empty, no sites at all in the province.
Is this really so? I usually play with 30-35% sites, and according to what you said, the site frequency for, let's say 30% sites would be:

0 sites: 70% provinces
1 site: 21% provinces
2 sites: 6.3% provinces
3 sites: 1.9% provinces
4 sites: 0.8% provinces

Even though I haven't done any statistical testing, I am fairly confident this is not what I'm seeing. Even for 50% site frequency (say, the abovementioned 30% plus terrain bonus) the numbers would be 50 (0), 25 (1), 12.5 (2), 6.25 (3), 6.25 (4).

As opposed to a binomial distribution, which for example for 30% sites would look like this: 24 (0), 41 (1), 26 (2), 8 (3), 1 (4).


K.
__________________
Mental health is an extremely serious issue, which, if not detected and treated early on, will drive you mad.
Reply With Quote
  #4  
Old March 27th, 2007, 02:22 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Site Searching Strategy

I'll take your word for that. I barely scraped through statistical and probability math at high school and failed every course on the subject after that.

It's not that I have a problem understanding the results of statistical analysis and probabilities, but trying to figure out the actual process from raw data, I screw that up every time.

So if the binomial model looks like it fits the observations better, then it's probably more accurate.
Reply With Quote
  #5  
Old April 9th, 2007, 09:33 AM

LoloMo LoloMo is offline
First Lieutenant
 
Join Date: Feb 2007
Location: Manila, Philippines
Posts: 746
Thanks: 36
Thanked 2 Times in 2 Posts
LoloMo is on a distinguished road
Default Re: Site Searching Strategy

Is there any chance for Capitals to have magic sites other than those you start with? In other words, do you search your capital for magic sites?
Reply With Quote
  #6  
Old April 9th, 2007, 10:32 AM
Meglobob's Avatar

Meglobob Meglobob is offline
Major General
 
Join Date: Sep 2006
Posts: 2,198
Thanks: 90
Thanked 32 Times in 22 Posts
Meglobob is on a distinguished road
Default Re: Site Searching Strategy

Quote:
LoloMo said:
Is there any chance for Capitals to have magic sites other than those you start with? In other words, do you search your capital for magic sites?
No and no.

But they can get a site via a random event.
Reply With Quote
  #7  
Old May 18th, 2008, 01:49 PM

Jarl Jarl is offline
Private
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Jarl is on a distinguished road
Default Re: Site Searching Strategy

Can someone please make a suggestions for a new algorithm - that make a better default target for a site search spell? Then we can hope that Johan will implement it and include it in the next fix...

Make it prefer areas that:
- is'nt close to enemy borders (if possible)
- has'nt got any located sites yet
- start with terrain that will favor your capitals mages
- has been searched by other magic types, but not located any sites yet
- etc.

A better algorithm would save a lot of boring checking time, especially on large maps...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 03:42 PM.


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