Tech Problem

Gooblah

Heh...
Joined
Jun 5, 2007
Messages
4,282
Okay, I added a small new technology to a min-mod of mine: Radar.

I copied the TechInfos for Mysticism, pasted it at the bottom of the file, and rewrote everything to base the tech off Radio rather than Mysticism. The Era is Modern, the cost 10000, and the AND prereq Radio.

However, when I load my mod, the Radio tech appears literally on top of the Mysticism button. So, when I open up the Tech Tree, you see both techs in the same space. How do I fix this?
 
you need to adjust the grid numbers(where the ? is)

<iGridX>?</iGridX>
<iGridY>?</iGridY>

to place the tech where you want it on the tech tree. the grid numbers entries are in the section for your new radar tech in the CIV4TechInfos.xml file.
 
Oh...cool, thanks.

A few last questions:

where is (0,0) on the grid?

How big is each tech box?

If I plan on inserting a ton of new techs, I have to grid all of them, correct?
 
Grid 0,0 is at the top left corner and the grid is not restricted by screen size in either X or Y direction.

Each box is 1 X step wide and 2 Y steps high. You can mix even and uneven Y numbers without any overlapping, as long as you make sure the other boxes with same X grid position are 2 or more Y positions apart.
 
Sweet, thanks a lot! :goodjob:

I finished adding all the techs in XML. Now I need to switch 'em up in the grid and add custom buttons/icons and stuff. :crazyeye:

It'll be crazy but fun.
 
Okay, I downgraded my mod a little bit to add just five techs, and fized the grid using an image of the BTS tech tree:

Turbine Propulsion
Jet Propulsion
Hydroponics
Radar
Sonar

However, they all show up as "Radio", with varying prerequisites (the ones I gave them) on the tech tree in-game. I understand that this is due to using the Radio Tech as a template, and I simply changed grid, properties, and name.

I now have two questions:
How do I access the buttons files? I checked in Assets/Art/Buttons, but when I tried to open a file with NifSkope, nothing happened except an error.
Where are the tech buttons located?
 
Back
Top Bottom