Number of Cities

Discuss maps, trains and other modding topics
Post Reply
User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Number of Cities

Post by Jancsika » Sat Mar 21, 2009 10:21 pm

Is there a limit of the number of cities one can have in a map?
LoneBoy has a scenario with 75 cities.
The map will load and play fine with no AI participating. Once you up the AI to 1 it will crash.

I have run the following test:
Started a brand new Scenario in the Terrain Editor, 15X15.
Copied the RRT_Cities.XML and the RRT_Names.XML files from the Trenor map into the new map.
It behaved the same way as it did in the old scenario.
Then I reduced the number of cities to 2. Now it loaded OK and could have all the AI players.

My question? Is there a limit on the number of cities, and if there is what?
Jancsika

User avatar
Rodea2007
Posts: 482
Joined: Mon Jun 11, 2007 3:58 am
Location: Jakarta, Indonesia
Contact:

Re: Number of Cities

Post by Rodea2007 » Sun Mar 22, 2009 1:51 am

Jancsika wrote:Is there a limit of the number of cities one can have in a map?
LoneBoy has a scenario with 75 cities.
The map will load and play fine with no AI participating. Once you up the AI to 1 it will crash.

I have run the following test:
Started a brand new Scenario in the Terrain Editor, 15X15.
Copied the RRT_Cities.XML and the RRT_Names.XML files from the Trenor map into the new map.
It behaved the same way as it did in the old scenario.
Then I reduced the number of cities to 2. Now it loaded OK and could have all the AI players.

My question? Is there a limit on the number of cities, and if there is what?
Jancsika
I'm not sure this game have limited number of Cities, because I just play Toran War Map with all Cities (75 ? I'm not Counts) and with 3 AIs (see picture below) that run fine
Attachments
Toran.jpg
Rodea2007 ( http://rodea2007.yolasite.com )
Facebook http://www.facebook.com/rodea2007
Note Book TOSHIBA SATELLITE L645
Processor Inter Core I-3
Memory 8 GB
Harddisk 320 GB
Windows 7 Ultimate 64 Bit

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: Number of Cities

Post by Jancsika » Sun Mar 22, 2009 2:38 am

Yes Rodea, there is a limit. You can play 75 cities without any AI opponent, but with AI the limit is around 50.
xD.jpg
To LoneBoy. This is what you have to do.
Reduce the number of cities to around 50. I have tested it at 48.
You have to be careful that you delete any reference to the city you removed, from the RRT_Cities.XML, RRT_Names.XML, RRT_Industries.XML,RRT_Scenario.XML files.
Do it gradually and check it often.
Jancsika

snoopy55
Posts: 1962
Joined: Mon Nov 06, 2006 5:13 am
Location: Centralia, Ill, USA

Re: Number of Cities

Post by snoopy55 » Sun Mar 22, 2009 3:10 am

No, the problem has something to do with the Indusrty XML.
Last edited by snoopy55 on Wed Apr 01, 2009 4:54 am, edited 1 time in total.
I'm correct 97% of the time..... who cares about the other 4%....

User avatar
Rodea2007
Posts: 482
Joined: Mon Jun 11, 2007 3:58 am
Location: Jakarta, Indonesia
Contact:

Re: Number of Cities

Post by Rodea2007 » Sun Mar 22, 2009 3:30 am

Jancsika wrote:Yes Rodea, there is a limit. You can play 75 cities without any AI opponent, but with AI the limit is around 50.
xD.jpg
To LoneBoy. This is what you have to do.
Reduce the number of cities to around 50. I have tested it at 48.
You have to be careful that you delete any reference to the city you removed, from the RRT_Cities.XML, RRT_Names.XML, RRT_Industries.XML,RRT_Scenario.XML files.
Do it gradually and check it often.
Jancsika
That it is playing with Full City I'm not reduce it, and with 3 AIs as you see in the Picture, but...... :?: :?: :?: I just edit RRT_Scenario_XD.xml and change in: <GoodsXMLFile>RRT_Goods_xD.xml</GoodsXMLFile> with <GoodsXMLFile>RRT_Goods_US_East.xml</GoodsXMLFile>
and
<IndustriesXMLFile>RRT_Industries_xD.xml</IndustriesXMLFile> with
<IndustriesXMLFile>RRT_Industries_US_East.xml</IndustriesXMLFile>
So I guess that's limited on Industries or Goods
Rodea2007 ( http://rodea2007.yolasite.com )
Facebook http://www.facebook.com/rodea2007
Note Book TOSHIBA SATELLITE L645
Processor Inter Core I-3
Memory 8 GB
Harddisk 320 GB
Windows 7 Ultimate 64 Bit

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: Number of Cities

Post by Jancsika » Sun Mar 22, 2009 3:42 am

Boy! Are we busy!!!
Here is what I was doing:

I eliminated all the "Locations" In the Industries.XML
Basically had a 'Randomised map" When I played it with 75 cities, it crashed. When reduced the cities to 50 it did not crashed any more.
I will have to do more experimenting, but after I have finished my tax return :P
Jancsika :wink:

User avatar
Rodea2007
Posts: 482
Joined: Mon Jun 11, 2007 3:58 am
Location: Jakarta, Indonesia
Contact:

Re: Number of Cities

Post by Rodea2007 » Sun Mar 22, 2009 4:02 am

Jancsika wrote:Boy! Are we busy!!!
Here is what I was doing:

I eliminated all the "Locations" In the Industries.XML
Basically had a 'Randomised map" When I played it with 75 cities, it crashed. When reduced the cities to 50 it did not crashed any more.
I will have to do more experimenting, but after I have finished my tax return :P
Jancsika :wink:
Yes You right...if location of Industries deleted that called randomize system and it crashed, because the game can't read so much Cities and Industries, it's means alocation memories for this game to play that map is not sufficient, this is like if you have computer with smallest memori you can't play a bigger map. so conclusion is you can play with full Cities but you must reduce amount of your Industries or you can play with all industries but you must reduce amount of number City, so the choice depends on your..... :wink:
Rodea2007 ( http://rodea2007.yolasite.com )
Facebook http://www.facebook.com/rodea2007
Note Book TOSHIBA SATELLITE L645
Processor Inter Core I-3
Memory 8 GB
Harddisk 320 GB
Windows 7 Ultimate 64 Bit

LoneBoy
Posts: 34
Joined: Sun Mar 15, 2009 8:19 am

Re: Number of Cities

Post by LoneBoy » Sun Mar 22, 2009 6:49 am

oh really bad.i liked when i have this so much cities and industries.i mean why do we need huge maps then.however i wont delete anything from toran war map.i will add scenario only.btw i have couple questions and anyone who knows answer can send me on pm or post here.
1. how to import traincar model in gimp(texture) and 3ds max(model)?
2.how does fpk work and does it have to have the exact name of added thing?
3.how to pack files in fpk.
4.in custom ass is fpk same as any folder with same files as fpk??thkx

User avatar
Rodea2007
Posts: 482
Joined: Mon Jun 11, 2007 3:58 am
Location: Jakarta, Indonesia
Contact:

Re: Number of Cities

Post by Rodea2007 » Sun Mar 22, 2009 7:26 am

LoneBoy wrote:oh really bad.i liked when i have this so much cities and industries.i mean why do we need huge maps then.however i wont delete anything from toran war map.i will add scenario only.btw i have couple questions and anyone who knows answer can send me on pm or post here.
1. how to import traincar model in gimp(texture) and 3ds max(model)?
2.how does fpk work and does it have to have the exact name of added thing?
3.how to pack files in fpk.
4.in custom ass is fpk same as any folder with same files as fpk??thkx
My Answers
1. To edit Train Car texture in GIMP just open texture files (with extention DDS) with GIMP ( you need dds plugin for gimp because as I know default GIMP not support DDS File so you must search and install it. If you use PAINT.NET you not need anything because this software support almost most of the texture file such as DDS, TGA , PNG etc.
To edit model in 3ds max you need plugins for 3ds max that are niftools-max-plugins and CivilizationIV-MaxTools-v7+ because whitout those plugins you can't import or export that model as NIF File
2. With/without FPK this game can be run, and How's it work they are not program just a package file and not need exact name, you can name it with what ever do you want.
3. You need a program is called Pakbuild, whit this program you can Pack or unpack your files.
4. I'm not understanding yet what you means
Rodea2007 ( http://rodea2007.yolasite.com )
Facebook http://www.facebook.com/rodea2007
Note Book TOSHIBA SATELLITE L645
Processor Inter Core I-3
Memory 8 GB
Harddisk 320 GB
Windows 7 Ultimate 64 Bit

LoneBoy
Posts: 34
Joined: Sun Mar 15, 2009 8:19 am

Re: Number of Cities

Post by LoneBoy » Sun Mar 22, 2009 7:32 am

4. i mean is the map going to work if i put files from fpk to a folder in c. ass.

User avatar
Rodea2007
Posts: 482
Joined: Mon Jun 11, 2007 3:58 am
Location: Jakarta, Indonesia
Contact:

Re: Number of Cities

Post by Rodea2007 » Sun Mar 22, 2009 9:27 am

LoneBoy wrote:4. i mean is the map going to work if i put files from fpk to a folder in c. ass.
That is no problem if you take files from FPK and put in CustomAssets folder,just suggesti if the files taken from Default FPK and you make edit to them (texture or model) then you need to rename them don't use the same name with the original
Rodea2007 ( http://rodea2007.yolasite.com )
Facebook http://www.facebook.com/rodea2007
Note Book TOSHIBA SATELLITE L645
Processor Inter Core I-3
Memory 8 GB
Harddisk 320 GB
Windows 7 Ultimate 64 Bit

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: Number of Cities

Post by Jancsika » Mon Mar 23, 2009 1:17 am

3.how to pack files in fpk.
It is called Pakbuilt and is available on the Civfanatics.com forums, The forum is down at the moment: so here it is:

There is no help file, but it is rather simple.You can both pack and unpack FPK files
Jancsika
Attachments
PakBuild.zip
(204.44 KiB) Downloaded 392 times

User avatar
Jancsika
Posts: 921
Joined: Thu Nov 02, 2006 3:40 pm
Location: Maryland

Re: Number of Cities

Post by Jancsika » Mon Mar 23, 2009 1:45 am

That it is playing with Full City I'm not reduce it, and with 3 AIs as you see in the Picture, but...... I just edit RRT_Scenario_XD.xml and change in: <GoodsXMLFile>RRT_Goods_xD.xml</GoodsXMLFile> with <GoodsXMLFile>RRT_Goods_US_East.xml</GoodsXMLFile>
and
<IndustriesXMLFile>RRT_Industries_xD.xml</IndustriesXMLFile> with
<IndustriesXMLFile>RRT_Industries_US_East.xml</IndustriesXMLFile>
So I guess that's limited on Industries or Goods
Am I correct assuming that this will reduce the number of goods and industries?
If that is the case then it is not a good solution.

How about what Snoopy is suggesting?
Let's assume that we strike a balance and the game will start with the maximum alloted industries. Will we be able to build additional industries as the Villages grow to Towns and Cities? Will the capacity of the game increase as the towns grow??

How about if we convert it to a SAM format. Will that change anything?

Questions? Questions? :roll: :roll:

Jancsika

Post Reply