View Full Version : 2 xml questions


ohcrapitsnico
Sep 28, 2006, 11:55 AM
1. Could somebody explain to me how to put in entries for buildings in the citylsystem.xml because my buildings that show up in-game seem to "fuse" with other buildings and I would like it if they could just have space around them?

2. Could somebody explain to me the differences between the "andprereq" and "orprereq" tags in the tech infos xml?

Thanks

Macmatt
Sep 28, 2006, 01:26 PM
Sorry I don't know about CityLSystems.xml, I opened it up and it's very confusing but I know about your other question.

OrPreReqs = at least one technology in this section must be researched. Items listed generate lines on the tech chart.
AndPreReqs = all technologies in this section must be researched. Items listed do no generate lines on the tech chart, instead places a button in the top right corner.

If your tech only has one preresquisite, use an orprereq, if it requires two, use an andprereq and an orprereq.

Hope this helps.

ohcrapitsnico
Sep 28, 2006, 02:08 PM
Thanks a lot for the help. I just don't want a nasty surprise when I set up a tech tree and open it up ingame. Surpirse!
Now with the citylsystem I'll put in the entries of buildings identical to already existing buildings that are similar in shape,