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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old October 26th, 2001, 08:43 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: RDBMS

Here is the old thread about CODE. Read at own risk.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #2  
Old October 26th, 2001, 10:27 PM
Alpha Kodiak's Avatar

Alpha Kodiak Alpha Kodiak is offline
Captain
 
Join Date: Jan 2001
Location: Chandler, AZ, USA
Posts: 921
Thanks: 0
Thanked 0 Times in 0 Posts
Alpha Kodiak is on a distinguished road
Default Re: RDBMS

Malfador could have used an RDBMS for storing all of the data in the various AI files, component files, etc. and it would have probably worked more efficiently than parsing the text files, as is now done. The advantage to the text files is that anyone with a text editor can make their own modifications to the game. It would have been difficult (possible, but difficult) to provide the customization flexibility we have now using a database scheme to store all of the information.

If this were a production package where stability and data integrity were critical, I would definitely want it running on an RDBMS, but I believe that for a game of this nature, the text files are the way to go.

Having said that, I believe that the game would probably be more stable and perform faster if the data was in an RDBMS. What might have been cool, and might be good for SE5 would be to use the text files to populate an RDBMS. Then, people could make their changes to the text files and run a utility to load the changes into the database. Data validation would occur at that time, so you would never see an error crop up in the game because you hit an error in the text file. Multiple mods could easily be supported by adding a mod name to the key information for storing and extracting the data. I would imagine that this would entail a significant internal architecture change though, so we would not see anything like that in SEIV.

Ok, time to take off my designer's hat. It's too much fun to think about what could be done in a game when I am supposed to be debugging a GIS query interface that keeps wanting to lose the operator's selections.
__________________
My SEIV Code: L++++ GdY $ Fr+++ C-- S* T? Sf Tcp A%% M+++ MpT RV Pw+ Fq Nd- RP+ G++ Au+ Mm++(--)

Ursoids of the Galaxy, unite!
Reply With Quote
  #3  
Old October 26th, 2001, 11:23 PM
Puke's Avatar

Puke Puke is offline
Lieutenant General
 
Join Date: Dec 2000
Location: california
Posts: 2,961
Thanks: 0
Thanked 0 Times in 0 Posts
Puke is on a distinguished road
Default Re: RDBMS

are we talking about the design of the game, or utilities to mod the game or play more effectively?
__________________
...the green, sticky spawn of the stars
(with apologies to H.P.L.)
Reply With Quote
  #4  
Old October 27th, 2001, 09:18 AM

St-Cyr St-Cyr is offline
Private
 
Join Date: Sep 2001
Location: Montreal
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
St-Cyr is on a distinguished road
Default Re: RDBMS

Alpha Kodiak said most of what I was thinking about.
Loading files text files as they are in a RDB gives me the possibility of asking Queries in any direction I want. Kind of what people are getting with spreadsheets.

One way to use RDB would be to code a WinAPI file extension (virtual directory) so that multiples mods could be stored in a db and be shown as virtual files for PBW. Am working on something like this for a app about documentation for quality control. Files are basically built on the fly from the DB as soon as someone try to access them. That's how windows manages control panels, Favorites and printers by the way.

Of course if data is stored in DB it begs to simply use it to resolve the turn but this is malfador internals, I guess.

There are nifty tricks hidden in SQL. Ever read Joc Celko's SQL Puzzles?

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 02:42 AM.


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