DisneyDestroyer DisneyDestroyer

Reordering Techs?

Reordering Techs?

Hello, let's say I have tech N and tech L, both of which have tech A as a required tech.

It might show up in the Technology Tree as:

A - N

  \ L

 

How can I reverse the order so they show up as:

A - L

  \ N

 

I've eliminated the following possibilities:

* Order within the race-specific Tech Tree XML file (I haven't tried changing the order in the default Tech Tree XML file, but I wouldn't expect this to matter since I'm unable to change the order even if L and N were both race-specific techs)

* Alphabetical order

* Branch Name (Propulsion, Weapons, Industry, etc)

* Category (Miniturization, Missles, Starbase, Government, etc)

* Research Cost

* AI Value

* Civ trade weight

 

???

 

Thanks!

<edit for formatting>

28,626 views 54 replies
Reply #51 Top
I'm getting a better understanding of what you're saying, but I'm not yet sure that I followed your example. I'll have to parse it more carefully, examining the actualy XML files, when I have some more time.

Thanks again for your hard work to help try to explain.
Reply #52 Top
No prob', i'd do almost anything for my karma!

All we're saying, in fact is that the following theory;

****
A - N

\ L
****

Wouldn't be able to switch N with L in a number of situations;

a) When they both are the last items in a given column, if they aren't listed properly in the xml order... they'd stay up exactly as written - unless a branch-ID, grouping or category switch interferes.

AND, that...

b) Everything to the right side of both (N & L) as childs or preqs to additional splittings caused by new connections would necessarily override rule *a)* above.

Fairly simple and yet not so obvious when you have Huge amounts of connections to deal with!
:)
Reply #53 Top
Yeaaahh, that's the same conclusion I eventually reached.

Because there is such a huge jump in the number of techs between columns 1->2, 2->3, and 3->4, I'm not going to be able to order them as I wanted.

C'est la vie!
Reply #54 Top
So, what this means is that we FINALLY are completely done with the 'theory & experimental' stage of this memorable thread... and that, we can conclude on a high note.

* Knowing how to mod takes patience and a good dose of proper decisions. *

See ya, ;)