Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site forums as they ran on Ultimate Bulletin Board, 1998–2001. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 2005 site & forums

  Apolyton Civilization Site Forums
  CtP2-Creation
  Mayors not managing happiness (fixed)

Post New Topic  Post A ReplyPost A Reply In A New Window

profile | register | preferences | faq | search next newest topic | next oldest topic bottom of page
Author
Topic:   Mayors not managing happiness (fixed) Format for Better Printing
Azmel2
Activision
Santa Monica, CA USA
Aug 2000
posted March 15, 2001 20:24   Click Here to See the Profile for Azmel2   send a private message to Azmel2
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only

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

Troll
Warlord
The Forum Fur Flyer USA
Jul 2000
posted March 15, 2001 20:33   Click Here to See the Profile for TrollClick Here to Email Troll  send a private message to Troll
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
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

Troll
Warlord
The Forum Fur Flyer USA
Jul 2000
posted March 15, 2001 20:39   Click Here to See the Profile for TrollClick Here to Email Troll  send a private message to Troll
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
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

Apolyton Civilization Site Forums
> > > CtP2-Creation Forum

next newest topic | next oldest topictop of page

All times are EDT

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A ReplyPost A Reply In A New Window
Hop to:

Contact Us
Apolyton Civilization Site

Powered by: Ultimate Bulletin Board, Version 5.44a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.

AltaVista Type or paste text or Web address (beginning with http://) here:
Powered
by Systran
Translate from: 

Front Page | Civilization III | Dinosaurs | Civilization II | Call to Power | Call to Power II | Alpha Centauri | Alternative Civs | Misc | Links | About ACS | GameStats
GameLeague | Scenario League | HAC | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps | Art of War | WesW's Ctp1/2 Site