.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 viewer in the works... (http://forum.shrapnelgames.com/showthread.php?t=6054)

Gandalph June 1st, 2002 01:38 AM

Re: Tech tree viewer in the works...
 
Phoenix - I used Word to find the line number several times (after I saw your post), perhaps MS is wrong.

[edit] I downloaded Metapad and used it. Got past the first error and am now getting error in line 668 of vehiclesize.txt which is this;

Requirement Must Have Bridge := True
Requirement Can Have Aux Con := False
Requirement Min Life Support := 1
Requirement Min Crew Quarters := 0
Requirement Uses Engines := True
Requirement Max Engines := 9
Requirement Pct Fighter Bays := 0
Requirement Pct Colony Mods := 0
Requirement Pct Cargo := 0
<--- line 668
Name := Medium Fighter
Short Name := Medium Fighter
Description :=
Code := FM
Primary Bitmap Name := FighterMedium
Alternate Bitmap Name := FighterMedium
Vehicle Type := Fighter

[ June 01, 2002, 01:01: Message edited by: Gandalph ]

Phoenix-D June 1st, 2002 04:54 AM

Re: Tech tree viewer in the works...
 
Same problem here. I removed all the units, and it loaded the file successfully.. but it then goes through, loads everything, and doesn't DO anything. Goes to a Pause, and if I press a button the program termintes. Never goes off the pause.

Lemmy June 1st, 2002 09:54 AM

Re: Tech tree viewer in the works...
 
Gandalph:
Is that vehicle size a unit?
then it should have 2 more fields called Launched from planet and Launched from ship.

Phoenix:
It's supposed to do that, it's only the loader of the program i'm working on. So no user interface yet.

Andrés June 1st, 2002 05:54 PM

Re: Tech tree viewer in the works...
 
Quote:

Originally posted by Lemmy:
Gandalph:
Is that vehicle size a unit?
then it should have 2 more fields called Launched from planet and Launched from ship.

<font size="2" face="Verdana, Helvetica, sans-serif">Those two lines were removed in Last Version, since they were not working anyway.

Lemmy June 1st, 2002 06:18 PM

Re: Tech tree viewer in the works...
 
oh..didn't know that...i'll have to change my program then...

Lemmy June 3rd, 2002 10:52 PM

Re: Tech tree viewer in the works...
 
i changed the program so that it is no longer necessary to have those two line at the end of each unit size, i haven't added the ability to have higher tech requirements that max yet, that will probably have to wait till next week or so, and i didn't want to keep you waiting to long...

get it here

Gandalph June 3rd, 2002 11:07 PM

Re: Tech tree viewer in the works...
 
OK, it now goes through without any errors, gets to the end, press any key to finish, then what? I did not see any new file created, so what does it do?

PS - Not trying to sound impatient, just curious.

Lemmy June 3rd, 2002 11:17 PM

Re: Tech tree viewer in the works...
 
lol...well that's it... http://forum.shrapnelgames.com/images/icons/icon10.gif

it just checks if all the components etc have valid tech requirements...

it's only one part of the tech viewer i'm working on.

Lemmy June 6th, 2002 07:26 PM

Re: Tech tree viewer in the works...
 
hmm, i just realized how big this tech tree really is, maybe i'll only show the techareas in the viewer, instead of all the levels..

this is a screenshot with only the starting techlevels shown
http://planetlemmy.virtualave.net/screen1.JPG

Hank June 6th, 2002 08:39 PM

Re: Tech tree viewer in the works...
 
Use a JTree!


All times are GMT -4. The time now is 11:20 AM.

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