 |
|
colorme
|
|
I want to modify some of the AI files. But I'm a newbie to this aspect, and what puts me off is that I'll have to play the game for 50-100 turns before I see the effect of the modification (e.g. changing various AI strategies).
Question: Is there an easy way to cycle thru 100 turns quickly? For example, if I was only an observer to the AI's game (and not an active player), seems like a hundred turns would last less than a minute. I'm sure activision has a game version that supports this, for their own inhouse tweaking.
Perhaps WesW or some of our other mod-makers can comment?
|
|
|  |
 |
|
Locutus
|
|
ACS CTP1/2 Manager & Civ4 Co-Manager
|
 |
Hengelo, The Netherlands
Nov 1999 time: 06:14
|
|
I don't think such a thing exists, but what I always do is put myself on a very isolated island and just keep hitting that End Turn button, without settling or moving or doing anything. Another option might be to put your settler(s) to sleep. In CtPI it would automaticly cycle through turns in that case, until something woke your unit up (well, sometimes at least, didn't seem to always work for me). You could at least try this in CtPII as well and write a bit of SLIC code that automaticly wakes your unit after 100 turns or so. It should look something like this:
code: int_t testcounter;
HandleEvent(BeginTurn) {
unit_t tmpUnit;
if (player[0] == 1) {
testcounter = testcounter + 1;
if (testcounter == 100) {
GetUnitByIndex(1, 0, tmpUnit);
Event:WakeUnit(tmpUnit);
testcounter == 0;
}
}
}
I didn't actually test this, so I can't guarantee that it'll work, but I'd say give it a try. If after a 100 turns you want to wait until the next 100 turns have passed by, simply put your unit back to sleep, this trigger will try to wake the a unit every 100 turns (of course, you can change the number 100 to anything else if you want).
|
|
|  |
 |
|
colorme
|
|
Thanks Locustus. That's a good idea. One problem though is that certain messages (e.g. the announcements regarding various wonders being made) pull up a window and stop the game, until you click OK. Its a pain to keep clicking multiple okays every few turns.
But perhaps this could be modified in the original SLIC too?
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:14. Apolyton Time is 00:14. |
top of page
|
| archivepost |
|
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
|
|
|
|
|
|