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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #11  
Old October 4th, 2006, 05:23 PM
Baalz's Avatar

Baalz Baalz is offline
Major General
 
Join Date: Feb 2004
Location: Houston, Texas
Posts: 2,435
Thanks: 57
Thanked 662 Times in 142 Posts
Baalz will become famous soon enough
Default Re: Ritual/site searching questions

I take it there is no "auto forge" option in the same vein? It'd be nice to set up little owl quill factories and such without having to micromanage each turn.
Reply With Quote
  #12  
Old October 4th, 2006, 05:25 PM
Nerfix's Avatar

Nerfix Nerfix is offline
Lieutenant General
 
Join Date: Sep 2003
Location: Hyvinkää, Finland
Posts: 2,703
Thanks: 0
Thanked 1 Time in 1 Post
Nerfix is on a distinguished road
Default Re: Ritual/site searching questions

Quote:
Baalz said:
I take it there is no "auto forge" option in the same vein? It'd be nice to set up little owl quill factories and such without having to micromanage each turn.
That would be good, yes.
__________________

"Boobs are OK. Just not for Nerfix [img]/threads/images/Graemlins/Smile.gif[/img] ."
- Kristoffer O.
Reply With Quote
  #13  
Old October 4th, 2006, 05:28 PM
JaydedOne's Avatar

JaydedOne JaydedOne is offline
Second Lieutenant
 
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 488
Thanks: 0
Thanked 0 Times in 0 Posts
JaydedOne is on a distinguished road
Default Re: Ritual/site searching questions

You know, that shouldn't be hard to code in... Given that you can shift-m for rituals... But then, Johan O. might have my head on a spit for incorrectly stating that. ;-)
Reply With Quote
  #14  
Old October 4th, 2006, 09:19 PM

Neophyte Neophyte is offline
Private
 
Join Date: Nov 2005
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Neophyte is on a distinguished road
Default Re: Ritual/site searching questions

Reading the pre-release threads, I found myself understanding that the likelihood of finding that type of site in that type of terrain would be taken into consideration as well. For example, with certain sites settings, it might be more likely to find an Astral site in plains than in Mountains, and thus the auto-search would suggest a plains for Arcane Probing. Is this not the case?
Reply With Quote
  #15  
Old October 5th, 2006, 02:13 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: Ritual/site searching questions

Doesn't seem to take province type into consideration.

What it seems to do:
When the order is given, choose the lowest numbered unsearched province.
When the spell is cast, again set the caster to cast the spell on the lowest numbered unsearched province, if the gems are available.
Two annoyances with this are, since spells are cast before battles, it will not target provinces taken that turn. Also, new gems haven't been acquired yet, so you have to have enough gems left at the end of the turn for next turn's searches.
I'm not sure what happens if a targetted province is taken. Probably the order is cancelled.
Reply With Quote
  #16  
Old October 10th, 2006, 09:53 PM

Wick Wick is offline
Sergeant
 
Join Date: Oct 2003
Posts: 262
Thanks: 1
Thanked 0 Times in 0 Posts
Wick is on a distinguished road
Default Re: Ritual/site searching questions

This is the site searcing algorithim I'd use. I doesn't check strategic considerations because that's hard. It also doesn't factor that existing searches in other paths improve the odds because I've forgotten the proof that it does.

I've used variables instead of numbers so numberOfPaths = 9 (including Holy), maxSlots = 4 etc. and if the rest isn't obvious then I haven't done it right:

for i = 1 to provinces
if provinceControl(i) = player then
for j = 1 to numberOfPaths
if searchingLevel(j) > 0 then
searchedLevel = withDeclaredSearchers(i, player)
if searchingLevel(j) > searchedLevel then
slotvalue = 0
for k = 1 to (maxSlots - knownSites)
slotValue = slotValue + (baseChance + terrainChance)^j * (searchingLevel - searchedLevel)
next k
endif
endif
searchValue(i) = searchValue(i) + slotValue
next j
endif
next i

Then search the most valuable province.
Reply With Quote
  #17  
Old October 11th, 2006, 04:47 AM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: Ritual/site searching questions

Quote:
Wick said:
It also doesn't factor that existing searches in other paths improve the odds because I've forgotten the proof that it does.
If I understand what you mean, then the proof is as follows:
A province has a certain number of magic sites, for example lets say a certain province has 1 magic site.
If you searched the province for every magic other than death, and didn't find anything, then that means that the site must be a death site, so the province having been searched for other magics without finding any sites means it is more likely that what sites are in the province will be of the path you are now searching for.
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #18  
Old October 11th, 2006, 04:54 AM
Corwin's Avatar

Corwin Corwin is offline
First Lieutenant
 
Join Date: Oct 2006
Location: Palo Alto, CA
Posts: 638
Thanks: 1
Thanked 3 Times in 3 Posts
Corwin is on a distinguished road
Default Re: Ritual/site searching questions

Quote:
Neophyte said:
Reading the pre-release threads, I found myself understanding that the likelihood of finding that type of site in that type of terrain would be taken into consideration as well. For example, with certain sites settings, it might be more likely to find an Astral site in plains than in Mountains
Really? What settings and why?

Could you point me to some of the threads that you've mentioned by any chance?
Reply With Quote
  #19  
Old October 11th, 2006, 02:13 PM
Taqwus's Avatar

Taqwus Taqwus is offline
Major General
 
Join Date: Aug 2000
Location: Mountain View, CA
Posts: 2,162
Thanks: 2
Thanked 4 Times in 4 Posts
Taqwus is on a distinguished road
Default Re: Ritual/site searching questions

Some are terrain-dependent; you shouldn't see "Inkpot End" outside of swamps, if memory serves. Another ex: most can only appear either on land, or underwater, but not both.
__________________
Are we insane yet? Are we insane yet? Aiiieeeeee...
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 04:37 PM.


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