View Full Version : building for AI


MaxRiga
Jun 25, 2006, 12:23 PM
what tag/command forces AI to build any building as soon as it gets available for deploying?

p.s. i've inserted some factories for my mod, any1 wants to make new buildings for it?

zulu9812
Jun 25, 2006, 03:34 PM
Please use the main Creation & Customisation forum for questions. This sub-forum is for completed graphics only (outside of the stickied request thread, obviously, and that's for requests of graphics rather than tutorials).

http://www.civfanatics.net/uploads3/Zulu_WRONG_FORUM_animation.gif

MaxRiga
Jun 25, 2006, 03:42 PM
could u please remove it to C&C directory, plz?

Tholish
Jun 27, 2006, 02:49 PM
<iAIWeight>0</iAIWeight>

I'm not sure but that might be it. It's in building infos.

MaxRiga
Jun 27, 2006, 05:11 PM
<iAIWeight>0</iAIWeight>

I'm not sure but that might be it. It's in building infos.

thx, going to check it :)

jenks
Jun 29, 2006, 05:12 AM
looking for the same answer :p

ive been fiddling with two functions, not sure how relevant they are and im not sure of the type of numbers you need to put in to make the AI NEED THAT BUILDING QUICK!

<iAsset>3</iAsset>
<iPower>0</iPower>
I believe iAsset represents the game score generated for the player when the building is complete
I believe iPower is some adjustment the AI makes to a picture of how powerful your nation is, higher means they hold you in more respect and are less likely to declare war

Ive also been using

<Flavors>
<Flavor>
<FlavorType>FLAVOR_GOLD</FlavorType>
<iFlavor>10</iFlavor>
</Flavor>
</Flavors>

But again im not 100% on how much this affects AI.

Sorry cant help much :p please tell us what happens with the iAIweight!

Chalid
Jun 29, 2006, 11:36 AM
@jenks. There is a thread in the Tutorials section - i think - from MaxRiga. Check that one.