|
Author
|
|
Topic: Alternative ai |  |
|
0 Prince Melbourne, Australia Dec 2000
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
5 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
1 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
2 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
3 |
4 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
1 |
4 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
5 |
5 Settler
b.02-15-99
|
 |
posted blank , 20-100 00:00
 |
 |
 |  |
6 |
Alpha Wolf Settler Prince of the Barbarians Feb 2001
|
 |
posted January 15, 2001 19:35
 |
 |
 |  |
Has anyone had any luck in controlling how the AI deploys units during a battle? It always seems that my weakest unit is in the middle. Boats and special units to often fill the front row. I just had a 12 stack of hoplites/catapults/mounted archers defeated my a city defended by 6 coracles and 6 archers. in another battle, 2 hoplites were defeated by 2 slavers/2 arhcers because the slavers were in front and the archers were able to use their ranged attack. Also it seems that the battle AI doesnt understand that units with a shorter range should be in front. In some other post it was discussed that 2 archers would line up next to each other if they attack a single unit. I gave mounted archers less range and attacked a single unit with 1 archer/1 mounted. They still lined up next to each other. being that i've never played thru to tanks, does that mean all future warfare is fought in a line? Also many of my flankers seem to end up in the middle of the line while non flankers are on the end. Anyone else notice any screwy battle lines? ------------------ History is written by the victor. |
Alpha Wolf Settler Prince of the Barbarians Feb 2001
|
 |
posted January 31, 2001 19:22
 |
 |
 |  |
Anyone else still looking at improving the AI without SLIC? I've gotten a much smarter AI without using SLIC to this point but there are still some quirky things it does that confuse me. In particular how does it set its strategies. If we can control the intelligence of strategy picking by the AI, the game actually does seem to work. I have the AI using diplomacy fairly well. I've seen countless wars between the civs where cities change hands repeatedly. I've even been attacked by large multiple stacks. But I have also seen a civ that is losing a war with another civ, not move the over 70 units that it has just sitting around. I also had a stack worn down by multiple stacks, then just when i was surrounded and too weak to survive another attack, it offers a cease fire. Talk about no killer instinct.I'd like to have a place where people could list specific changes to files and their specific results, much like the post about increasing time in the const.txt. You definitely see better decisions by the AI later in the game, but not too much difference early. Decreased unit costs has a HUGE impact on the AI's ability to wage war. Before reducing costs (25-33%), i rarely saw AI stacks of more than 6. Now I see stacks of 10-12 running all over the place. Since the AI uses the matching criteria to determine whether to attack, the smaller stacks rarely had the firepower necessary to attack entrenched armies. With the larger stacks, they attack more frequently and entrench alot less which also promotes more combat. But again, if you run around with 12-unit stacks, they probably dont have a mixure of units that will make them strong enough to attack you. I also increased movement factors slightly. The AI tends to think only about this specific turn. The farther it can move in that turn, the more options it will consider. Always, i hope ya'll get the gist of what I'm asking, so if you have a specific change, plus post it under this thread.  ------------------ History is written by the victor. |
Azmel2 Activision Santa Monica, CA USA Aug 2000
|
 |
posted March 15, 2001 20:24
|
 |
 |  |
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
|
Dale Prince Melbourne, Australia Dec 2000
|
 |
posted January 10, 2001 20:59
 |
 |
 |  |
Folks,Just so you know, even though I've been saying I can't be bothered fixing the AI, I'm looking into the one section as I see as needs work. Diplomacy, and it's prioritys. So last night I ran some experiments. 1 - I changed the prioritys on sending and receiving certain diplomatic events (namely pacts and alliances). 2 - I set the regard bonus amount for each turn at peace/pact/alliance a little higher. 3 - I changed a couple of the response priorities as well. 4 - I fiddled with roads to make them more 'attractive' bonus wise for the AI, and added roads to the lists of improvements to build for all categories (growth, production, etc). 5 - As an expansion on diplomacy-war, I made the ATTACK and SIEGE goals almost irrisitable to the AI. Here's what happened. Remembering that at this point I'm working on extreme conditions and will narrow down to something balanced. Setup a mid-size planet with 8 civs on impossible. I cheated and gave each civ advance: cannons (and everything below it added in auto), 10000 PW and 20000 gold. I also gave each civ 4 settlers. Basically, I wanted it to be a bit further on than a beginning game. Myself as a player did nothing but build defense units (keeping 6 in my city at all times, disbanding excess). I didn't improve or anything. I quickly ran through 50 turns. Turning off FOW I saw: 1 - The AI had spread all round the globe. 2 - The AI had built roads EVERYWHERE! It had gone nuts with them. I even saw a roman city in the centre of 6 cities with double roads to each city. Even roads going to nowhere. 3 - Units flowed down these roads comfortably. There was no congestion of stacks, no blockages or whatever. Just stacks moving comfortable to where they were going without hindrance. I took a look at the diplomacy of every civ. 3 civs were fighting an all-in war (with stacks of cannon/riflemen on the borders). But the interesting thing was that these three civs had built roads to this triple-border area and had connected. Therefore, battles were occuring between AI stacks. 2 civs had research pacts with each other, one of them having a normal pact with civ number 8 as well. Civ number 7 was on an island all by itself, and only had a couple of contacts, but couldn't do anything as it hadn't got diplos to them yet. I kept the turns rolling. I noticed: 1 - The AI would declare war, fight an intesive battle with someone, then after a while when one sues for peace the war ends. The wars were short and bloody. I saw one civ send three stacks of 6-8 units at another civ at the one time. When peace reigned between two civs, the regard went up quickly till the next war (or sometimes turned into a pact). 2 - During peace, the AI built roads like nuts for infrustructure. During war, it built roads near the frontier (reminding myself to add forts to the improve lists as well) thus making unit movement good. 3 - The diplomats of the AI civs actually interacted. Admittedly it was usually an extreme (refuse a pact and they declared war) but it was something. Maybe there is life in there afterall. Will go back to moding tonight. ------------------ Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back." |
Dale Prince Melbourne, Australia Dec 2000
|
 |
posted January 10, 2001 20:59
 |
 |
 |  |
Folks,Just so you know, even though I've been saying I can't be bothered fixing the AI, I'm looking into the one section as I see as needs work. Diplomacy, and it's prioritys. So last night I ran some experiments. 1 - I changed the prioritys on sending and receiving certain diplomatic events (namely pacts and alliances). 2 - I set the regard bonus amount for each turn at peace/pact/alliance a little higher. 3 - I changed a couple of the response priorities as well. 4 - I fiddled with roads to make them more 'attractive' bonus wise for the AI, and added roads to the lists of improvements to build for all categories (growth, production, etc). 5 - As an expansion on diplomacy-war, I made the ATTACK and SIEGE goals almost irrisitable to the AI. Here's what happened. Remembering that at this point I'm working on extreme conditions and will narrow down to something balanced. Setup a mid-size planet with 8 civs on impossible. I cheated and gave each civ advance: cannons (and everything below it added in auto), 10000 PW and 20000 gold. I also gave each civ 4 settlers. Basically, I wanted it to be a bit further on than a beginning game. Myself as a player did nothing but build defense units (keeping 6 in my city at all times, disbanding excess). I didn't improve or anything. I quickly ran through 50 turns. Turning off FOW I saw: 1 - The AI had spread all round the globe. 2 - The AI had built roads EVERYWHERE! It had gone nuts with them. I even saw a roman city in the centre of 6 cities with double roads to each city. Even roads going to nowhere. 3 - Units flowed down these roads comfortably. There was no congestion of stacks, no blockages or whatever. Just stacks moving comfortable to where they were going without hindrance. I took a look at the diplomacy of every civ. 3 civs were fighting an all-in war (with stacks of cannon/riflemen on the borders). But the interesting thing was that these three civs had built roads to this triple-border area and had connected. Therefore, battles were occuring between AI stacks. 2 civs had research pacts with each other, one of them having a normal pact with civ number 8 as well. Civ number 7 was on an island all by itself, and only had a couple of contacts, but couldn't do anything as it hadn't got diplos to them yet. I kept the turns rolling. I noticed: 1 - The AI would declare war, fight an intesive battle with someone, then after a while when one sues for peace the war ends. The wars were short and bloody. I saw one civ send three stacks of 6-8 units at another civ at the one time. When peace reigned between two civs, the regard went up quickly till the next war (or sometimes turned into a pact). 2 - During peace, the AI built roads like nuts for infrustructure. During war, it built roads near the frontier (reminding myself to add forts to the improve lists as well) thus making unit movement good. 3 - The diplomats of the AI civs actually interacted. Admittedly it was usually an extreme (refuse a pact and they declared war) but it was something. Maybe there is life in there afterall. Will go back to moding tonight. ------------------ Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back." |
Dale Prince Melbourne, Australia Dec 2000
|
 |
posted February 19, 2001 22:42
 |
 |
 |  |
Hiya folks. I had some thoughts on the weekend about AI's and games and thought I'd share them to see how you guys feel about it.Basically, I came to the conclusion that the AI in CTP2 is not really that bad. I mean, it does what it was programmed/designed to do. It does use all of its options that it has available strategically. Actually, after thinking about the CTP2 AI I'd hate to be playing it as my first ever TBS 4X game. I've been playing games since 1980, predominately high-end strategic, TBS empire-builders, war games and even RPG's. Now all of these games require at the least an adequate AI to make the game playable. How is an AI adequate? I think we can break that down into these areas: a) an AI needs to be able to think high-end strategy (the future/overall picture), nationalised strategy (attack/defense fronts/national modifiers), and localised strategy (city/unit level). This looks easy to do on paper, and because humans minds are attuned to thinking on all three levels at the same time, but what of a PC? Each single and individual command is another line of code. To set values is a line. To compare is a line. How many lines would be needed? Also, you must remember that each line of code takes CPU clock cycles. Sure, a clock cycle is measured in milliseconds/picoseconds, but we're talking about thousands of clock cycles to process here. For an AI to make an informed decision it needs to have up-to-date info which means processing as much current data as possible (and even past data as the case requires) BEFORE it'll even start to think about what it'll do next. The gaming world is demanding faster and better AI in games. Well, using all the above logic (who's going to dare say I'm wrong there ) contradicts this. To make a better AI we need to process more CPU clock-cycles. But processors are getting better and faster. This is where my thoughts led me to a debate question: After many years of playing games which utilise an AI, does a gamers strategic thinking increase faster than the progression of processors and consequently AI adequateness? My answer is YES. Quite simply, by looking over the last 5 years of strategy games, I've never really had a problem in defeating an AI. Sure, I may get beaten for a few games, then start winning and end up winning every game on the top level. My conclusion is that I'd hate to be playing CTP2 as my first ever TBS 4X game, as I believe the AI would in fact be pretty hard. Which is why we occaisionally see posts from CTP2'ers who are being beaten by the AI on the less-than very hard levels. ------------------ Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back." |
GAMEOVER Settler Washington dc, usa Nov 2000
|
 |
posted February 11, 2001 14:26
 |
 |
 |  |
COuld someone please explain to me step by step how to install the frenzy and diplomatic mods? I can barely turn my computer on and off, so i would appreciat ethe help. |
Gwap Chieftain Largs, Scotland Jan 2001
|
 |
posted February 06, 2001 09:43
  |
 |
 |  |
I am currently playing at Very Hard on Gigantic with 8 Civs. Ok, now there are 7 civs, because those nice Australians gave me all their cities when I asked them nicely. Running
// Dale's diplomacy script to make AI do diplomacy with itself. // // Modified to include BlueOrange's FRENZY AI script. // // Version 2 - 14-Jan-2001
Am I alone in thinking this a bit too nice? who of you would happily give away all his cities (will the game allow you to do that???)
Is this fixed in version 3? |
Hannibal Ad Portas Chieftain IOW UK Feb 2001
|
 |
posted February 28, 2001 08:07
 |
 |
 |  |
Hi all,Does any one know if the following is correct,in stratagies where it has the max eval/ max exec numbers, some of these numbers would need to be increased if your game is larger than what activision thought we ought to have,thus bigger map has more citys that equal more units and then at a certain point the ai will be forced to priortize those of the highest threat.I think this is what happens but can anyone confirm it and if so what are the base numbers in strategys ment to allow for in terms of units present in game. Thanks in advance for any input. Nick Spencer AKA Hannibal Ad Portas spennick@aol.com |
Hannibal Ad Portas Chieftain IOW UK Feb 2001
|
 |
posted March 17, 2001 13:24
 |
 |
 |  |
If your int ai modifying take a look at my thread in mods/scn for playtesters for a new scn that uses an alternative ai with lots of other stuff as well Hannibal |
MR. SADDAM Settler ridge ,NY , USA Jan 2001
|
 |
posted January 29, 2001 18:22
 |
 |
 |  |
THe AI are trespassers Regardless.What you do is reverse thinking.Be like the AI. Go into there border ,fortify near there capitol, and use there roads. More often then not they will ask you to leave.tell them no  |
MR. SADDAM Settler ridge ,NY , USA Jan 2001
|
 |
posted January 29, 2001 18:22
 |
 |
 |  |
THe AI are trespassers Regardless.What you do is reverse thinking.Be like the AI. Go into there border ,fortify near there capitol, and use there roads. More often then not they will ask you to leave.tell them no  |
PrinceBimz Warlord
Apr 99
|
 |
posted February 09, 2001 04:42
 |
 |
 |  |
I have been playing on the easier levels and it was indeed fairly easy. So I tried the very hard level for the first time about 20 minutes ago. Yep thats correct 20 minutes ago. I figured some people said how easy the AI was so what the heck I give it a try on very hard. Well what was I supposed to do when the AI torn into each of my cities extremely early with Slavers? Then I had barbarians beating my settlers to death. Besides I had watched the AI setup a fortification adjacent to my MAIN city. It built up a stack of 4 Archers in that fortification over a couple of turns. Then I was thinking, well it probably won't attack according to what others say. WRONG! It attacked alright, took over the city and headed straight for my other ones with a bigger army. Of course with the Slavers I could not build up a big enough army that quick to stop this. I did not have enough population, I did have the city to 6 but those Slavers brought it down! All of this happened very early before I could have a chance to do anything! So what is this about the AI not attacking? I take it many must be talking about the easier levels unless my experience and position was rare. Maybe it was the way the random map was setup or something, I don't know. But I got the hell beat out of me because I could not do anything in that situation. I feel the AI is not NEAR as bad as others say it is because of what I seen here. Anyone else had an experience like this early in the game before you had a chance to do anything? I remember even playing on one of the easier levels where the AI had sent Destroyers up and down my coast destroying ever net and improvement I had built! Of course I was surprised means I heard the AI don't use naval units. Anyway I was forced to build ships or planes to sink those Destroyers. |
Steve5304 Prince Racine ,WI USA Jan 2001
|
 |
posted February 11, 2001 01:54
 |
 |
 |  |
My Friend on Mplayer said that He had found a Bad String that makes the AI confused between Rivers Roads and ways to return home? That would explain why the AI goes nuts at a river/Road junction with there constant back and forth. I asked him for it but he didnt give.....ill keep on him but if hes right, that would certainly explain alot. |
Troll Warlord The Forum Fur Flyer USA Jul 2000
|
 |
posted March 12, 2001 07:11
 |
 |
 |  |
I am working on making a setup where I give all civilizations 40 settlers, then exclude settlers and urban planners, also alter risks.txt file to assure no one find any in ruins.I want to make it so that ai wont build all 40 settlers within a space say a meant for 25 cities.... Could anyone tell me what file determines this distance? Thanks Yours in civin Troll ------------------ Hebrews 11:1 Now Faith is the substance of things hoped for and things unseen |
WesW apolyton.net/wes Huntsville, Al., USA b.02-15-99
|
 |
posted February 06, 2001 16:26
  |
 |
 |  |
Here is a thread to ask questions about topics not covered in the "Conversations" thread. Please restrict your questions to AI behavior. To my knowledge, Richard can't do anything about bugs or multi-player problems. |
WesW apolyton.net/wes Huntsville, Al., USA b.02-15-99
|
 |
posted February 06, 2001 16:26
  |
 |
 |  |
Here is a thread to ask questions about topics not covered in the "Conversations" thread. Please restrict your questions to AI behavior. To my knowledge, Richard can't do anything about bugs or multi-player problems. | |