| 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 |
|
King
Join Date: Jun 2006
Posts: 904
|
AI questions... SDK programming
OK I have two questions about the SDK and AI programming.
First... I know there are several classes that handle a lot of the AI stuff. Is this all? I am a mod developer who is looking to start understanding how to change the AI behaves/works and suggests so I need to know where to start. Second... I have made some new improvements that do not increase commerce or food or anything of the sort so the AI does not currently know that they can help him. (Two new kinds of improvements that will help him for military reasons). I know how I will help the AI evaluate whether the improvement will help him. What I don't know is where is the code that changes the value the AI places on the improvement. Example: if the AI sees that the an improvement is helpful, it highlights it blue for the human player. WHERE is the code for this? I want to be able to recommend a build for the human AND the AI!
__________________
Genetic Era Mod team member The unofficial events expansion! Preview it here "I set the wheels in motion, turn up all the machines Activate the programs and run behind the scenes I set the clouds in motion, turn up light and sound Activate the window and watch the world go round" from "Prime Mover" by Rush. |
|
|
|
|
|
#2 |
|
Civ4:Col UI programmer
Join Date: Dec 2005
Location: Vallejo, California
Posts: 1,736
|
Blake at Apolyton is the best source of knowlage about the AI, read his thread HEREand look at his AI codes in the 2.08 patch
__________________
Companions the creator seeks, not corpses, not herds and believers. Fellow creators, the creator seeks - those who write new values on new tablets. Companions the creator seeks, and fellow harvesters; for everything about him is ripe for the harvest. - Thus spoke Zarathustra, Fredrick Nietzsche Civ 4 Community Core Project One DLL to Rule them ALL, Now a part of WoC, 3.02 version in the Progress Modular XML Loading 3.0 True Drag and Drop modability, Included by Firaxis in Beyond the Sword World Of Civilization A World of Mods under one roof |
|
|
|
|
|
#3 |
|
King
Join Date: Jun 2006
Posts: 904
|
Thanks for the pointer! I will check it out. Meanwhile I am open to any other suggestions.
__________________
Genetic Era Mod team member The unofficial events expansion! Preview it here "I set the wheels in motion, turn up all the machines Activate the programs and run behind the scenes I set the clouds in motion, turn up light and sound Activate the window and watch the world go round" from "Prime Mover" by Rush. |
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mac programming questions | Flintlock1415 | Civ4 - Macintosh | 14 | Feb 23, 2009 07:42 PM |
| [SDK] How AI players change unit's AI? | stmartin | Civ4 - SDK/Python | 6 | Feb 11, 2009 08:46 PM |
| [SDK] Programming the AI to Perform a Unit Action | Gaius Octavius | Civ4 - SDK/Python | 25 | Oct 22, 2008 06:46 PM |
| AI Programming | The Great Apple | Civ4 - General Discussions | 74 | Feb 15, 2006 10:59 PM |
| Trading features and AI programming | ShadowWarrior | Civ3 - General Discussions | 4 | Aug 15, 2001 02:58 PM |