Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > Weak AI? Give him more time!
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
MarkG
Guest

Not Yet
time:
Arrow  Old Post 02-12-2000 17:48
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Weak AI? Give him more time! Increase Your PM Length

i think giving more time to the ai will probably make it better.

open Const.txt under Call To Power 2\ctp2_data\default\gamedata and find these lines

quote:

AI_GOAL_TIME_SLICE 25 # time in milliseconds for an AI frame
AI_MAX_TIME_SLICE 250 # (in milliseconds)if the ai exceeds this time its turn is ended
AI_TOTAL_TIME_SLICE 3000 # (in milliseconds) if the total time in time in the ai player exceeds this its turn is ended


i've changed them to 75, 1250 and 13000 and it seems to have some effect.

marc420 is offline marc420
Warlord
Oceania
Jun 1999
time: 05:14
Post  Old Post 02-12-2000 19:38
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Thanks!

I saw those settings yesterday while browsing through const.txt, and I wondered if that would help.

I had an old, old chess program where you controlled the difficulty of the AI by controlling how much time the AI had to search for the best move. If you give it more time, it can run through more possibilities, and thus (hopefully) play smarter.

marc

WesW is offline WesW
CTP1/2 Modification Site Admin
Florence, Al., USA
Jan 1970
time: 23:14
Post  Old Post 03-12-2000 02:43 Visit WesW's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Tired of ads?

Here is what we did in the Med mod 4. This is from the Miscellaneous readme:

"AI_GOAL_TIME_SLICE 125 # time in milliseconds for an AI frame
AI_MAX_TIME_SLICE 1250 # (in milliseconds)if the ai exceeds this time its turn is ended
AI_TOTAL_TIME_SLICE 15000 # (in milliseconds) if the total time in time in the ai player exceeds this its turn is ended.
(These were all increased by a factor of 5)

Note: For those of you with older computers (generally under 300MHz), I would suggest that you increase the timeslice settings by an additional factor of five (for a total factor of ten), as these changes have been seen to have very significant effects on AI performance for those machines."

colorme is offline colorme
Warlord

Nov 2000
time: 05:14
Post  Old Post 04-12-2000 02:51
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Avatar Enlargement: We've got the solution


Mark,

Did you see a substantial increase in AI intelligence by increasing the AI time slice? I have a P3 450 MHz

MarkG
Guest

Not Yet
time:
Post  Old Post 04-12-2000 03:45
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase the size of your Attachments

i did see a significant difference in the war part: much more attacks, with use of stacks(although he did some idiotic things too, like sending 1 catapult alone to attack a city), better defence(always has some bombarding unit), use of slavers(which he did anyway though)

in the diplomat part there was not much of a change: no sending of diplomats, basically waiting for to create an embassy and be "nice", etc

i would definately recommend you increasing those numbers though. it's worth a try

Kautilya is offline Kautilya
King
St Louis, MO
Feb 2000
time: 23:14
Post  Old Post 04-12-2000 04:57
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Increase the size of your Attachments

Thanks for the tip.
Although if you increase it ten times does this mean that the computer will take exactly ten times for each move? My computer is a P2 300 so it's already quite slow in the latter stages.

Azmel2 is offline Azmel2
Settler
Santa Monica, CA USA
Aug 2000
time: 05:14
Post  Old Post 13-12-2000 02:40
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:

Originally posted by MarkG on 12-03-2000 05:45 PM
i did see a significant difference in the war part: much more attacks, with use of stacks(although he did some idiotic things too, like sending 1 catapult alone to attack a city), better defence(always has some bombarding unit), use of slavers(which he did anyway though)

in the diplomat part there was not much of a change: no sending of diplomats, basically waiting for to create an embassy and be "nice", etc

i would definately recommend you increasing those numbers though. it's worth a try


I'm sorry to say that those values in const.txt won't have any effect on the ctp2 AI. The only way to get the AI to spend more time thinking is to play on the hardest difficulty level. I probably should have made this a parameter, but I didn't get the chance.

-- Richard

pchang is offline pchang
King
Cupertino?
Aug 1999
time: 05:14
Exclamation  Old Post 13-12-2000 02:53
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Remove this text

quote:

Originally posted by Azmel2 on 12-12-2000 04:40 PM
I'm sorry to say that those values in const.txt won't have any effect on the ctp2 AI. The only way to get the AI to spend more time thinking is to play on the hardest difficulty level. I probably should have made this a parameter, but I didn't get the chance.

-- Richard


ARGGGHHHHH!!!!!!

Does this mean it didn't do anything in CTP1 either?

MarkG
Guest

Not Yet
time:
Post  Old Post 13-12-2000 04:31
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Help yourself to an AD-FREE life

quote:

Originally posted by Azmel2 on 12-12-2000 04:40 PM
I'm sorry to say that those values in const.txt won't have any effect on the ctp2 AI. The only way to get the AI to spend more time thinking is to play on the hardest difficulty level. I probably should have made this a parameter, but I didn't get the chance.
dear god, i must have been dreaming...
i'm telling you, it was smarter!

pchang is offline pchang
King
Cupertino?
Aug 1999
time: 05:14
Post  Old Post 13-12-2000 23:48
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

This thread would seem to indicate that the AI would perform much better on a 1GHZ Athlon than a 33MHZ Celeron.

MrFun is offline MrFun
King
of Iowa
Nov 2000
time: 23:14
Question  Old Post 13-12-2000 23:58 Visit MrFun's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Increase Your PM Length

Hey Mark - does increasing the AI's time to make decisions enable it to transport a substantial attacking army overseas?

MarkG
Guest

Not Yet
time:
Post  Old Post 14-12-2000 10:55
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Suffering from ads?

quote:

Originally posted by MrFun on 12-13-2000 01:58 PM
Hey Mark - does increasing the AI's time to make decisions enable it to transport a substantial attacking army overseas?
i havent played a game with that setting(e.g. i didnt have lots of sea)

marc420 is offline marc420
Warlord
Oceania
Jun 1999
time: 05:14
Post  Old Post 15-12-2000 06:58
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy Civilization 2

Hmm, like MarkG, I must have been dreaming. I'd have sworn it was playing better. I even got lazy and left my capital weakly guarded and it came over and took it from me. Yes, I actually saw the AI launch an attack.

So question: Do these settings do anything? And if so, what do they do? I'm curious, so I'd like to know if you can tell us anything without giving away any Activision secrets about AI programming.

Rebel Rick is offline Rebel Rick
Chieftain
Asuncion, Paraguay
Oct 2000
time: 05:14
Cool  Old Post 15-12-2000 07:21
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Get a bigger avatar today!

Off course there is an effect... i don't know why these people lie about that.

i saw the AI build 2-3 stacks of 12 units, attack-ranged, penetrate my front lines (not guarded), search for the "prettiest" cities, and launch attacks (i just was prepared inside the cities, if not i would have lost them easily)...

plus, they defend better... all that and more after the changes...

ChaosSpeeder is offline ChaosSpeeder
Settler
Germany
Nov 1999
time: 05:14
Post  Old Post 20-12-2000 16:45
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Help yourself to an AD-FREE life

Hi,

quote:

Originally posted by Rebel Rick on 12-14-2000 09:21 PM
plus, they defend better... all that and more after the changes...


what are the other changes?

bye, Andre

Dyzee400 is offline Dyzee400
Chieftain
Long Island, NY, USA
Dec 2000
time: 05:14
Post  Old Post 24-12-2000 23:50
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Full PM-box? Change here!

Anyone find out if this really does anything?

Bed23 is offline Bed23
Settler

Jan 2001
time: 05:14
Thumbs down  Old Post 05-01-2001 10:33
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

i played 2 weeks on a p100 (near a hundred hours)

i played on a medium map at medium difficulty with 3 or 4 AIs
near the end of the game(i was making the gaia controler) each turn was around 1 or 2 mins so i dont think this values are used in ctp2 sorry guys

that would have been great

Alisia is offline Alisia
Chieftain
Defender of the AI
Dec 2000
time: 05:14
Post  Old Post 05-01-2001 23:37
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Support Apolyton buy from Amazon

I think you need to be informed about something... Not sure, but I think you got something a bit wrong...

The time setting is the time it takes per unit and base to decide what to do. Increate the individual time, and it will look longer (or further away, if it is a unit) for a good move. The last slider is the total time it may take.

So, the more units an AI has, the longer a turn takes for him, that is also why the AI is slower at the end of the game (duh ). Trick is, when you dont increase the last number enough, the computer might "skip" units and cities because it is out of time. Increasing the first two settings too much will increase the time it takes for each "unit" too much, and you will have to wait about 10 minutes for every AI player

Alpha Wolf is offline Alpha Wolf
Chieftain
Prince of the Barbarians
Feb 2001
time: 05:14
Post  Old Post 06-01-2001 00:22 Visit Alpha Wolf's homepage!
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton buy from Amazon

I take back every "she's just a whiny girl thought that I had". Alisia, you seem to have a better grasp of how this game works than the average player. Any tips on inproving the diplomacy part? About the only thing I've looked into that so far is the no trepassing aspect. If you make that agreement, the AI will immediate fortify because its the moving that causes the breach of agreement not the actual presence of the unit.

------------------
History is written by the victor.

joe77 is offline joe77
Chieftain
Seattle, Washington US of A
Jan 2001
time: 05:14
Post  Old Post 06-01-2001 05:38
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Avatar Enlargement: We've got the solution


I am one of those folks who went and changed the Powerbonus and the alloted time per turn for the ai...and I beleive it those changes made a significant differnce in the aggressiveness of the ai...the computer still only survives my wrath on impossible level because it cheats like Sean Connery on Celeb Jeopardy but its way more interested in looting my cities and pilaging my women and children than ever before...the next step IMHO is to teach it to make grand sweeping offensive as right now all it does is peck away at the edges of my empire.

So erm Viva la Revolution and whatever

-Joe

Slax is offline Slax
Prince
London, Ontario, Canada
Jan 1970
time: 00:14
Post  Old Post 06-01-2001 23:12 Visit Slax's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Support Apolyton or Terrorists Win

Joe77, I think you will find in these threads (including this one) that these values are unused by CTP 2.

[This message has been edited by Slax (edited January 06, 2001).]

joe77 is offline joe77
Chieftain
Seattle, Washington US of A
Jan 2001
time: 05:14
Angry  Old Post 11-01-2001 15:41
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Support Apolyton buy from Amazon

heh well I feel like those changes did something...too bad for you if you didnt even try it cause some goofball said not too ..Azreal or whatever wrote the bad AI in the first place or what something to do with activision putting out this boo-boo...why should I listen to someone who put his name..so to speak...on an unfinish product...

and your canadian...I've played enough hockey in your country and listen to enough of your talk radio to know not to listen to anything you say..fast ferries my buttt-hole haha half your country plus alberta wants to break off...you guys are all messed up ...but the sushi is great in vancouver so I forgive you

Slax is offline Slax
Prince
London, Ontario, Canada
Jan 1970
time: 00:14
Post  Old Post 11-01-2001 18:06 Visit Slax's homepage!
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Good luck fixing the game Joe77. Hope you get help.

joe77 is offline joe77
Chieftain
Seattle, Washington US of A
Jan 2001
time: 05:14
Post  Old Post 13-01-2001 05:50
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

I'm sorry Slax that was a little harsh..my bad please dont be mad

Changmai Beagle is offline Changmai Beagle
Warlord
Corporate Warlord of the Great White North & Warmer Climes
Oct 1999
time: 22:14
Post  Old Post 20-01-2001 20:23
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Suffering from ads?

Has anyone been able to determine if this change does anything?
P.S. Joe77, just think - if the Hudson's Bay Co. had done a bit better job you'd be Canadian.

kormer is offline kormer
Chieftain

Jan 2001
time: 05:14
Post  Old Post 21-01-2001 00:10
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Browse Apolyton AD-FREE

I tested it on palpatines super-large world map. It was about the industrial revolution, and the whole world was filled up. It took about 15 minutes per turn with and without the changes on a 700mhz computer.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0654 seconds (92.88% PHP - 7.12% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net