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 > Help with modifications
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
colorme is offline colorme
Warlord

Nov 2000
time: 05:14
Question  Old Post 24-11-2000 03:26
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Help with modifications Support Apolyton buy from Amazon


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 is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:14
Post  Old Post 25-11-2000 00:26 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Got spare money?

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 is offline colorme
Warlord

Nov 2000
time: 05:14
Post  Old Post 25-11-2000 10:09
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Suffering from ads?


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?

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:14
Post  Old Post 02-12-2000 23:54 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Enter the AD-FREE zone

Well, something can be done about that as well. Either play around with the options and advanced options menu to figure out how to disable those messages or open up script.slc and do a find & replace. Find all instances of 'Show()' (without the quotes) and replace them with '// Show()'. Now all the messages will still be there, but they'll only appear in the messagetab and will no longer pop up and force you to click them away. This should solve that problem for the mayor part. If needed you can replace 'alertbox' with 'messagebox' as well but I don't think that will be necessary, outcommenting the show functions should do the trick.

If you want to you can also make this whole thing a little bit more sophisticated by giving options in how long you wish to wait, enable or disable it by pressing keys, etc. All that requires a little more time and effort to set up though, but I'll definately put it on my to-do list.

  < 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.0320 seconds (86.88% PHP - 13.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