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 > CtP2-Creation/AI/Mods/Scenarios-Archive > Mayors not managing happiness (fixed)
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
Azmel2 is offline Azmel2
Settler
Santa Monica, CA USA
Aug 2000
time: 05:14
Lightbulb  Old Post 16-03-2001 06:24
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Mayors not managing happiness (fixed) Support Apolyton, buy Civilization 2


A friend of mine found a pretty obvious and obnoxious AI bug and I spent the day hunting it down. It turns out that a simple text file change will fix your mayors so they keep your cities happy. To fix the bug, just overwrite the file pop.txt in your ctp2_data/default/gamedata directory with a new pop.txt that has the following first record (before POP_ENTERTAINER) :

## Mayors ignore the first pop record, this fixes the problem
## with low happiness not being handled correctly by mayors.
## (REM031501)

POP_ZERO_IGNORED {
EnableAdvance ADVANCE_CLASSICAL_EDUCATION
Food 0
}

Actually, you should probably do this in a scenario and not overwrite the default pop.txt, but do what ever you think is best.

If you want to try it with a game in progress, the easiest way to get it to re-read the pop values is to quit and reload the game and then to bring up the cheat menu and remove the "drama" advance. Then add the drama advance back in. I tried it using a game I was sent and it immediately brought most of the unhappy mayor controlled cities to a non-rioting level. There are a few cities that are still under the magic 73 happiness, but I think this has to do with the mayor not adequetly adjusting for unhappiness caused by pollution. There's nothing I can do about that from text file changes.

I haven't played an entire game with this change, but you should notice the AI plays better too since all AI cities are effectively under mayoral control.

My apologies to the CTP2 community for not finding and fixing this stupid bug before we shipped.

-- Richard

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:14
Red face  Old Post 16-03-2001 06:33
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Inflate your Upload Space

quote:

Originally posted by Azmel2 on 03-15-2001 08:24 PM

A friend of mine found a pretty obvious and obnoxious AI bug and I spent the day hunting it down. It turns out that a simple text file change will fix your mayors so they keep your cities happy. To fix the bug, just overwrite the file pop.txt in your ctp2_data/default/gamedata directory with a new pop.txt that has the following first record (before POP_ENTERTAINER) :

## Mayors ignore the first pop record, this fixes the problem
## with low happiness not being handled correctly by mayors.
## (REM031501)

POP_ZERO_IGNORED {
EnableAdvance ADVANCE_CLASSICAL_EDUCATION
Food 0
}

Actually, you should probably do this in a scenario and not overwrite the default pop.txt, but do what ever you think is best.

If you want to try it with a game in progress, the easiest way to get it to re-read the pop values is to quit and reload the game and then to bring up the cheat menu and remove the "drama" advance. Then add the drama advance back in. I tried it using a game I was sent and it immediately brought most of the unhappy mayor controlled cities to a non-rioting level. There are a few cities that are still under the magic 73 happiness, but I think this has to do with the mayor not adequetly adjusting for unhappiness caused by pollution. There's nothing I can do about that from text file changes.

I haven't played an entire game with this change, but you should notice the AI plays better too since all AI cities are effectively under mayoral control.

My apologies to the CTP2 community for not finding and fixing this stupid bug before we shipped.

-- Richard



Well Azmel2 Thats 1 MORE BUG FIXED>>Thanks and ifin you or your buddies have anymore time..READ FORUMS..We got plenty more where that came from!

But still Thanks for that ONE FIX!!


Troll


------------------
Hebrews 11:1

Now Faith is the substance of things hoped for and things unseen

Grandpa Troll is offline Grandpa Troll

Immortal
I owe..I owe..it's off to work I go
Jul 2000
time: 00:14
Talking  Old Post 16-03-2001 06:39
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Put an end to popups!

Im sorry...but I kept reading this post of yours..OVER & OVER & OVER Again..

You said "STUPID BUG"

Now I'm not an English Major..but in order for you to annotate "Stupid"..then since there so many "OTHER BUGS"..perhaps they may be of a higher Intelligence?

Work with me Babe....

I'm thinking "OUTSIDE-THE-LINES" Here....but perhaps maybe you could make those "Smart Bugs"..change there name to say..."AI"..because the AI you all shipped sucks the big one..and well..it would save you from any further harrasment?

LOL..just a thought?

Troll

------------------
Hebrews 11:1

Now Faith is the substance of things hoped for and things unseen

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    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.0310 seconds (84.70% PHP - 15.30% MySQL) with 30 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