.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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old August 31st, 2009, 01:57 PM

Snoddasmannen Snoddasmannen is offline
Private
 
Join Date: Nov 2007
Posts: 35
Thanks: 7
Thanked 20 Times in 5 Posts
Snoddasmannen is on a distinguished road
Default Re: Offline version of spell database?

Well importing the data into a database is very easy. It's also the job I did the worst I ripped the structure straight from the excel sheet, which was a really bad idea in retrospect.

To specify the magic level required to cast the spells, it uses four columns, two to specify the major and minor kinds of magic (indexed as ints) and the other two to specify the level required in each of those two(which is often 0 for the minor level). I copied this straight off.



In a relational database, I think this is dubious, I'm not even sure it's properly normalized. In any case, it made searching very difficult, but I could never be hassled to fix it. I should probably have had one column for each kind of magic along with the level required in that school to cast it. Plus an extra column to specify which is the major kind, I guess.

It would have made searching a lot easier at least ... Oh well. I'm sure there are proper DB people out there who can come up with even better schemes
Reply With Quote
 

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 07:33 PM.


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