Reply
 
Thread Tools
Old December 16, 2003, 08:23   #1
Nikolai
Apolyton UniversityC4DG The Mercenary TeamCiv4 SP Democracy Game
Deity
 
Nikolai's Avatar
 
Local Time: 16:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Bergen, Norway
Posts: 13,800
{The List} AI
Introduction

The AI. What often makes a computer game playable, if it's made properly. This is the place to read for finding ideas relating to this concept.

-List Threadmaster Nikolai

Summary

All in all, the thing people are most interested in, is a more "intelligent" AI. An AI that can defend itself, attack in a smart way, recognize a good deal when it sees it etc. People clearly thinks the AI isn't nearly as good as it should be.

Table of Contents

1 - AI madness
2 - Automation
3 - Treatment of civs
4 - AI performance
5 - Treatment of military matters
6 - Diplomacy
7 - Moddability


The ideas

1 - AI madness
1.1 Agessiveness

Too prone to AI maddness.
"EVERYONE DECLARE WAR ON PLAYER!
OK!"

"Everyone please declare war on Russia. Remember, Russia nukes all of your cities - Player.
Uh, no. How about we declare war on you instead? - AI" (Posted By Comrade Tassadar)

1.2 - No unit movement without a reason

One thing: the AI should NOT move its units all over the place for no reason. It's really completely silly to see the AI constantly move its stuff for no reason...
(Posted by Trifna

2 - Automation
2.1 - Units and cities

I want to be able to automate settlers to build cities in good spots without worrying about them, but I don't want those cities to automatically go on governor like in SMAC. I want automated land units and transports to work together, if they don't already.
(Posted By Brent)

3 - Treatment of civs
3.1 - Treat all civs alike

I really hope they make the AI stop treating the player differently from the other civs. It's the only thing that really bothered me in Civ3. It can't be that hard to code a proper AI, hire better programmers if you can't do it They did it in Galactic Civilizations (granted, it's a different game). For me it really breaks the mood of the game when you notice that the AI-civs gradually start giving you crappier deals even if it would hurt them more. And for no apparent reason. Theoretically, in the deity level, it shouldn't be too hard to code the AI to make "best possible" moves and give them a long term plan according to their civilization characteristics.
(Posted By KorvaKikkeli)

3.2 - Small civs vs big civs

Fear & domination. I find it wierd when a 2 city Civ right at my doorstep refuses my demands. The AI should be adjusted so that these weak Civs can be "controlled" & manipulated by larger one's without losing their independence.
(Posted by Strider_479)

4 - AI performance
4.1 - Overall AI performance

The AI should be able to handle every concept of the game with a decent skill
(Posted By TheBirdMan)

Make it better!
(Posted by skywalker)

4.2 - Adaptive AI

One idea I have seen being suggested is altering the AI's priorities, based on your actions.
For example; if start researching tech x each time you start and get it first because the AI never really was interested in it, it would change it's behaviour to start 'copying' your style and try to beat you at your own game. Therefore ruining your playing style and forcing you to change your game. (this will probably be more effective on higher levels then on, say chieftan but it a start)
(Posted by alva)

4.3 - Harder on higher levels
On a Diety, or whatever they decide to call the highest level, the AI should be able to beat me, the worst Civ player ever.
(Posted by POTUS)

4.4 - AI recognizing reasons to events

Give the AI the ability to recognize if events leading to deals with them getting canceled were out of your control or deliberately player-caused.

I'm tired of trading with one computer civ only to have some crazy war break out somewhere that disrupts my trade route with them. After this no other civs will trade with me; they're all "RAR WE REMEMBER WHAT YOU DID TO FRANCE WE'RE NOT DUMB SO WE'LL NEVER TRADE WITH YOU"
(Posted by ixnay)

4.5 - Multi-threaded AI

Perhaps that to consider a multi-threaded AI like in GalCiv would be a good idea. In the case of GalCiv, it permits an overall better AI.
(Posted by Trifna)

It makes a huge difference, and should DEFINATLY be done.
(Posted by Fosse)

5 - Treatment of military matters
5.1 - Military Decision Making
5.1.1 - Improve AI Military Decision Making

Improve the AI's military behavior by improving the methods to how it builds it's strategy.
(Posted by Shogun Gunner)

5.1.2 - Weighing Decision To Go To War

The AI civ should weigh all factors that humans consider before evening deciding to go to war: relative strength of civ versus targeted civ; probablity to get an ally to join the war; risk of being attacked by other civs; desire for luxury/critical resources; assessment of targeted civ's military; evaluation of geographical features/avenues for attack.
(Posted by Shogun Gunner)

5.1.3 - Picking Military Objectives

If the AI civ decides to go to war it should decide what the objectives are, picking several, and select one as the primary objective. A set of objectives could be: reduction of bordering civ's presence; obtaining a luxury/resource from targeted civ; willingness to call off hostilities if tech/gold/city is handed over; taking away a city with a Wonder.
(Posted by Shogun Gunner)

5.2 - Military Strategies
5.2.1 - Devising a Military Strategy

Before war is actually declared, a strategy should be devised to reach the primary objective. The AI should analyze the strength of the known defense, location of objectives and pick a set of units it will attack with. The set of units available would be all the civ's units MINUS the units kept for defense of borders/cities and battle plan devised using these units in a concentrated, orderly fashion. Additionally, the AI should determine what are acceptable losses and cease attacks when the has been exceeded.
(Posted by Shogun Gunner)

5.2.2 - Program Classic, Historical Military Strategies

The AI should be programmed with classic military strategy techniques. For example, if the targeted civ has a lot of units, setup a trap inside the civ's borders, move units out of the way, when enemy units enter the kill zone, attack and concentrate on destroying units. Another concept is a diversionary attack away from the real objectives, wait one/two turns, launch attack with massed forces towards real objective.
(Posted by Shogun Gunner)

5.2.3 - Evaluate Progress, Reassign Priorities, Modify Strategy

Every turn during war, the AI should re-evaluate the full series of considerations and adapt by readjusting priorities and/or strategies.
(Posted by Shogun Gunner)

5.2.4 - Fronts

Make the AI think in terms of "Fronts". So if its at war on three fronts, it first analyzes each position, says "I'm good here" or "Little help please" and the AI then distributes reinforcements, but the battle strategy is figured out on an individual front basis. This allows the AI to work much faster because the scope of its calculations is narrower.
(Posted by wrylachlan

5.2.5 - NOT fronts, but targets

This ruined the MoO3 AI. It tryed to spread its forces over many fronts, meaning it was never a real threat on any of them. The Ai should think TARGETS, not fronts. It should have a goal like : get Athens, and defend Rome with x troops. Simple.
(Posted by Jamski

5.3 - Employ Combined Arms

All unit types should be used to bring maximum force onto the enemy. If the AI has sealift capability, it should load troops to attack either as a diversionary attack, or the main attack WHILE a land attack is occuring. Paratroopers and other units with special abiliites should be used in concert.
(Posted by Shogun Gunner)

6 - Diplomacy
6.1 - AI always open to talk

I want the AI to ALWAYS be open to talks, even directly after a DoW. Of course the AI should accept peace if there's been no actual fighting, or if its clearly losing. If the AI declares war, you should be able to contact it straight away and ask "what do you want to call off your dogs?" Those times where the AI DoWs you out the blue and won't even talk until x cities have changed hands really makes me MAD!
(Posted by Jamski

6.2 - Ask for help when in war

If the AI is under attack by another AI, it should contact all civs, including the player, and ask for help. Depending on situation it could ask for trade embargo, cash, alliance etc.
(Posted by Jamski

6.3 Right of Passage treaties

If the AI wants to move through your territory all the time it should also want to PAY for a RoP agreement. As it is, it keeps wandering through, and then wants you to pay THEM for the RoP.
(Posted by Jamski

6.4 - Always negotiation before a DoW

Before declaring war the AI should always make a final demand.
"Give me Athens/Gunpowder/Furs or I WILL declare war"
You should be able to make a counter-offer
"How about instead of Athens I pay you 8gtp?"
Then the AI says, "hmm... offer a bit more and I'll leave you in peace"
(Posted by Jamski

6.5 - World War triggering

World-war triggering. The AI embarks on a world war if it "feels strong enough" (more than 25% of the worlds forces or something, adjusted by number of civs alive at the time) and attempts to take on everyone. It contacts all civs with the offer,
"Pay huge sum/cities/tech or join me in war against xyz, or I DoW you."
This results in either a killer AI, or at least a huge war with multiple civs on each side.
(Posted by Jamski

6.6 - New agreements
6.6.1 - Research pact

research pact. You and the AI civ agree to share all your research. If one civ has a better research rate, then the agreement is "worth more" to the one with the lesser tech rate, and they may offer additional trades (luxuries, money, troops)
(Posted by Jamski

6.6.2 - Favored trade partner

Favored trade partner. This gives you +1 gold in each town connected to the AI's cities, +2 in each city and +3 in each metropolis. The AI gets the same benefits. You can only have one trade partner at a time. It make that AI like you more, and makes other AIs dislike you more. Breaking the agreement lowers your reputation with all civs EXCEPT if you break it by signing the agreement with another civ, who then think you are great.
(Posted by Jamski

6.7 - Trading
6.7.1 - Restrict tech trading

Neither you or the AI can trade a tech in the turn you get it. This cuts down on tech whoring AND the "feature" if you trade a tech to the AI in its turn, it then trades it to all the other civs immediatly. Should slow the tech rate marginally.
(Posted by Jamski

6.7.2 - New trade

UNITS! Make all units except UU's tradeable just like workers are now. Mercenary units from another civ cost double gold or something to support. The units appear in you capital.
(Posted by Jamski

7 - Moddability
[b]7.1 - Rule based and moddable

I believe the AI should be rule-based, and importantly should moddable by the community.
(Posted by Merp

--------------------------------------------------------------------

Respectfully compiled - Nikolai
With special thanks to: Asmodean
__________________
Do not fear, for I am with you; Do not anxiously look about you, for I am your God. -Isaiah 41:10
The LORD your God is with you, he is mighty to save. He will take great delight in you, he will quiet you with his love, he will rejoice over you with singing. - Zephaniah 3:17
Get The List for cIV here!

Last edited by Nikolai; August 11, 2004 at 08:41.
Nikolai is offline   Reply With Quote
Old December 16, 2003, 09:51   #2
Shogun Gunner
Civilization III MultiplayerCivilization IV: MultiplayerCivilization III PBEMApolyton Storywriters' GuildCivilization III Democracy GameCall to Power II MultiplayerCall to Power MultiplayerC3CDG Team BabylonPtWDG Vox ControliCivilization IV CreatorsC4DG Sarantium
Emperor
 
Shogun Gunner's Avatar
 
Local Time: 10:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Potomac Falls, Virginia
Posts: 6,258
How can we improve the AI's abilities when it comes to warfare? Maybe this could be 4.2

Well it shouldn't be that hard....although improved in C3C, it is still mindboggling the decision making of the AI during warfare.

The AI military behavior has the appearance of being totally random:

- Attacking with one unit against a stack

- Attacking with a weakened unit, instead of regrouping and/or reinforcing.

- Why won't the AI build armies? That threat alone would change the human player's strategy.

- Not pressing advantage when it should

- Failing to devise a strategy. For example, the AI should think to itself: "Player 2 controls some land which strategically threatens my empire. I'm going to take cities A, B and C if I don't lose more than x units." or "I know that Player 3 has only one source of iron. I'm going to attack and control that resource. At the same time, I'm going to make an embargo against player 3 with civ 4 who has iron, so he can't trade for it"

- AI does a good job on defense in cities (that's easy), but lacks sophistication when guarding a perimeter. Does the AI build forts and barricades? Forts sometimes...barricades I haven't seen yet.

- Boy, does that AI love the cavalry charge. It just goes gangbusters when it has lots of that unit. How come it can't use it's air force well? How about the navy? It won't bombard your shore improvements, instead taking one or two shots at units in your city which just heal in one turn. That seems like an easy fix.

- Paratroopers? Yea, right. I've never seen the AI use this unit.

- Helicopters? Well we can't blame the AI here, I mean I never have used the helicopter -- what's it good for anyway?

- Proper use of alliances. As stated in the first post, the strategy here is maddening. Can greater sophistication be developed for AI player to set *reasonable* goals and plan/script some actions to achieve those goals?
__________________
Haven't been here for ages....
Shogun Gunner is offline   Reply With Quote
Old December 16, 2003, 18:51   #3
Kuciwalker
Deity
 
Kuciwalker's Avatar
 
Local Time: 10:42
Local Date: November 2, 2010
Join Date: Feb 2001
Posts: 21,822
My one contribution:

Make it better.

__________________
[Obama] is either a troll or has no ****ing clue how government works - GePap
Later amendments to the Constitution don't supersede earlier amendments - GePap
Kuciwalker is offline   Reply With Quote
Old December 16, 2003, 22:37   #4
Shogun Gunner
Civilization III MultiplayerCivilization IV: MultiplayerCivilization III PBEMApolyton Storywriters' GuildCivilization III Democracy GameCall to Power II MultiplayerCall to Power MultiplayerC3CDG Team BabylonPtWDG Vox ControliCivilization IV CreatorsC4DG Sarantium
Emperor
 
Shogun Gunner's Avatar
 
Local Time: 10:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Potomac Falls, Virginia
Posts: 6,258
No one can argue with that skywalker!!!!

I guess I'm a little surprised that there haven't been more postings in this particular topic. Perhaps it's too much regarding algothrims and programming...people might be able the make their points about the AI in the other lists...
__________________
Haven't been here for ages....
Shogun Gunner is offline   Reply With Quote
Old December 17, 2003, 08:06   #5
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: 16:42
Local Date: November 2, 2010
Join Date: Sep 2001
Location: Republic of Flanders
Posts: 10,747
Besides Skywalkers brilliant observation, what is there to talk about.

One thing I can see, is wether to make it adaptive or not.
__________________
#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   Reply With Quote
Old December 17, 2003, 08:11   #6
Nikolai
Apolyton UniversityC4DG The Mercenary TeamCiv4 SP Democracy Game
Deity
 
Nikolai's Avatar
 
Local Time: 16:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Bergen, Norway
Posts: 13,800
Shogun Gunner: Could you make a short summary of your idea, so that it would be more suited for the list?

skywalker: You genius!

alva: I agree that it isn't much to say, but it is something I guess? Do you have an idea regaridng an adaptive AI, btw?
__________________
Do not fear, for I am with you; Do not anxiously look about you, for I am your God. -Isaiah 41:10
The LORD your God is with you, he is mighty to save. He will take great delight in you, he will quiet you with his love, he will rejoice over you with singing. - Zephaniah 3:17
Get The List for cIV here!
Nikolai is offline   Reply With Quote
Old December 17, 2003, 08:12   #7
Shogun Gunner
Civilization III MultiplayerCivilization IV: MultiplayerCivilization III PBEMApolyton Storywriters' GuildCivilization III Democracy GameCall to Power II MultiplayerCall to Power MultiplayerC3CDG Team BabylonPtWDG Vox ControliCivilization IV CreatorsC4DG Sarantium
Emperor
 
Shogun Gunner's Avatar
 
Local Time: 10:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Potomac Falls, Virginia
Posts: 6,258
It doesn't adapt now? I assumed it would revisit the priorities it set for itself....

I would be interested to hear more alva.
__________________
Haven't been here for ages....
Shogun Gunner is offline   Reply With Quote
Old December 17, 2003, 08:12   #8
Shogun Gunner
Civilization III MultiplayerCivilization IV: MultiplayerCivilization III PBEMApolyton Storywriters' GuildCivilization III Democracy GameCall to Power II MultiplayerCall to Power MultiplayerC3CDG Team BabylonPtWDG Vox ControliCivilization IV CreatorsC4DG Sarantium
Emperor
 
Shogun Gunner's Avatar
 
Local Time: 10:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Potomac Falls, Virginia
Posts: 6,258
Quote:
Originally posted by Nikolai
Shogun Gunner: Could you make a short summary of your idea, so that it would be more suited for the list?
Okay Nikolai...I'll give it a shot...
__________________
Haven't been here for ages....
Shogun Gunner is offline   Reply With Quote
Old December 17, 2003, 08:13   #9
Nikolai
Apolyton UniversityC4DG The Mercenary TeamCiv4 SP Democracy Game
Deity
 
Nikolai's Avatar
 
Local Time: 16:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Bergen, Norway
Posts: 13,800
Thank you.
__________________
Do not fear, for I am with you; Do not anxiously look about you, for I am your God. -Isaiah 41:10
The LORD your God is with you, he is mighty to save. He will take great delight in you, he will quiet you with his love, he will rejoice over you with singing. - Zephaniah 3:17
Get The List for cIV here!
Nikolai is offline   Reply With Quote
Old December 17, 2003, 08:56   #10
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: 16:42
Local Date: November 2, 2010
Join Date: Sep 2001
Location: Republic of Flanders
Posts: 10,747
An adaptive idea, (hold on to your seats now, I have a Skywolker coming up ) would adapt to your playing style.. .
You weren't expecting that, were you..ha.

@ Shogun: no, it doesn't in Civ3

One idea I have seen being suggested is altering the AI's priorities, based on your actions.
For example; if start researching tech x each time you start and get it first because the AI never really was interested in it, it would change it's behaviour to start 'copying' your style and try to beat you at your own game. Therefore ruining your playing style and forcing you to change your game. (this will probably be more effective on higher levels then on, say chieftan but it a start)

ps: to make it clear, this is not my idea. I do like it though.
__________________
#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   Reply With Quote
Old December 17, 2003, 09:31   #11
Nikolai
Apolyton UniversityC4DG The Mercenary TeamCiv4 SP Democracy Game
Deity
 
Nikolai's Avatar
 
Local Time: 16:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Bergen, Norway
Posts: 13,800
Interesting. Whose idea is it btw? I have written it as "your" idea as for now(the "posted by..." part).
__________________
Do not fear, for I am with you; Do not anxiously look about you, for I am your God. -Isaiah 41:10
The LORD your God is with you, he is mighty to save. He will take great delight in you, he will quiet you with his love, he will rejoice over you with singing. - Zephaniah 3:17
Get The List for cIV here!
Nikolai is offline   Reply With Quote
Old December 17, 2003, 10:56   #12
MrBaggins
CTP2 Source Code Project
King
 
MrBaggins's Avatar
 
Local Time: 14:42
Local Date: November 2, 2010
Join Date: May 1999
Posts: 1,528
adaptive solutions usually use a genetic system. You couldn't use a genetic system in a Civ game. It has irreducible complexity. The entity times choice space is too large to model for a static gene string.
MrBaggins is offline   Reply With Quote
Old December 17, 2003, 21:43   #13
Shogun Gunner
Civilization III MultiplayerCivilization IV: MultiplayerCivilization III PBEMApolyton Storywriters' GuildCivilization III Democracy GameCall to Power II MultiplayerCall to Power MultiplayerC3CDG Team BabylonPtWDG Vox ControliCivilization IV CreatorsC4DG Sarantium
Emperor
 
Shogun Gunner's Avatar
 
Local Time: 10:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Potomac Falls, Virginia
Posts: 6,258
Improve AI Military Decision Making
Improve the AI's military behavior by improving the methods to how it builds it's strategy.

Weighing Decision To Go To War
The AI civ should weigh all factors that humans consider before evening deciding to go to war: relative strength of civ versus targeted civ; probablity to get an ally to join the war; risk of being attacked by other civs; desire for luxury/critical resources; assessment of targeted civ's military; evaluation of geographical features/avenues for attack.

Picking Military Objectives
If the AI civ decides to go to war it should decide what the objectives are, picking several, and select one as the primary objective. A set of objectives could be: reduction of bordering civ's presence; obtaining a luxury/resource from targeted civ; willingness to call off hostilities if tech/gold/city is handed over; taking away a city with a Wonder.

Devising a Military Strategy
Before war is actually declared, a strategy should be devised to reach the primary objective. The AI should analyze the strength of the known defense, location of objectives and pick a set of units it will attack with. The set of units available would be all the civ's units MINUS the units kept for defense of borders/cities and battle plan devised using these units in a concentrated, orderly fashion. Additionally, the AI should determine what are acceptable losses and cease attacks when the has been exceeded.

Program Classic, Historical Military Strategies
The AI should be programmed with classic military strategy techniques. For example, if the targeted civ has a lot of units, setup a trap inside the civ's borders, move units out of the way, when enemy units enter the kill zone, attack and concentrate on destroying units. Another concept is a diversionary attack away from the real objectives, wait one/two turns, launch attack with massed forces towards real objective.

Employ Combined Arms
All unit types should be used to bring maximum force onto the enemy. If the AI has sealift capability, it should load troops to attack either as a diversionary attack, or the main attack WHILE a land attack is occuring. Paratroopers and other units with special abiliites should be used in concert.

Evaluate Progress, Reassign Priorities, Modify Strategy
Every turn during war, the AI should re-evaluate the full series of considerations and adapt by readjusting priorities and/or strategies.
__________________
Haven't been here for ages....
Shogun Gunner is offline   Reply With Quote
Old December 17, 2003, 21:44   #14
Shogun Gunner
Civilization III MultiplayerCivilization IV: MultiplayerCivilization III PBEMApolyton Storywriters' GuildCivilization III Democracy GameCall to Power II MultiplayerCall to Power MultiplayerC3CDG Team BabylonPtWDG Vox ControliCivilization IV CreatorsC4DG Sarantium
Emperor
 
Shogun Gunner's Avatar
 
Local Time: 10:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Potomac Falls, Virginia
Posts: 6,258
Well, I tried to condense and reformat, After reading Mr. Baggins' posting perhaps this is too ambitious. I don't really know what the potential and limits of adaptive, genetic programming are, so I will defer to others that know to accept/reject these suggestions.
__________________
Haven't been here for ages....
Shogun Gunner is offline   Reply With Quote
Old December 17, 2003, 22:18   #15
POTUS
Civilization II Democracy Game: ExodusMacCivilization II PBEMScenario League / Civ2-Creation
Prince
 
POTUS's Avatar
 
Local Time: 06:42
Local Date: November 2, 2010
Join Date: Jul 2003
Location: How could I possibly not have a Mozambican flag, I mean, what other country has an AK-47 on their flag?
Posts: 564
On a Diety, or whatever they decide to call the highest level, the AI should be able to beat me, the worst Civ player ever.
__________________
Vote Democrat
Support Democracy
POTUS is offline   Reply With Quote
Old December 17, 2003, 23:11   #16
MrBaggins
CTP2 Source Code Project
King
 
MrBaggins's Avatar
 
Local Time: 14:42
Local Date: November 2, 2010
Join Date: May 1999
Posts: 1,528
Again goal-oriented models like this are great to consider, until you get to the point of valuation.

Its simple for an instant... within a certain turn, but when you start introducing time, and evolving situational data into the equation, you start getting problems. Its tricky to assign a value to whether you should build an army and attack to get, say 2 towns, or more beneficial to delay and build up your own cities.

This leads to a whole host of problems including determining reasonable target goals (with infinite possible goals, whats a reasonable army size to aim for and what are reasonable conquest/defense goals, for instance), solving indescision (illustrated in the quoted passage below) and understanding when and how to abort a goal.

"The Civ3 siege model builds an attack stack and sends it to rout a city. The weaker city. A player can cause it to keep changing its mind by ferrying."

Having said that... the concept of victory/strategic/tactical hierachy is probably the best "real" solution. No current AI designs "out there" have solved these issues. I know Clash is going this route, but is better structured this way. Its not solved all these issues yet, either, however.

Civ "decision space" is just to monumental to be able to "solve", completely.

So whats happening at the moment is more and more sophisticated heuristic designs.

CtP1 was interesting in its use of a fuzzy design. It however, used the fuzzy system with largely binary choices, and by all accounts, bad defuzzification, making it essentially heuristic, even if you could extend it yourself.
MrBaggins is offline   Reply With Quote
Old December 18, 2003, 05:02   #17
ixnay
Civilization II Democracy GamePtWDG Lux InvictaPtWDG Gathering StormInterSite Democracy Game: Apolyton TeamPtWDG2 Cake or Death?C3C IDG: Apolyton TeamApolytoners Hall of FameCivilization IV CreatorsAge of Nations Team
Emperor
 
ixnay's Avatar
 
Local Time: 08:42
Local Date: November 2, 2010
Join Date: Dec 1998
Posts: 3,215
Give the AI the ability to recognize if events leading to deals with them getting canceled were out of your control or deliberately player-caused.

I'm tired of trading with one computer civ only to have some crazy war break out somewhere that disrupts my trade route with them. After this no other civs will trade with me; they're all "RAR WE REMEMBER WHAT YOU DID TO FRANCE WE'RE NOT DUMB SO WE'LL NEVER TRADE WITH YOU"
ixnay is offline   Reply With Quote
Old December 18, 2003, 09:05   #18
Nikolai
Apolyton UniversityC4DG The Mercenary TeamCiv4 SP Democracy Game
Deity
 
Nikolai's Avatar
 
Local Time: 16:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Bergen, Norway
Posts: 13,800
List updated!

POTUS: If you can beat Deity, you're NOT the worst Civ player ever, I can assure you!

__________________
Do not fear, for I am with you; Do not anxiously look about you, for I am your God. -Isaiah 41:10
The LORD your God is with you, he is mighty to save. He will take great delight in you, he will quiet you with his love, he will rejoice over you with singing. - Zephaniah 3:17
Get The List for cIV here!
Nikolai is offline   Reply With Quote
Old December 18, 2003, 09:34   #19
Jamski
Alpha Centauri Democracy GameAlpha Centauri PBEMACDG Planet University of TechnologyACDG The Cybernetic Consciousness
Deity
 
Jamski's Avatar
 
Local Time: 14:42
Local Date: November 2, 2010
Join Date: May 2002
Location: lol ED&D is officially full PvP LOL
Posts: 13,229
Diplomacy AI :

I want the AI to ALWAYS be open to talks, even directly after a DoW. Of course the AI should accept peace if there's been no actual fighting, or if its clearly losing. If the AI declares war, you should be able to contact it straight away and ask "what do you want to call off your dogs?" Those times where the AI DoWs you out the blue and won't even talk until x cities have changed hands really makes me MAD!

If the AI is under attack by another AI, it should contact all civs, including the player, and ask for help. Depending on situation it could ask for trade embargo, cash, alliance etc.

If the AI wants to move through your territory all the time it should also want to PAY for a RoP agreement. As it is, it keeps wandering through, and then wants you to pay THEM for the RoP.

Before declaring war the AI should always make a final demand.
"Give me Athens/Gunpowder/Furs or I WILL declare war"
You should be able to make a counter-offer
"How about instead of Athens I pay you 8gtp?"
Then the AI says, "hmm... offer a bit more and I'll leave you in peace"

World-war triggering. The AI embarks on a world war if it "feels strong enough" (more than 25% of the worlds forces or something, adjusted by number of civs alive at the time) and attempts to take on everyone. It contacts all civs with the offer,
"Pay huge sum/cities/tech or join me in war against xyz, or I DoW you."
This results in either a killer AI, or at least a huge war with multiple civs on each side.

Restrict tech trading : Neither you or the AI can trade a tech in the turn you get it. This cuts down on tech whoring AND the "feature" if you trade a tech to the AI in its turn, it then trades it to all the other civs immediatly. Should slow the tech rate marginally.

New agreement : research pact. You and the AI civ agree to share all your research. If one civ has a better research rate, then the agreement is "worth more" to the one with the lesser tech rate, and they may offer additional trades (luxuries, money, troops)

New trade : UNITS! Make all units except UU's tradeable just like workers are now. Mercenary units from another civ cost double gold or something to support. The units appear in you capital.

New Agreement : Favored trade partner. This gives you +1 gold in each town connected to the AI's cities, +2 in each city and +3 in each metropolis. The AI gets the same benefits. You can only have one trade partner at a time. It make that AI like you more, and makes other AIs dislike you more. Breaking the agreement lowers your reputation with all civs EXCEPT if you break it by signing the agreement with another civ, who then think you are great.

-Jam
__________________
1) The crappy metaspam is an affront to the true manner of the artform. - Dauphin
That's like trying to overninja a ninja when you aren't a mammal. CAN'T BE DONE. - Kassi on doublecrossing Ljube-ljcvetko
Check out the ALL NEW Galactic Overlord Website for v2.0 and the Napoleonic Overlord Website or even the Galactic Captians Website Thanks Geocities!
Taht 'ventisular link be woo to clyck.
Jamski is offline   Reply With Quote
Old December 18, 2003, 10:09   #20
Nikolai
Apolyton UniversityC4DG The Mercenary TeamCiv4 SP Democracy Game
Deity
 
Nikolai's Avatar
 
Local Time: 16:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Bergen, Norway
Posts: 13,800
Lots of good ideas, Jam! I'm a bit unsure about the world war part though; the AI should be very sure on itself before it does something like that. And if it's implemented, it's important that the other AI's have some way to consider if the threat is big enought.(especially if the player and the AI has good relations)

*Updated*
__________________
Do not fear, for I am with you; Do not anxiously look about you, for I am your God. -Isaiah 41:10
The LORD your God is with you, he is mighty to save. He will take great delight in you, he will quiet you with his love, he will rejoice over you with singing. - Zephaniah 3:17
Get The List for cIV here!
Nikolai is offline   Reply With Quote
Old December 18, 2003, 12:09   #21
Jamski
Alpha Centauri Democracy GameAlpha Centauri PBEMACDG Planet University of TechnologyACDG The Cybernetic Consciousness
Deity
 
Jamski's Avatar
 
Local Time: 14:42
Local Date: November 2, 2010
Join Date: May 2002
Location: lol ED&D is officially full PvP LOL
Posts: 13,229
Yeah, the AI would need 55% with 2 civs, 40% with 3 civs, 30% with 4 civs, 26% with 5 civs, 24% with 6 civs etc...

-Jam
__________________
1) The crappy metaspam is an affront to the true manner of the artform. - Dauphin
That's like trying to overninja a ninja when you aren't a mammal. CAN'T BE DONE. - Kassi on doublecrossing Ljube-ljcvetko
Check out the ALL NEW Galactic Overlord Website for v2.0 and the Napoleonic Overlord Website or even the Galactic Captians Website Thanks Geocities!
Taht 'ventisular link be woo to clyck.
Jamski is offline   Reply With Quote
Old December 18, 2003, 21:17   #22
Shogun Gunner
Civilization III MultiplayerCivilization IV: MultiplayerCivilization III PBEMApolyton Storywriters' GuildCivilization III Democracy GameCall to Power II MultiplayerCall to Power MultiplayerC3CDG Team BabylonPtWDG Vox ControliCivilization IV CreatorsC4DG Sarantium
Emperor
 
Shogun Gunner's Avatar
 
Local Time: 10:42
Local Date: November 2, 2010
Join Date: Oct 2000
Location: Potomac Falls, Virginia
Posts: 6,258
Actually I like the world war option -- if it works right. If this messes up the computer's logic, which can be shaky at best, then this feature would be a disaster. I'm thinking never ending conflict between civs....

Now that I'm typing that a battle to the death doesn't seem so bad...
__________________
Haven't been here for ages....
Shogun Gunner is offline   Reply With Quote
Old December 19, 2003, 05:39   #23
Trifna
King
 
Trifna's Avatar
 
Local Time: 22:42
Local Date: November 2, 2010
Join Date: Jul 2001
Location: of anchovies
Posts: 1,478
Perhaps that to consider a multi-threaded AI like in GalCiv would be a good idea. It apparently got good results for GalCiv, but I don't know technicals alot to say it's also good for Civ4. In the case of GalCiv, it permits an overall better AI.

Someone knows?


PS: I hardly know what a multi-threaded AI is technically, but it's one of the unique elements of GalCiv, helping the AI (which was praised by many).
__________________
Go GalCiv, go! Go Society, go!

Last edited by Trifna; December 19, 2003 at 05:44.
Trifna is offline   Reply With Quote
Old December 19, 2003, 09:27   #24
Fosse
Alpha Centauri PBEMCivilization IV: MultiplayerC4WDG Stratega
King
 
Local Time: 08:42
Local Date: November 2, 2010
Join Date: Mar 2002
Location: U.S.A.
Posts: 1,668
"multi threaded" just means that the AI is "thinking" while you are taking your turn.

It makes a huge difference, and should DEFINATLY be done.
Fosse is offline   Reply With Quote
Old December 19, 2003, 11:46   #25
wrylachlan
Prince
 
Local Time: 14:42
Local Date: November 2, 2010
Join Date: Apr 2002
Posts: 333
Make the AI think in terms of "Fronts". So if its at war on three fronts, it first analyzes each position, says "I'm good here" or "Little help please" and the AI then distributes reinforcements, but the battle strategy is figured out on an individual front basis. This allows the AI to work much faster because the scope of its calculations is narrower.
wrylachlan is offline   Reply With Quote
Old December 19, 2003, 16:54   #26
7EA
Chieftain
 
Local Time: 16:42
Local Date: November 2, 2010
Join Date: Jul 2001
Location: Denmark
Posts: 55
Quote:
"multi threaded" just means that the AI is "thinking" while you are taking your turn.
Does that mean that if I finish my turn fast the AI will make more stupid moves?
7EA is offline   Reply With Quote
Old December 19, 2003, 20:56   #27
Trifna
King
 
Trifna's Avatar
 
Local Time: 22:42
Local Date: November 2, 2010
Join Date: Jul 2001
Location: of anchovies
Posts: 1,478
One thing: the AI should NOT move its units all over the place for no reason. It's really completely silly to see the AI constantly move its stuff for no reason...

Galactic Civilizations, I don't know why, don't have AIs that move their units all over the place during turns.
__________________
Go GalCiv, go! Go Society, go!
Trifna is offline   Reply With Quote
Old December 19, 2003, 21:08   #28
Jamski
Alpha Centauri Democracy GameAlpha Centauri PBEMACDG Planet University of TechnologyACDG The Cybernetic Consciousness
Deity
 
Jamski's Avatar
 
Local Time: 14:42
Local Date: November 2, 2010
Join Date: May 2002
Location: lol ED&D is officially full PvP LOL
Posts: 13,229
Quote:
Make the AI think in terms of "Fronts". So if its at war on three fronts, it first analyzes each position, says "I'm good here" or "Little help please" and the AI then distributes reinforcements, but the battle strategy is figured out on an individual front basis. This allows the AI to work much faster because the scope of its calculations is narrower.
This ruined the MoO3 AI. It tryed to spread its forces over many fronts, meaning it was never a real threat on any of them. The Ai should think TARGETS, not fronts. It should have a goal like : get Athens, and defend Rome with x troops. Simple.

-Jam
__________________
1) The crappy metaspam is an affront to the true manner of the artform. - Dauphin
That's like trying to overninja a ninja when you aren't a mammal. CAN'T BE DONE. - Kassi on doublecrossing Ljube-ljcvetko
Check out the ALL NEW Galactic Overlord Website for v2.0 and the Napoleonic Overlord Website or even the Galactic Captians Website Thanks Geocities!
Taht 'ventisular link be woo to clyck.
Jamski is offline   Reply With Quote
Old December 19, 2003, 22:02   #29
Peter Triggs
CTP2 Source Code ProjectCivilization IV Creators
King
 
Local Time: 14:42
Local Date: November 2, 2010
Join Date: Jan 2000
Location: Gone Fishin, Canada
Posts: 1,059
Quote:
Does that mean that if I finish my turn fast the AI will make more stupid moves?
Depends how many keys you can press per millisecond. (joke/response: groan)

But seriously, GalCiv originally came out in 1993 and even then had AI multithreading:

Quote:
One characteristic of the early GalCiv was multithreaded AI (a technology possible even in early versions of OS/2), and the newest incarnation makes good use of it as well. While most strategic games have to do a terrific amount of number crunching to run the AI after you press “next turn”, GalCiv is uniquely different: the AI is running all the time in separate ‘threads’ in the background. In fact, GalCiv has been hailed as the first computer game to use Intel’s new hyperthreading to good effect. (Note: you don’t need a hyperthreaded processor to run the game, but if it’s available the multithreaded AI will take advantage of it to run even faster.) When you hit “next turn” - even in the later game stages on huge galaxies where hundreds of ships and planets are all doing their thing - it processes quickly, even with the meager minimum / recommended system requirements.
Multithreading is not restricted to AI, it's basic stuff. I suspect that what's at least as important with regard to GalCiv's AI is that it probably uses different techniques. (I'm only going on what I've read on the Net.) Here's an old interview with Brad Wardell where he talks about AI:

http://www.geocities.com/TimesSquare..._wardell1.html

And here's a later (long) one where he talks about GalCiv's development (and also mentions AI):

http://www.gamespy.com/articles/may0...ivpostmortempc

edit: Update. Just got an e-mail from GameSpy who have named GalCiv as the PC turned based strategy game of the year:

http://www.gamespy.com/goty2003/pc/index13.shtml

Last edited by Peter Triggs; December 20, 2003 at 00:02.
Peter Triggs is offline   Reply With Quote
Old December 20, 2003, 11:24   #30
Fosse
Alpha Centauri PBEMCivilization IV: MultiplayerC4WDG Stratega
King
 
Local Time: 08:42
Local Date: November 2, 2010
Join Date: Mar 2002
Location: U.S.A.
Posts: 1,668
Quote:
Originally posted by 7EA


Does that mean that if I finish my turn fast the AI will make more stupid moves?
Possibly, but what it should mean is that if you take long turns then the AIs will already be finished, and have made better moves than with standard Civ-type AI. If you take short ones, you'd have to wait a little longer.

What it could mean is that the AI is able to be more complex, and make better decisions, without technically being faster, since it's thinking during the player turn.
Fosse is offline   Reply With Quote
Reply

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 10:42.


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