.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, 03:28 PM
LazarusLong42's Avatar

LazarusLong42 LazarusLong42 is offline
Corporal
 
Join Date: Nov 2000
Location: Ann Arbor, MI, USA
Posts: 191
Thanks: 0
Thanked 0 Times in 0 Posts
LazarusLong42 is on a distinguished road
Default Re: RDBMS

St-Cyr,

I work with databases quite a bit even though I'm not an actual DBA. (I use Access and mySQL). I don't see any really _useful_ way in which an RDB could be used by players or modders, though... which I think is why you don't see many people talking about them here.

What sort of things would you be talking about doing with SE4 and an RDB?

(Within the game, of course, I can see a lot of call for all sorts of relations, but that's somethign else

LL/Eric Snyder II
__________________
in Virtuo Design
Read my latest story at Speculon
Reply With Quote
  #2  
Old October 26th, 2001, 07:38 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

i dont see a whole lot of use here for a RDB either. people have dumped things like the components file into spreadsheets to analyze different damage / weight / RoF ratios, and other such things.. but unless you wanted to extract the most optimal ship design with a given technology level or something, im not sure what you would accomplish.
__________________
...the green, sticky spawn of the stars
(with apologies to H.P.L.)
Reply With Quote
  #3  
Old October 26th, 2001, 08:01 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

DBA is one job that I would not envy having. It takes a special kind of person with a keen analitical eye to do that kind of work. The most I have done with Data Basing is with Acess and MySQL. Now statistics, thats for me. God showed man how much he cared when SPC was realized.

------------------
New Age Ship Yards

"We've made too many compromises already, too many retreats! They invade our space and we fall back -- they assimilate entire worlds and we fall back! Not again! The line must be drawn here -- this far, no further! And I will make them pay for what they've done!" -- Captain Picard STNG

Borg Breen Species 8472 Cardassian Dominion STNG Ferengi Klingon Romulan
Trek Movie era TOS Illuminati Starwolf
__________________
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
  #4  
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
  #5  
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
  #6  
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
  #7  
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.