.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 > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old May 24th, 2002, 12:18 AM

Ransack Ransack is offline
Private
 
Join Date: May 2002
Location: Edmonton, Canada
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Ransack is on a distinguished road
Default Re: Tech tree viewer in the works...

I was thinking of doing something like this too. One difference is that I am planning to use SVG as the output format. This would allow you to just point at a tech-level node and see in a floating window exactly what became available at that point.

Sound like a good idea?
Reply With Quote
  #2  
Old May 24th, 2002, 09:39 AM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: Tech tree viewer in the works...

Quote:
Originally posted by Hank:
The JDBC/ODBC bridge connects Java to Access fairly quickly. But the better design is to do as you are planning, parse the SEIV files themselves for the data you need that way your techtree will be able to pickup patch changes and probably even mod changes easily.
yep, that's right, i'm writing a seperate Loader class, so that any patch changes will be easily updated.

Quote:
Originally posted by Ransack:
I was thinking of doing something like this too. One difference is that I am planning to use SVG as the output format. This would allow you to just point at a tech-level node and see in a floating window exactly what became available at that point.

Sound like a good idea?
hmm, don't know much about SVG, other that it's based on xml?
__________________
[Boo!]
Reply With Quote
  #3  
Old May 25th, 2002, 07:03 AM
Skulky's Avatar

Skulky Skulky is offline
Second Lieutenant
 
Join Date: Oct 2001
Location: California
Posts: 521
Thanks: 0
Thanked 0 Times in 0 Posts
Skulky is on a distinguished road
Default Re: Tech tree viewer in the works...

I'm kinda confused, woudl this tech viewer be for only the "vanilla" mod or for any tech tree? Cool either way though, i have trouble planning my sneaky research schemes when im not at a computer with my game open.
__________________
Come join the forces of democracy and fight for independence from Totalitarianism, Dictatorships, Emperors and Empresses, Oligarchys and Fundamentalists at SE4 by Committee
Reply With Quote
  #4  
Old May 25th, 2002, 06:25 PM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: Tech tree viewer in the works...

This will be for any mod, all you have to do is specify the mod directory, and it will create graphical tech tree out of it.
__________________
[Boo!]
Reply With Quote
  #5  
Old May 28th, 2002, 03:57 AM
raynor's Avatar

raynor raynor is offline
Captain
 
Join Date: Jan 2001
Location: Texas
Posts: 830
Thanks: 0
Thanked 0 Times in 0 Posts
raynor is on a distinguished road
Default Re: Tech tree viewer in the works...

Here is a link to a very, very, very simple tech cost program for weapons I wrote Last year sometime:
Download techview 0.13

You tell it where to find the components.txt file, and it tries to read that file and the techarea.txt in the same directory. Except for being pretty unforgiving of errors in those files, it will display the info for the default files or modded files.

The program displays a list of weapons on the left and the cost to research each weapon in the family on the right. You can choose low, medium or high tech cost.

I always hoped to someday expand this program to show tech costs for all the components but RL got in the way (that and RTCW).

[ May 28, 2002, 03:08: Message edited by: raynor ]
Reply With Quote
  #6  
Old May 28th, 2002, 06:10 AM

Andrés Andrés is offline
Major
 
Join Date: Apr 2001
Location: Rosario, Argentina
Posts: 1,047
Thanks: 0
Thanked 0 Times in 0 Posts
Andrés is on a distinguished road
Default Re: Tech tree viewer in the works...

Excellent program raynor.
I'm trying to find what's the error in my modded files to make it run with them. Any suggestion. What common mistake can be overseen by the game but not by this program?

Showing total tech cost of all tech areas should be more like removing a filter not like adding a new feature.
Reply With Quote
  #7  
Old May 28th, 2002, 07:53 AM
raynor's Avatar

raynor raynor is offline
Captain
 
Join Date: Jan 2001
Location: Texas
Posts: 830
Thanks: 0
Thanked 0 Times in 0 Posts
raynor is on a distinguished road
Default Re: Tech tree viewer in the works...

Quote:
Excellent program raynor.
I'm trying to find what's the error in my modded files to make it run with them. Any suggestion. What common mistake can be overseen by the game but not by this program?
Thanks. Mainly, the program is particular about blank lines. The game accepts blank lines inside components and techareas and multiple blank lines between components and techareas. But this simple code doesn't have error checking to check for that. It assumes no blank lines inside components/techareas and just a single blank line between components/techareas.

Quote:
Showing total tech cost of all tech areas should be more like removing a filter not like adding a new feature.
I agree. If I include every component in one big list, then it should be fairly simple. I may have gotten bogged down trying to get a little fancier by adding a tabbed interface to show a tab for each component class such as weapons, engines, etc. We shall see.
Reply With Quote
Reply

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:13 AM.


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