 |
|  |
 |
|
Pedrunn
|
 |
of Natal, Brazil
Jul 2001 time: 02:22
|
|
City Expansion Mod v2.0

by Pedrunn and BlueO
You can find this mod here:
http://apolyton.net/dir/index.php?s...its=3746&cat=28
--------------------------------------------------------------------------------
I. Introduction
II. Installation
III. How Does It Works?
IV. Graphics
---------------------------------------------------------------------------------
I. Introduction
The concept of having cities expanding was first idealize by the apolytioneer BlueO. At that time there was no way of changing the terrain or tile improvements. So he created city graphics as good. This mean the city was actually a good that could be traded. The idea of cities being traded, added to that several game-play bugs and the difficulty of implementing it. The idea did not had good acceptancy to the CTP2 community. The project was forgotten. But the concept still remaint in the head of several CTP2 modmakers. Including me.
After the Tiledit was released by Martin, the Dane. It became possible to create and edit terrain a tile improvements graphics. This is made possible to redo all the city expansion coding concept. This way after a while learning the Slic language I used the BlueO's ExpandCity function to make cities grow using tile improvements. After more than a month working in this project I have finally achieved my goal. The City Expansion v2.0 is totally functional and bug free.
II. Instalation
Basic Prerequisites:
1) Download and install the CTP2 Patch 1.11 --> http://apolyton.net/dir/index.php?s...its=3746&cat=30
2) Download and install the Modswapper --> http://apolyton.net/dir/index.php?s...its=3746&cat=29
3) Download and install the Apolyton Tile File --> http://apolyton.net/dir/index.php?s...its=3746&cat=39
Make sure the prerequisites are ok.
Unzip the file cityexpansion.zip (where this document is inside) in your CTP2 base
You will find the option to play with it when launching Modswapper.
III. How Does It Work?
The Expansion
The city expansion works adding a terrain graphic aside the city every time a city reaches a multiple of three (3, 6, 9, 12, 15, …120) population number until the max number of 120 in every land terrain except forests, swamps, forests, jungles, mountains and glaciers (if the city is settled in land) or every deep or rift sea terrain (if it is a sea city) . And for those ages that the set of cities has more than one city size graphics the citiesy will continually upgrade to a bigger size as the city grow.
The city kills all food collecting from the tile but increases the production and gold input from it.
If there is no possible terrains (mountains, shallow water and sea terrain for land cities and shallow sea or land terrain for sea cities) in the city radius or all possible ones are already taken by city expansion. The city has reached a maximum number of pop so it can't grow anymore.
If the tile has forests, swamps or jungles the city cant grow either but it will create a couple plains tiles to prepare for the next expansion.
Once the city expansion is added it cant be removed anymore.
The Losing of Pop and dead city expansions
If the city looses population from starvation or after being captured and reaches a city
population one number smaller then the multiple of three that were supposed add the new tile improvement the city expansion next to the city dies. What I mean by saying that the city expansion dies is that a dead/ruins city takes it place. The dead city doesn't only kill all food input but also the gold and the production. In another words, the tile works as if it was a dead terrain.
- The building of settlers, urban planners and sea engineers will kill one city expansion;
- The enslavent the population of a city by slaver one city expansion will also kill one city expansion
- When an abolitionist removes slaves from the city one city expansion will die.
When happens the death of a big number of population the cities expansions in the radius will get killed according to the population killed.
-The totally death of a city for the actual death of all pop (Cretate Park or slic related events)
- Nuking a city.
- When the city is plagued.
The only event not related to the death of population that creates a dead tile is pillaging. Any player can pillage another player city expansion. This will also cause the death of the city expansion.
Once a dead city expansion is added it can't be removed anymore. (Ghost Cities). The only way to remove them is to expand the city and by that replacing it by a brand new city expansion or terraforming the city.
Entering City Ages
Once a player researchs a defined advance it means he has achieved a city expansion age. That in most case will be parallel to the entering of an age in the game. This will make cities expansion from early ages to be replaced for modern ones as the city expands. You must not that this transition of city expansions as in real-life is slow and only one or two will be replaced every time a city expands. And as nowadays you may find really developed nations with cities using old archtecture since the city did not follow the progress of its nation. Every age has it series of graphics for big, medium and/or small cities. The place of different expansion of a city depends on the size of the city. Currently Ancient and medieval has one tile; modern has three; and, genetic and diamond has two.
---------------------------------------------------------------------------------
Download of the mod:
http://apolyton.net/dir/index.php?s...its=3746&cat=28
Last edited by Pedrunn on 05-09-2002 at 03:39
|
|
|  |
 |
|
Pedrunn
|
 |
of Natal, Brazil
Jul 2001 time: 02:22
|
|
IV. Graphics
Those are the used graphics in the code. They are already included in the Apolyton Tile File
Attachment: cityx2.jpg
This has been downloaded 569 time(s).
Last edited by Pedrunn on 05-09-2002 at 03:24
|
|
|  |
 |
|
Maquiladora
|
|
As i didnt follow its development too closely I dont know if this has been seen in the official thread for City Expansion Mod but i just tried it and saw this...
I was using unmodded ctp2.
Attachment: 1.jpg
This has been downloaded 492 time(s).
|
|
|  |
 |
|
Maquiladora
|
|
OK well i check the whole map and its the only time this bug happened. Im in turn 75. I checked the tile imp (right click) and it gave food-5 prod-45 comm-40. It was a plains tile with a river on. Thats about all i can say, there were size 8/9 cities and they looked to be doin great.
|
|
|  |
 |
|
Maquiladora
|
|
I was gonna start a long game with apolyton pack and city expansion but ill wait for this fix and test that out with a long game.
|
|
|  |
 |
|
Pedrunn
|
 |
of Natal, Brazil
Jul 2001 time: 02:22
|
|
Here is the fix for the city expansion:
Unzip it inside you CTP2 main directory.
We just need to test it now 
I will create a pack to easy install the city expansion for the apolyton pack with this fix now. (just wait a couple of minutes)
Attachment: city expansion fix.zip
This has been downloaded 21 time(s).
Last edited by Pedrunn on 06-09-2002 at 20:58
|
|
|  |
 |
|
Pedrunn
|
 |
of Natal, Brazil
Jul 2001 time: 02:22
|
|
Here it is the add-on for the apolyton pack to have the City Expansion (last fix included). Just unzip inside the CTP2 main directory. The option Apolyton Pack + City Expansion! will appear in the Modswapper mod menu
Attachment: apolyton city expansion.zip
This has been downloaded 33 time(s).
Last edited by Pedrunn on 06-09-2002 at 23:31
|
|
|  |
 |
|  |
 |
|
Pedrunn
|
 |
of Natal, Brazil
Jul 2001 time: 02:22
|
|
Here is the new update version for city Expansion
Adds:
--> A dead city last only 100 turns. If the dead city doesnt get terraformed or replaced by a regular city and this times has passed it just disapears to simulate the reclaims of nature.
Fixes all known bugs by:
--> Making impossible the creating of a certain city improvement if the player doesnt have the required advance of the age.
--> Fixing the giving of the advance Subneural Ads when creating a city.
Instalation: Just unzip inside the CTP2 main directory. You must have the City Expansion 2.0 installed.
THERE IS A NEWER UPDATE IN THE NEXT PAGE
page 2
Last edited by Pedrunn on 07-10-2002 at 15:23
|
|
|  |
 |
|
Pedrunn
|
 |
of Natal, Brazil
Jul 2001 time: 02:22
|
|
City Expansion Addon for Apolyton Pack + update v2.1
Instalation: Just unzip inside the CTP2 main directory. You must have the Apolyton Pack installed.
THERE IS A NEWER UPDATE IN THE NEXT PAGE
page 2
Last edited by Pedrunn on 07-10-2002 at 15:27
|
|
|  |
 |
|
Locutus
|
|
ACS CTP1/2 Manager & Civ4 Co-Manager
|
 |
Hengelo, The Netherlands
Nov 1999 time: 06:22
|
|
Okay, I played a few hundred turns yesterday, here's what I found so far:
1) When I build regular tile imps myself (roads, fortesses, farms, etc), sometimes I the first tile imp I place in a given turn is created instantly, I don't have to wait the usual 1-4 turns before it's finished. The game seems to think it's a city tile imp and creates it instantaneously...
2) City tile imps can be built over roads/railroads (leaving them intact) but I can't build roads/railroads over city tile imps. That's quite annoying 'cause in a large city that means it takes me 3 turns to travel from 1 side of town to the other. Either city tile imps should have the same movement effects as roads/cities or one should be allowed to build roads on top of them...
3) Sometimes, when certain cities to a size where they should get a new city tile imp, they don't get this, even though there is plenty of room to create them. The city itself continues to grow just fine, but no additional tile imps are created. As I said, this oddly enough appears to happen only in some cities and after a while the effect dissappears again and city imps are created normally again upon city growth...
4) When the population of a city shrinks and a tile imp needs to be turned into a ruin, not 1 but *all* tile imps are turned into ruinn.
5) Should it be possible to build tile imps in forests and on hills? 'Cause If seen it happens many, many times, even when there were still grassland/plains tiles available. I don't really mind myself, but I don't think this is supposed to happen (but I must say that it would make more sense to fill up plains/grassland first before moving to less habitable terrain).
6) I noticed that some 1-tile island cities right next to a larger continent had city imp on the main continent. Looks rather odd. Not sure if this should be fixed, but I thought I'd at least mention it...
7) pillaging tiles doesn't shrink the population of the city, I thought this was supposed to happen - or am I mistaken?
|
|
|  |
All times are GMT. The time now is 05:22. Apolyton Time is 00:22. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|