PDA

View Full Version : Add towns and villages to CFS3



before
March 18th, 2009, 10:26
Well, I've unsuccessfully tried to add towns in CFS3 this afternoon... :(
The best result so far (by editing GlobalLayer.xml and then renewing gsl.lib) shown the new towns in the mb map but not in the game.

I guess the sim (hopefully) uses some generic towns/villages, but I failed to find...

Any help will be greatly appreciated. :ernae:

before
March 19th, 2009, 05:06
Unfortunately, I wasn't able to find generic towns (I mean .xml files that controls town layout). So, the only way that remains me is to build .xml files so that I'll be able to use them in the sim. Anyway, my initial prob is partly solved now, but not entirely... Those .xml files use some kind of coordinates to locate objects over the scene, but what the hell do they correspond to?

Here's an example:

<Unit Type="house_small" Position="-2 302" Angle=" 90"/>

How does the Position is established? From what?

:)

Martin
March 23rd, 2009, 00:40
x,y meters from the zero point of the facility. As you are making a new facility here this is wherever you put your start point and is the placing point that will be used when you place the facility into CFS. In your example the house is placed 2m below the zero point of the facility and 302m to the right (and rotated 90 degrees)

before
March 23rd, 2009, 15:14
Thanks :)