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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old September 25th, 2007, 10:07 AM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: Suggestion to autocasting search spells

How are you always fighting South?
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #2  
Old September 25th, 2007, 10:15 AM

jutetrea jutetrea is offline
First Lieutenant
 
Join Date: Jan 2007
Location: Tampa, FL
Posts: 687
Thanks: 0
Thanked 1 Time in 1 Post
jutetrea is on a distinguished road
Default Re: Suggestion to autocasting search spells


I eighth this notion!

no sites
1 site
2 sites
3 sites
Searched by lvl 1
Searched by lvl 2
Searched by lvl 3
Always skip capitals
Reply With Quote
  #3  
Old September 25th, 2007, 10:45 AM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: Suggestion to autocasting search spells

Do we understand the site placing algorithm well enough to say that there's a better chance of finding a site in province with less known sites than in one with more known sites?

Or is it just the statistics I don't understand...
Reply With Quote
  #4  
Old September 25th, 2007, 11:40 AM
Hadrian_II's Avatar

Hadrian_II Hadrian_II is offline
Major
 
Join Date: Oct 2006
Location: Bern, Switzerland
Posts: 1,109
Thanks: 14
Thanked 17 Times in 14 Posts
Hadrian_II is on a distinguished road
Default Re: Suggestion to autocasting search spells

Quote:
jutetrea said:

I eighth this notion!

no sites
1 site
2 sites
3 sites
Searched by lvl 1
Searched by lvl 2
Searched by lvl 3
Always skip capitals
I would also like this implemented.
Reply With Quote
  #5  
Old September 25th, 2007, 12:04 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: Suggestion to autocasting search spells

I don't understand the desire to prioritize searches of provinces with no known sites.

The site placing algorithm, as I understand it is:
roll %chance of site
if yes, determine which site then roll again
if no then exit.

Max of 4 sites, but the point is, if there you know there is one site, the chances of another site are just as good as when you didn't know of any.

I'd much rather search a Waste site (+20%) that already had 3 sites than a farm (-10%) that had none.

Am I missing something?
Reply With Quote
  #6  
Old September 25th, 2007, 12:32 PM

RonD RonD is offline
Second Lieutenant
 
Join Date: Nov 2004
Posts: 449
Thanks: 0
Thanked 3 Times in 2 Posts
RonD is on a distinguished road
Default Re: Suggestion to autocasting search spells

Quote:
thejeff said:

I'd much rather search a Waste site (+20%) that already had 3 sites than a farm (-10%) that had none.

Am I missing something?
Hmmm. Suppose you're searching with Acashic Record and the base chance is 50%.

For the Waste province, the chance to find a site is 70%.

For the Farm, the chance to find 0 sites is 0.6^4 = 13%, so the chance to find 1 or more sites is 87%.

Its more complicated when searching with the individual spells (because the Waste site must have already been searched with some).


I wouldn't have spent any more than 10 seconds working that out, because I seriously doubt we will ever see a complicated auto-search algorithm. The devs prefer to spend time adding cool new content - and that's fine by me.
Reply With Quote
  #7  
Old September 25th, 2007, 12:43 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: Suggestion to autocasting search spells

No, the chance in the Farm is 40%.

It's not 4 separate checks against the percentage. If there is one site, then the code checks to see if there is another one, and so on, up to 4 sites.
If the first check fails, there are no sites there.
Reply With Quote
  #8  
Old September 25th, 2007, 01:15 PM

RonD RonD is offline
Second Lieutenant
 
Join Date: Nov 2004
Posts: 449
Thanks: 0
Thanked 3 Times in 2 Posts
RonD is on a distinguished road
Default Re: Suggestion to autocasting search spells

Quote:
Emily Latella said:
Oh. That's very different.


Never mind.

Reply With Quote
  #9  
Old September 25th, 2007, 02:51 PM

RonD RonD is offline
Second Lieutenant
 
Join Date: Nov 2004
Posts: 449
Thanks: 0
Thanked 3 Times in 2 Posts
RonD is on a distinguished road
Default Re: Suggestion to autocasting search spells

Quote:
thejeff said:
No, the chance in the Farm is 40%.

It's not 4 separate checks against the percentage. If there is one site, then the code checks to see if there is another one, and so on, up to 4 sites.
If the first check fails, there are no sites there.
It looks like this is not correct. I tweaked Boron's testmap. I took out all the terrain statements (so everything is plains), set ownership for a boatload of provinces to one of the nations (turned out to be 67 provinces total), and used the Seraphs to cast Acashic record on all 67). I created the game with site freq set at 50%.

By your explanation, about 1/2 should have had 0 sites, but here's what I got:

0 sites - 6
1 site - 13
2 sites - 29
3 sites - 17
4 sites - 2
Reply With Quote
  #10  
Old September 25th, 2007, 12:00 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: Suggestion to autocasting search spells

Quote:
llamabeast said:
How are you always fighting South?
Just unlucky I guess. It's annoying you can't switch the direction around.
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 06:49 AM.


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