Custom Faction Units

So I'm just now figuring out that when you create a custom faction for the AI to run that it doesn't "use" the traits you give the faction but instead uses units based on the race of the faction. So if I design a Krax raced faction that uses Great Hammers the AI won't know how to use those weapons on most of its builds, instead it will build basic units (as most of the AI Krax units are one-handed spear units). 

Is there an easy way to fix this without having to create a bunch of units via XML (or by playing a game as each custom faction)?

 

Thanks in advance!

2,831 views 5 replies
Reply #2 Top

Quoting Primal_Savage, reply 1


That being said, you may be able to influence the AI by changing the Priorities in the XML. Either for each weapons individually

Such as:

<AIData AIPersonality="AI_General">
<AIPrefType>AIPrefType_BLUNT</AIPrefType>
<AIPriority>80</AIPriority>
</AIData>


End of Primal_Savage's quote

 

But will this prompt the AI to actually design and build new units? 

Reply #3 Top

The AI does not design units they only make premade ones or ones you design for them.

Reply #4 Top

Quoting parrottmath, reply 3

The AI does not design units they only make premade ones or ones you design for them.
End of parrottmath's quote

 

Weak...

 

But thank you for the responses!

Reply #5 Top

There are just so many ways you can design units for the situation, that the AI would be hopeless at.  But I strongly suggest you make some unit designs for the AI to use - unless you are on one of the difficulty levels above challenging, when all their units are good because they get about 5 traits for free. =) ;-)