.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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old July 27th, 2007, 10:43 PM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: Indep grimoire slightly improved

Well, you're already keeping track of two concepts here:

1.) The spells you really have access to (defined by your research level), and

2.) the spells you can cast.

Right now #2 is just a cache of #1, regenerated every round, but if you allowed disabling spells by clicking on a toggle or something you just remove them from #2 (and put them on a list of "restricted" spells to remove every time you regenerate #2 from #1). The combat AI doesn't have to change at all, and since it's purely subtractive there's no worry about bugs that "enable" spells you haven't actually researched yet. I'm presuming that the Dom2 way would have necessitated adding *and* subtracting spells to/from the list as they were enabled/disabled.

Of course, maybe it's not as simple as that. For one thing, you have to also encode the "restricted" list as part of the .2h file for PBEM games.

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
 

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


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