.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Tech Tree browser - simple - weapons only (http://forum.shrapnelgames.com/showthread.php?t=3007)

raynor May 6th, 2001 09:20 PM

Tech Tree browser - simple - weapons only
 
Over in the Mod Forum, I posted the beginnings of a tech tree browser. This very early program just shows the weapons on the left and their tech requirements and cumulative cost on the right. Let me know what you think.

Here's the link to download it:
http://forum.shrapnelgames.com/ubbup...r/techview.zip



[This message has been edited by raynor (edited 06 May 2001).]

Devnullicus May 6th, 2001 09:59 PM

Re: Tech Tree browser - simple - weapons only
 
Very very cool. D*mn useful, too. One suggestion, though: allow Users to set tech cost. Right now, it seems to be low tech-cost only.

raynor May 6th, 2001 11:05 PM

Re: Tech Tree browser - simple - weapons only
 
Thanks for the feedback and the idea.

The new Version 0.12 lets you choose the tech cost. (and also widens the tech cost list box a bit)

Try clicking on the Anti Proton Beam and then scrolling down to the APB XII. Now, change the tech cost from low to medium to high to see the cost difference: 440,000 vs. 1,677,500 vs. 3,300,000.

Phoenix-D May 7th, 2001 12:51 AM

Re: Tech Tree browser - simple - weapons only
 
Very nice little program.. even if you don't want the tech costs, it has a nifty little side effect- it generates text files with a list of all components and tech areas! Very condensed, good for modding reference http://www.shrapnelgames.com/ubb/images/icons/icon7.gif

Anyway, I did run into one bug. When I tried to read in the Pirate mod's components, it gave me an error- said it had run into a [ and didn't know how to parse it.. even though the normal components.txt has that too and loaded fine.

Phoenix-D

raynor May 7th, 2001 01:28 AM

Re: Tech Tree browser - simple - weapons only
 
I don't have the Pirate's Mod. Could you please post your components.txt and techarea.txt for me to test the program on? Thanks!

Phoenix-D May 7th, 2001 01:43 AM

Re: Tech Tree browser - simple - weapons only
 
OK, if I did this right here there are. If not, the mod is in the mod forum here. Pirates and Nomads.

Phoenix-D

raynor May 7th, 2001 04:38 AM

Re: Tech Tree browser - simple - weapons only
 
Thanks!

Looks like the techarea file didn't have a blank line between the Last techarea and the delimiters at the bottom of the file. I added code to handle this. Take a look and let me know what you think.

The Pirate Mod has a component called Hardened Bulkheads III that threw me for a loop until I noticed that this component acts as Point Defense Cannons. Whew! http://www.shrapnelgames.com/ubb/images/icons/icon7.gif Pretty nifty idea, that...

Phoenix-D May 7th, 2001 05:49 AM

Re: Tech Tree browser - simple - weapons only
 
I'm not sure WHAT that does. It's only on the III Version, has a 99 reload rate, and does no damage. Odd..

EDIT: I checked it, and the error I reported before is gone. Thanks!

But being who I am, I found another one. Load components.txt. Then load ANOTHER components.txt without exiting. The program doesn't clear the first one, and the results are... weird.

Phoenix-D

[This message has been edited by Phoenix-D (edited 07 May 2001).]

Will May 7th, 2001 10:52 PM

Re: Tech Tree browser - simple - weapons only
 
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Phoenix-D:
I'm not sure WHAT that does. It's only on the III Version, has a 99 reload rate, and does no damage. Odd..
<HR></BLOCKQUOTE>

I believe that's the Tachyon Dampener... Might be something else, I just recently started playing P&N mod. Basically all it does is absorb attacks from weapon-damaging weapons.

Phoenix-D May 7th, 2001 11:15 PM

Re: Tech Tree browser - simple - weapons only
 
Ooooohhhhhhhhh. Sneaky http://www.shrapnelgames.com/ubb/images/icons/icon7.gif Could do it for shields, engines, etc I presume too..

Phoenix-D

raynor May 9th, 2001 07:12 AM

Re: Tech Tree browser - simple - weapons only
 
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Very nice little program.. even if you don't want the tech costs, it has a nifty little side effect- it generates text files with a list of all components and tech areas! Very condensed, good for modding reference http://www.shrapnelgames.com/ubb/images/icons/icon7.gif
<HR></BLOCKQUOTE>

I had completely forgotten the program was still outputting those test files. I guess since you like it I can call it a feature instead of a bug? http://www.shrapnelgames.com/ubb/images/icons/icon7.gif

Well... the next coding project will be to release a new Version of the CompHTML program by ColdSteel and me that maybe links to this tech cost information.

After that, I wonder if anyone would be interested in seeing this tech browser code expanded to show the tech tree and cost for the rest of the components?

Phoenix-D May 9th, 2001 07:27 AM

Re: Tech Tree browser - simple - weapons only
 
Yup. Very useful.

Phoenix-D

ZzZ May 9th, 2001 07:41 PM

Re: Tech Tree browser - simple - weapons only
 
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Phoenix-D:
Very nice little program.. even if you don't want the tech costs, it has a nifty little side effect- it generates text files with a list of all components and tech areas! <HR></BLOCKQUOTE>

I found a way to make the Space Empires IV program itself create a file like this. Unfortunately when I tried to do it again I didn't find the icon anymore that I would have to click.

Can anyone help?

ZzZ


ZzZ May 9th, 2001 08:00 PM

Re: Tech Tree browser - simple - weapons only
 
Sorry ... found it myself ... just started a new game with the option ... players can see the whole tech tree ... I didn't find it in the other game because this option had been turned off ...

ZzZ

Hydraa May 9th, 2001 08:01 PM

Re: Tech Tree browser - simple - weapons only
 
Play a game with the tech tree enabled. (default in game setup I think is off)
go to tech tree under research and then export tech areas or tech levels

ZzZ May 9th, 2001 08:18 PM

Re: Tech Tree browser - simple - weapons only
 
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Hydraa:
Play a game with the tech tree enabled. (default in game setup I think is off)
go to tech tree under research and then export tech areas or tech levels
<HR></BLOCKQUOTE>

Thank you ... as I posted before I already found it myself ... http://www.shrapnelgames.com/ubb/images/icons/icon7.gif


All times are GMT -4. The time now is 06:57 AM.

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