Thread Tools
Old May 25, 2003, 03:00   #1
dexters
Apolyton Storywriters' Guild
King
 
dexters's Avatar
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Nov 2001
Location: Vancouver, Canada
Posts: 1,141
Is AI Communism/Monarchy Efficient?
Soren programmed the AI to switch to communism or monarchy (depending on which is available) when war drags on to combat war weariness.

From my experience, I find it to be inefficient. This tends to have the effect of hurting an advanced AI civ as its commerce and production is reduced.

Any thoughts?
dexters is offline  
Old May 25, 2003, 04:37   #2
vmxa1
PtWDG Gathering StormC4DG Gathering Storm
Deity
 
vmxa1's Avatar
 
Local Time: 22:18
Local Date: November 1, 2010
Join Date: Nov 2001
Location: Oviedo, Fl
Posts: 14,103
It has long been an exploit to force the AI to switch to commie to hurt it. I must confess that I have not tracked it after PTW to see if it does better with it.
IIRC this was a topic in AU.
vmxa1 is offline  
Old May 25, 2003, 07:59   #3
WarpStorm
King
 
WarpStorm's Avatar
 
Local Time: 21:18
Local Date: November 1, 2010
Join Date: Nov 2001
Location: Right down the road
Posts: 2,321
The problem is that if war weariness goes on too long those are the only 2 choices left to you. The AI doesn't manage happiness as well as humans so it is forced into the change much sooner. I've been forced into these situations myself when I was stuck in wars that went on longer than I would have prefered.
__________________
Seemingly Benign
Download Watercolor Terrain - New Conquests Watercolor Terrain
WarpStorm is offline  
Old May 25, 2003, 17:26   #4
dexters
Apolyton Storywriters' Guild
King
 
dexters's Avatar
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Nov 2001
Location: Vancouver, Canada
Posts: 1,141
I think the AI should be able to adjust its luxury slider above 10% to say at least 20% under extraordinary circumstances.

This would only be possible if a series of conditions are met. such as turns in war > 20 war wearniess > X

If the war is going on for too long, the leader AI will bump the lux slider up a notch.

This would keep them going in their governments longer.

The AI should also be able to quit while they are ahead. Too often, they don't want peace unless they are being beaten savagely. It's rare for me to see an AI execute a 5 - 10 turn war to capture some objective.
dexters is offline  
Old May 25, 2003, 22:07   #5
vmxa1
PtWDG Gathering StormC4DG Gathering Storm
Deity
 
vmxa1's Avatar
 
Local Time: 22:18
Local Date: November 1, 2010
Join Date: Nov 2001
Location: Oviedo, Fl
Posts: 14,103
It is not easy to tweak an AI for a mature and complex product. What sounds sensible can become a real can of worm. It would take some massive testing to ensure nothing got broken. We have seen much of that in the past. This is why they are reluctant to tinker.

Last edited by vmxa1; May 26, 2003 at 02:06.
vmxa1 is offline  
Old May 25, 2003, 23:57   #6
dexters
Apolyton Storywriters' Guild
King
 
dexters's Avatar
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Nov 2001
Location: Vancouver, Canada
Posts: 1,141
Well, there is the XP coming out. Perfect opportunity to tinker.

Especially with what appears to be new luxuries in the fray.
dexters is offline  
Old May 26, 2003, 03:02   #7
alva
Civilization III PBEMPtWDG2 Cake or Death?PtWDG Gathering StormInterSite Democracy Game: Apolyton TeamC3C IDG: Apolyton TeamC4DG Gathering Storm
Deity
 
alva's Avatar
 
Local Time: 04:18
Local Date: November 2, 2010
Join Date: Sep 2001
Location: Republic of Flanders
Posts: 10,747
IIRC the AI does adjust the slider as far as WW is concerned.
__________________
#There’s a city in my mind
Come along and take that ride
And it’s all right, baby, it’s all right #
alva is offline  
Old May 26, 2003, 03:44   #8
dexters
Apolyton Storywriters' Guild
King
 
dexters's Avatar
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Nov 2001
Location: Vancouver, Canada
Posts: 1,141
alva, can you go into more detail?

Up to how far does the AI adjust it? I've only seen, and Soren has confirmed they adjust it only up to 10% to prevent AI addiction to the neglect of luxury trading.
dexters is offline  
Old May 26, 2003, 05:53   #9
alva
Civilization III PBEMPtWDG2 Cake or Death?PtWDG Gathering StormInterSite Democracy Game: Apolyton TeamC3C IDG: Apolyton TeamC4DG Gathering Storm
Deity
 
alva's Avatar
 
Local Time: 04:18
Local Date: November 2, 2010
Join Date: Sep 2001
Location: Republic of Flanders
Posts: 10,747
I know Alexman did some extensive testing on this subject, so there must be a thread about it in the strategy forum (Soren commented a couple of times in it too).
Like I said, my statement is IIRC
__________________
#There’s a city in my mind
Come along and take that ride
And it’s all right, baby, it’s all right #
alva is offline  
Old May 26, 2003, 06:50   #10
dexters
Apolyton Storywriters' Guild
King
 
dexters's Avatar
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Nov 2001
Location: Vancouver, Canada
Posts: 1,141
I probably read it.

From my own observations in debug, 10% is as high as AI goes.
dexters is offline  
Old May 26, 2003, 12:05   #11
Catt
PtWDG Gathering StormApolyton University
King
 
Catt's Avatar
 
Local Time: 19:18
Local Date: November 1, 2010
Join Date: May 2002
Location: California - SF Bay Area
Posts: 2,120
I think I've seen it as high as 20%, but I can't be sure. And I'm pretty sure that Soren indicated that the AI will only use the slider to combat WW - it won't use it for anything else.

Here's a screenshot from a debug game that shows the slider at 10% due to WW.

Catt
Attached Thumbnails:
Click image for larger version

Name:	ai luxury slider.jpg
Views:	173
Size:	98.2 KB
ID:	46122  
Catt is offline  
Old May 26, 2003, 12:11   #12
Catt
PtWDG Gathering StormApolyton University
King
 
Catt's Avatar
 
Local Time: 19:18
Local Date: November 1, 2010
Join Date: May 2002
Location: California - SF Bay Area
Posts: 2,120
And, paradoxically to the thread title, here is another screenshot from a debug game in which the AI chose to make entertainers rather than switch government from democracy under crushing WW -- the city starved from size 9 down to size 4 before giving in and changing governments . . . problem is that it was Spain (religious) and could switch at will

Both screenshots from the Why, oh why does the poor AI . . . thread in the Strat Forum (probably the thread to which Alva was referring.

Catt
Attached Thumbnails:
Click image for larger version

Name:	ai starvation in ww.jpg
Views:	169
Size:	83.0 KB
ID:	46123  
Catt is offline  
Old May 26, 2003, 16:52   #13
Panag
MacCivilization II Democracy Game: ExodusC4BtSDG Rabbits of Caerbannog
Emperor
 
Panag's Avatar
 
Local Time: 04:18
Local Date: November 2, 2010
Join Date: Oct 2000
Location: MY WORDS ARE BACKED WITH BIO-CHEMICAL WEAPONS
Posts: 8,117
Quote:
Originally posted by Catt
And, paradoxically to the thread title, here is another screenshot from a debug game in which the AI chose to make entertainers rather than switch government from democracy under crushing WW -- the city starved from size 9 down to size 4 before giving in and changing governments . . . problem is that it was Spain (religious) and could switch at will

Both screenshots from the Why, oh why does the poor AI . . . thread in the Strat Forum (probably the thread to which Alva was referring.

Catt
hi ,

well if an AI civ can changes thanks to its traits without any penalty it should do so , ....

this is a sad thing , ....

lets hope it gets fixed in a patch

have a nice day
Panag is offline  
Old May 26, 2003, 17:06   #14
statusperfect
King
 
statusperfect's Avatar
 
Local Time: 04:18
Local Date: November 2, 2010
Join Date: May 2002
Location: Sweden
Posts: 1,333
Quote:
Originally posted by Catt
Both screenshots from the Why, oh why does the poor AI . . . thread in the Strat Forum (probably the thread to which Alva was referring.

Catt
How do you get than unhappyness causes popup?

cheers
statusperfect is offline  
Old May 26, 2003, 20:27   #15
alva
Civilization III PBEMPtWDG2 Cake or Death?PtWDG Gathering StormInterSite Democracy Game: Apolyton TeamC3C IDG: Apolyton TeamC4DG Gathering Storm
Deity
 
alva's Avatar
 
Local Time: 04:18
Local Date: November 2, 2010
Join Date: Sep 2001
Location: Republic of Flanders
Posts: 10,747
Right click on a unhappy citizen.
-
Quote:
problem is that it was Spain (religious) and could switch at will
Even worse on deity, where the can all switch at will
__________________
#There’s a city in my mind
Come along and take that ride
And it’s all right, baby, it’s all right #
alva is offline  
Old May 26, 2003, 20:28   #16
dexters
Apolyton Storywriters' Guild
King
 
dexters's Avatar
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Nov 2001
Location: Vancouver, Canada
Posts: 1,141
click on the unhappy faces to get the pop-up.

Anyways, I think the AI should be capable of doing comparative measurements of its power every few turns.

This would compare its power a few turns before with its current power. When war weariness cause riots beyond the capacity of the luxury slider and the luxury trade, the AI Civ would look for peace.

We know the AI asks for peace if it is being beaten. This just takes it a level higher, where it can, in a sense, see ahead and plan ahead, even if it doesn't loose that many cities.

One of the problem is, many of the War weariness problems are often self inflicted. Civs sometimes like to declare war on one Civ and incrementally declare war on other Civs, either from alliances or maybe from a trade. If they can manage when they fight their wars, I think they will be better off.
dexters is offline  
Old June 2, 2003, 06:50   #17
dexters
Apolyton Storywriters' Guild
King
 
dexters's Avatar
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Nov 2001
Location: Vancouver, Canada
Posts: 1,141
Quote:
Originally posted by Catt
And, paradoxically to the thread title, here is another screenshot from a debug game in which the AI chose to make entertainers rather than switch government from democracy under crushing WW -- the city starved from size 9 down to size 4 before giving in and changing governments . . . problem is that it was Spain (religious) and could switch at will

Both screenshots from the Why, oh why does the poor AI . . . thread in the Strat Forum (probably the thread to which Alva was referring.

Catt
IMO catt, that seems rather human. I sometimes prefer to stick it out in Democracy rather than suffer anarchy going back and forth and being stuck in a less efficient government. Sacrificing a city is a small price to pay, and it's not uncommon when I'm in a real bind to use entertainers as a temporary solution.

I think the AI's real problem is it's inability to differentiate between temporary and permanent. To me, it seems like the AI exists in a perpetual state of permanence where its only goal is to maximize its power under the given circumstances. While it is coded to adjust sliders, manage happiness, it doesn't see these are impermanent states.

If it can somehow recognize this as impermament and suboptimal, then it would use them when totally neccessary, but be actively planning to get out of the situation so it may return to a more desired state... where the lux slider is 0 and the entertainers are returned to normal.

If they can somehow code that, we'd have a far more competitive AI that doesn't have to resort to a self-defeating government switch in which AI's are notorious for staying in indefinately as war after war crops up.
dexters is offline  
Old June 2, 2003, 13:41   #18
Catt
PtWDG Gathering StormApolyton University
King
 
Catt's Avatar
 
Local Time: 19:18
Local Date: November 1, 2010
Join Date: May 2002
Location: California - SF Bay Area
Posts: 2,120
Quote:
Originally posted by dexters


IMO catt, that seems rather human. I sometimes prefer to stick it out in Democracy rather than suffer anarchy going back and forth and being stuck in a less efficient government. Sacrificing a city is a small price to pay, and it's not uncommon when I'm in a real bind to use entertainers as a temporary solution.
But surely, as a religious civ with only one turn of anarchy, you would change governments when war weariness got so bad that your capitol was starving? When starvation cut its population in half? I don't have the save any longer, but I can guess that if WW was so bad as to drive the capitol (usually the most well-developed city) into starvation, the other cities must be in even worse shape? To not switch temporarily as a religious civ seems a colossal waste.

Catt
Catt is offline  
Old June 2, 2003, 14:10   #19
Panag
MacCivilization II Democracy Game: ExodusC4BtSDG Rabbits of Caerbannog
Emperor
 
Panag's Avatar
 
Local Time: 04:18
Local Date: November 2, 2010
Join Date: Oct 2000
Location: MY WORDS ARE BACKED WITH BIO-CHEMICAL WEAPONS
Posts: 8,117
Quote:
Originally posted by Catt


But surely, as a religious civ with only one turn of anarchy, you would change governments when war weariness got so bad that your capitol was starving? When starvation cut its population in half? I don't have the save any longer, but I can guess that if WW was so bad as to drive the capitol (usually the most well-developed city) into starvation, the other cities must be in even worse shape? To not switch temporarily as a religious civ seems a colossal waste.

Catt
hi ,

i can vouch for that , seen it to many times , just start with loads of cash to do some espionage and see , .....

sometimes it happens even with a mod , here you go and put all them cities on a map and the AI lets them starve to death cause he wont change gov , .....

sometimes they even starve cities with two wheat's or cattle , .....

have a nice day
Panag is offline  
Old June 2, 2003, 14:16   #20
dexters
Apolyton Storywriters' Guild
King
 
dexters's Avatar
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Nov 2001
Location: Vancouver, Canada
Posts: 1,141
Quote:
Originally posted by Catt


But surely, as a religious civ with only one turn of anarchy, you would change governments when war weariness got so bad that your capitol was starving? When starvation cut its population in half? I don't have the save any longer, but I can guess that if WW was so bad as to drive the capitol (usually the most well-developed city) into starvation, the other cities must be in even worse shape? To not switch temporarily as a religious civ seems a colossal waste.

Catt
Silly me. I didn't realize it was the capital. That's kind of strange to be really honest with you.

My experience has been the AI is eager to switch governments. They have a level of tolerance initially, and will adjust the slider to 10% lux, but after a while the switch. Granted I'm basing my experience mostly on a recent debug game I watched where there was almost constant war.

I do not recall seeing starvation. And from my experience playing SP, the AI seems to switch to monarch or communism.

This is regent difficulty of course.
dexters is offline  
Old June 2, 2003, 16:31   #21
Arrian
PtWDG Gathering StormInterSite Democracy Game: Apolyton TeamApolyton UniversityC4DG Gathering StormPtWDG2 Cake or Death?
Deity
 
Arrian's Avatar
 
Local Time: 22:18
Local Date: November 1, 2010
Join Date: Jul 2001
Location: Kneel before Grog!
Posts: 17,978
Communism probably works better for the AI most of the time, because under communism it doesn't matter where your FP is - just that you have one. And the AI is utterly atrocious at placing its FP. Speaking of which, that's something I hope Firaxis tries to improve.

-Arrian
__________________
grog want tank...Grog Want Tank... GROG WANT TANK!

The trick isn't to break some eggs to make an omelette, it's convincing the eggs to break themselves in order to aspire to omelettehood.
Arrian is offline  
Old June 2, 2003, 20:01   #22
dexters
Apolyton Storywriters' Guild
King
 
dexters's Avatar
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Nov 2001
Location: Vancouver, Canada
Posts: 1,141
Arrian, the FP discussion was actually around a few weeks ago. I went and checked my debug game and it seems like the AI places FP just fine, although their placement is perhaps not the best. They do space out and not build it next to their capital.

Smaller civs even hold out on the FP.

Let me see if I can dig up the thread. I have a save attached to it which you can have a look at.
dexters is offline  
Old June 2, 2003, 20:53   #23
Jon Shafer
PtWDG RoleplayPtWDG Gathering StormPtWDG Neu DemogypticaInterSite Democracy Game: Apolyton TeamPtWDG LegolandPtWDG Vox ControliPtWDG Glory of WarPtWDG2 SunshineApolyton UniversityC3CDG Desolation RowApolytoners Hall of FameCivilization IV CreatorsC4DG SarantiumApolyCon 06 ParticipantsPtWDG Lux Invicta
Firaxis Games Programmer/Designer
 
Local Time: 22:18
Local Date: November 1, 2010
Join Date: Apr 2002
Location: Maryland
Posts: 9,567
I was fighting a war with Bombers and Tanks VS the AI and almost completely got in big trouble. Even with Universal Suffrage, I was suffering 70% war weariness before conquering more than 5 out of 20 cities.

If you expect a long war, then switching might be necessary.
Jon Shafer is offline  
Old June 2, 2003, 23:21   #24
monkspider
Civilization IV: MultiplayerCivilization IV CreatorsGalCiv Apolyton Empire
King
 
monkspider's Avatar
 
Local Time: 21:18
Local Date: November 1, 2010
Join Date: Aug 2001
Location: Wichita
Posts: 1,352
Being a commie myself, the government in Civ 3 is a bit of a sentimental favorite. I wish that they would make communism more flexible as to be relatively worthwhile in peacetime as well.
__________________
http://monkspider.blogspot.com/
monkspider is offline  
Old June 3, 2003, 06:55   #25
georges bonbon
Warlord
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: May 2002
Posts: 169
Another problem is that the AI is programmed not to dialogue for endless turns.

Even if he is losing cities, he will opt for rising your ww. and hurting himself.

If he is faraway on a small island with 1, 2, or 3 cities (less than 6), he will stay silent for ages. He is not even affected by ww.
georges bonbon is offline  
Old June 3, 2003, 13:48   #26
dexters
Apolyton Storywriters' Guild
King
 
dexters's Avatar
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Nov 2001
Location: Vancouver, Canada
Posts: 1,141
The AI is generally ok with phoney wars where you or they declare war but never really attack. WW isn't a big problem, and like human players, they generally let these wars run their course and return relations to normal.

.
dexters is offline  
Old June 3, 2003, 14:56   #27
Arrian
PtWDG Gathering StormInterSite Democracy Game: Apolyton TeamApolyton UniversityC4DG Gathering StormPtWDG2 Cake or Death?
Deity
 
Arrian's Avatar
 
Local Time: 22:18
Local Date: November 1, 2010
Join Date: Jul 2001
Location: Kneel before Grog!
Posts: 17,978
Quote:
Arrian, the FP discussion was actually around a few weeks ago. I went and checked my debug game and it seems like the AI places FP just fine, although their placement is perhaps not the best. They do space out and not build it next to their capital.
Really? Hmm. That's news to me. I haven't investigated it properly, I guess. It's just that the few times I've looked for an AI FP, I've found that it's in a terrible spot. Add in that the AI will never (voluntarily) move their palace, and the evenly distributed corruption of communism starts to look better, especially once the AI civ in question has eaten a neighbor or two.

-Arrian
__________________
grog want tank...Grog Want Tank... GROG WANT TANK!

The trick isn't to break some eggs to make an omelette, it's convincing the eggs to break themselves in order to aspire to omelettehood.
Arrian is offline  
Old June 4, 2003, 13:27   #28
Nor Me
Apolyton University
Prince
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Oct 2002
Posts: 689
I've looked at AI FP placement in debug games and it was better than I'd heard.

But you need planning to have decent FP placement so if the AI has conquered some more land later on, it's very likely to have bad FP placement and to be better off in Communism.

I've just looked at my position in AU208 and I'd have lower total corruption in communism than monarchy even without the AU mod improvement and I doubt moving my palace would have made much difference (and given your FP position I'd say you'd probably be in the same position if you had courthouses everywhere.)
Nor Me is offline  
Old June 4, 2003, 15:42   #29
dexters
Apolyton Storywriters' Guild
King
 
dexters's Avatar
 
Local Time: 02:18
Local Date: November 2, 2010
Join Date: Nov 2001
Location: Vancouver, Canada
Posts: 1,141
The FP issue is tough. Get it earlier and get a productive second core on hang in there and push it further out. In my regent games, I usually go for second FP in the middle ages and build it in the direction I want to exapnd in when I get my Cavs.

I've observed for example that that AI has a treshold before they build their FP. They won't likely build it if their empire is compact. The FP building may be triggered if their empire goes over a certain corruption threshold. If AI has any kind of strategic planning mechanism that it uses to perhaps decide FP placement, it is certainly undocumented. But there are circumstancial evidence that it has.

Here is a rather late save of a debug game. I have posted an earlier save, but couldn't seem to find the thread. I can't really vouch for how much has changed, but it's probably a good idea looking at where the Ottoman FP is. They are the world power and their FP is built just right as they expanded east and ate up the Aztecs. They got their second core.

This game has some rather good FP placement. Scandanivian FP is a little of from where I would build mine, but they built it in the middle ages and would be in the same geneeral area.

The Iroquios was building their second FP on that patch of territory that is disconnected from their main cultural body. If there hadn't been a war, they would have had something like a double nation. Last I checked, India has no FP, nor did China, both squeezed for land and the AI probably would have been better off spending their shields elsewhere.
Attached Files:
File Type: sav debug.sav (409.0 KB, 1 views)

Last edited by dexters; June 4, 2003 at 15:49.
dexters is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 22:18.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team