| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Chieftain
Join Date: Jul 2006
Posts: 8
|
Worker AI Modification
Before I go through the trouble of downloading the SDK, I'm hoping someone can answer this question.
Is it possible, with the SDK, to modify the worker improvement AI. If so, is it also possible to add multiple priorities (similar to "Build Trade Network", "Improve closest city", etc.")? I'm hoping to step up the intelligence of the worker automation so that automating a worker is no longer a strategic disadvantage. Also, this could significantly improve lower levels of difficulty as your AI opponents would benefit from improved worker decidsions as well. Feel free to slap me if there is already such a modification available or in progress that I should know about. |
|
|
|
|
|
#2 | |
|
User of Run-on Sentences.
Join Date: Jul 2005
Location: Massachusetts
Posts: 1,753
|
Quote:
For an idea of what you're looking at, here's a snipper from "AI_update" (taken from the Vanilla source, although it'll probably be similar in Warlords) located in the file CvUnitAI.cpp. This is the "jumping point" for all worker automatization. Each one of the functions called has all the juicy details of what's actually done, but this gives you a good idea of how it gets there. Spoiler:
__________________
MODDDDDS INNNNNN SPAAAAAAAACE |
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Worker AI | sveint | Civ4 - Creation & Customization | 1 | Dec 19, 2007 12:47 PM |
| Future Civ games need AI leader aggression modification settings per era | stavka | Civ4 - General Discussions | 2 | Dec 04, 2007 05:08 AM |
| (AI Issue) Threatened AI worker doesn't retreat | Jet | Civ4 - Bug Reports | 6 | Jul 30, 2007 03:55 AM |
| Goblin Worker AI Vs. Dwarven Worker AI? | BainIthron | Civ4 - Fall from Heaven | 2 | Apr 02, 2007 04:02 AM |
| Worker Modification | hansdampfaka | Civ3 - General Discussions | 0 | Feb 03, 2002 10:00 AM |