Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Scenario League / Civ2-Creation -Archive > Starved-out cities
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Michael Daumen is offline Michael Daumen
Prince
Research Triangle
Jan 1970
time: 00:30
  Old Post 14-08-2003 01:19 Visit Michael Daumen's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Starved-out cities Put an end to popups!

OK, so when a size one city loses its food, it is converted into a lone settler. Does anyone know how close it needs to be to get picked up by another city's support?

Is it possible to make a map where any new city built will result in starvation automatically? I am thinking of combat engineer or legion units that could make fortifications (the starvation is to prevent cheating by players - I have no idea what the AI would do with a settler on such a map).

I suppose I could live with small camp-like cities but I dont want to

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:30
  Old Post 14-08-2003 01:46 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Increase Your PM Length

If I understand you, closer to your city than to another civ's city. I don't know if there's a max or whether land mass number fits into the algorithm. I suspect not.

Can you afford to have only one or two terrains that produce food and place them only at city sites that you want? Their exact settings + irrigation would dictate max city size.

Terrains with 0 food and no irrigation bonus won't support a viable city. It starts as size 1, with a -1 food rating and no reserves.

If this is a viable suggestion, do I get to learn the topic?

:) Smiley is offline :) Smiley
Emperor
USCA, Berkeley
Feb 2001
time: 21:30
  Old Post 14-08-2003 02:29 Visit :) Smiley's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Enter the AD-FREE zone

Just make all terrain give no resources, then there'll be no incentive to make cities except for the stacking benefits, and even that's questionable as the city would be destroyed when the first unit loses.

yaroslav is offline yaroslav
Emperor
Madrid, Spain, Europe
Jun 2001
time: 06:30
  Old Post 14-08-2003 03:29
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Tired of ads?

Give a setler to the AI and it will build cities There are some things you can do:

A) Modify the terrain (time-costly)

B) Include up to 255 cities. If you don't want 255 cities, just add some barbarian cities non visible (you can create cities in weird places, like non-displayed coordinates that will be no visible, ask Henrik ). Problem: if a city is destroyed, an AI could build a new city.

C) Hex-edit the map and put a value of 0 in the field of 'fertility' in all the squares of the map. This is very time-costing and it has been not checked (IIRC) but it should work for you

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:30
  Old Post 14-08-2003 03:47 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Re: Starved-out cities Got spare money?

I take it you want to prevent new cities being built?

I don't know about human players (I guess a "house rule" should be effective enough), but the AI can be manipulated easily enough.

Use MapCopy to change the fertility value of all squares on the map to zero.

The AI will only build cities on tiles with a fertility value of 8 or higher.

And, interestingly enough, the AI will always build a city if a tile has a fertility value of 15 (the maximum). This can be used to create AI cities by events. Edit a particular square to fertility value 15 first, create a settler on that square with an event and it will build a city there right away.

Manipulating the fertility values is perhaps the most sensible way to prevent the AI from building cities. On a standard map (i.e. without any fertility changes), the AI will build its cities only on the terrains in the Grassland and Plains slots, and regardless of what the rules.txt says.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:30
  Old Post 14-08-2003 03:48 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

cross-posted... But it has been checked, and isn't so time costly if you use MapCopy.

yaroslav is offline yaroslav
Emperor
Madrid, Spain, Europe
Jun 2001
time: 06:30
  Old Post 14-08-2003 04:05
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Sorry Mercartor, I'm ashamed, I didn't know that it has been checked and I didn't know that MacCopy has these function :shamed:

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:30
  Old Post 14-08-2003 04:16 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Remove this text



It can only set everything to zero though, not do any of the more fancy fertility things I was talking about.

Oh, and just in case anyone here wants to use mapcopy but is intimidated by its readme. Here's how you turn an entire map in a savegame infertile... type in the command (DOS) prompt:

code:
mapcopy your_savegame.sav -f:ZERO

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:30
  Old Post 14-08-2003 04:50 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Lose 30 kilos (of popups)

Did I see a post about an updated tip article on hex-editing? "Hex-editing" for Idiots?

:) Smiley is offline :) Smiley
Emperor
USCA, Berkeley
Feb 2001
time: 21:30
  Old Post 14-08-2003 08:32 Visit :) Smiley's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, buy Civilization 2

Can someone prime me on the details of how fertility works? What else goes into determining fertility values for a terrain square?

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:30
  Old Post 14-08-2003 19:01 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Call to Power 2

@Boco: Where?

@: I'm not sure about the details myself. Fertility is stored as part of the map data in half a byte (4 bits).

Values range from 0 to 15, and the AI will only build cities on squares with fertility above 7 (8-15). Only grassland and plains will ever have values above 7.
Fertility is reduced to below 8 on city squares and squares adjacent to cities.

Other that that, I'm not sure. I think the values kind of depend on the size of the map, the total amount of land and the total amount of fertile land. So while a map may start with fairly high values, they will likely drop as more cities are built and the amount of available fertile land drops.
Apart from this, I think only rivers, resources, and possibly roads, irrigation and mining have some influence on fertility. But I'm pretty sure none of it has to do with the terrain values as in the rules.txt.

Gradually dropping fertility over time would also mean the map becomes less desirable for the AI. This might even be a fundamental part of curbing AI expansion, seeing as the AI immediately builds a city on fertility 15, but not on fertility 8. So presumably it prefers a higher value and isn't just content with anything over 7. Maybe it's even a simple probability function...
But this is all pure conjecture.

I'm not sure what happens when a city is destroyed (whether fertility bounds back up or not) or what happens when infertile terrain is transformed to fertile terrain. I have the feeling it stays at zero... But that would mean the AI won't build cities on terrain transformed to grassland. That can be tested.

:) Smiley is offline :) Smiley
Emperor
USCA, Berkeley
Feb 2001
time: 21:30
  Old Post 14-08-2003 19:09 Visit :) Smiley's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Increase Your PM Length

This could explain why the AI doesn't do Infinite City Syndrome.

So hypothetically speaking, even if grassland produced nothing, the AI would build cities on that would promptly starve?

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:30
  Old Post 15-08-2003 17:10 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Yep.

Elok is offline Elok
Prince
Land of Ramen Dragons
Mar 2003
time: 00:30
  Old Post 15-08-2003 20:29
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Inflate your Upload Space

On a related note, if the AI had a city surrounded by horrible grasslands and super-upgraded glaciers, would it decide what squares to have its people work based on stats, or stick to its prejudices and get like 1 food from the grassland?

N35t0r is offline N35t0r
King
( o Y o )
Jan 2000
time: 02:30
  Old Post 16-08-2003 01:24
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Lose 30 kilos (of popups)

it will probably choose the 'best' arrangement that it offers you when you click for deafult arrangement on your city screen.... it will probably go for the uber glacier (they _do_ exploit oilfield-deserts on scenarios, at the expense of farmlanded grass...)

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:30
  Old Post 16-08-2003 03:30 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Enter the AD-FREE zone

I think HsFB is right there...

If the AI had a choice between irrigating one of those two however, it might follow the fertility values again in stead of the rules. That's just a hunch though.

:) Smiley is offline :) Smiley
Emperor
USCA, Berkeley
Feb 2001
time: 21:30
  Old Post 16-08-2003 07:21 Visit :) Smiley's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Hmmm. I'll have to test that with UrbCiv. Does anyone know of any other comprehensive terrain mods and how they went?

N35t0r is offline N35t0r
King
( o Y o )
Jan 2000
time: 02:30
  Old Post 16-08-2003 08:44
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Got spare money?

quote:
Originally posted by Mercator
I think HsFB is right there...

If the AI had a choice between irrigating one of those two however, it might follow the fertility values again in stead of the rules. That's just a hunch though.



nah, i doubt they'd go against the rules... they'd probably go for the first, either mine or irrigate, according to the ai govt value on rules...

will experiment a bit...

N35t0r is offline N35t0r
King
( o Y o )
Jan 2000
time: 02:30
  Old Post 16-08-2003 09:10
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

hmmm.... i modified the game so that glacier and mountain provide 9 food, and everything else provides 0 of everything....

the AI didn't build a city in an all-glacier continent, but it did in a grass tile with an adjacent glacier (which it tapped for food immediately, thus no starvation...)

it did also found a city on an all grass continent, which immediately died out due to starvation (no food source)

(note that the city square only adds one shield, never one food , if the city square doesn't produce each... thus un-shielded grass cities produce 1 shield, but mountain citied produce no food... not even 1 (with standard rules))

btw, the ai does specialists instead of placing unproducing workers on city tiles....

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:30
  Old Post 16-08-2003 18:20 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Support Apolyton, buy Civilization 2

quote:
note that the city square only adds one shield, never one food , if the city square doesn't produce each... thus un-shielded grass cities produce 1 shield, but mountain citied produce no food... not even 1 (with standard rules)

In ToT, the city square bonus consists of the irrigated food value + 1 shield + 1 arrow

For ex,

code:
;Name, m, d, f,s,t, irr, f,#t,ai, mine,s,#t, ai,xform,impassable @TERRAIN Baadiyah, 2, 2, 0,0,0, yes,10, 4, 0, yes, 4,99, 0, no, yes, ; Drt


gives this

Attachment: baadcity.png
This has been downloaded 60 time(s).

:) Smiley is offline :) Smiley
Emperor
USCA, Berkeley
Feb 2001
time: 21:30
  Old Post 17-08-2003 04:27 Visit :) Smiley's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Put an end to popups!

Wow thats a lot of munchies.

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:30
  Old Post 17-08-2003 05:10 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Supercharged irrigation water out of the Elizabeth River.

Henrik is offline Henrik
Emperor
The European Union, Sweden, Lund
Dec 2000
time: 06:30
  Old Post 17-08-2003 12:12 Visit Henrik's homepage!
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Full PM-box? Change here!

quote:
Originally posted by HsFB
(note that the city square only adds one shield, never one food , if the city square doesn't produce each... thus un-shielded grass cities produce 1 shield, but mountain citied produce no food... not even 1 (with standard rules))


The city square will add the amount of food that's given for the terrain if it's irrigated. If there's no irrigation value and the terrain normally doesnt give food, the city tile will not generate food.

(You can even insert a number here without allowing irrigation and still have cities generate that much food when built on the terrain).

:) Smiley is offline :) Smiley
Emperor
USCA, Berkeley
Feb 2001
time: 21:30
  Old Post 17-08-2003 19:46 Visit :) Smiley's homepage!
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

While we're on this topic, is there a way of delaying irrigation to the acquisition of a certain tech?

Elok is offline Elok
Prince
Land of Ramen Dragons
Mar 2003
time: 00:30
  Old Post 18-08-2003 08:54
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

How about if you made irrigation give a bonus of 0, then let them research refrigeration? That's the only thing I can think of.

N35t0r is offline N35t0r
King
( o Y o )
Jan 2000
time: 02:30
  Old Post 18-08-2003 10:44
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Lose 30 kilos (of popups)

of course, then the 'irrigation' would be limited to an extra 50% food....


Boco, i knew it irrigated, but i didn't know it also gave the bonus if irrigate was set to no but a value was given... i speak of, for example, mountain cities 0 food, 1 shield, 1 trade....

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:30
  Old Post 18-08-2003 10:53 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Lose 30 kilos (of popups)

The only catch I that I think I remember seeing is when you try to de-irrigate a terrain (Shift F8) that's set to no irrigation but with a nonzero bonus, ToT crashes. I believe that I had to change the @Terrain settings, make the change, and restore my desired @Terrain setting.

N35t0r is offline N35t0r
King
( o Y o )
Jan 2000
time: 02:30
  Old Post 18-08-2003 13:08
Edit/Delete Message Reply w/Quote
#28 Report this post to a moderator
Increase the size of your Attachments

well, i have MGE so i wouldn't know... but i think it doesn't crash like that in MGE...

:) Smiley is offline :) Smiley
Emperor
USCA, Berkeley
Feb 2001
time: 21:30
  Old Post 19-08-2003 04:04 Visit :) Smiley's homepage!
Edit/Delete Message Reply w/Quote
#29 Report this post to a moderator
Full PM-box? Change here!

I use plain vanilla CIV on the computer I'm at now, so I really wouldn't know then.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:30.
Apolyton Time is 00:30.
    top of page
Rate This Thread:
archivepost
Forum Jump:
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
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0690 seconds (91.82% PHP - 8.18% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net