
Originally Posted by
xeryx
There is no concievable way for this code to learn from itself..it is strictly static.
The only things you can do is try and put in randomness to have variety. It is a "stupid" AI, is is only as good as the programmer that inputs the data.
Of course it is static the answer is in if then programing but the thing is where is the script that decides the actions of subjects as: trade henry, balanced smith. So far changing some numerical stats led to unexplained results like for instance:
descr_diplomacy.xml
This influences diplomacy, primarily between the human and AI, but to a lesser degree AI-AI as well. Here is a quick rundown of how the file works. <item name="offer_payment">
<cost modifier="1.0"/>
<faction_standing modifier="0.0"/> change to + or - to get an effect...
<global_standing modifier="0.0"/>
</item>
There is an equation for each of this statements and they were deliberately simple cause the game would be to slow as it is now when you play mods for MTW2. Many of this mods were started from one person and continued by another with no planing and no thoughts on the effect of constant patching of the game. The result of some mods (like DLV) is the killer game but the processor is killing it self also while computing all those statements so you find your self at the middle of the game stranded and cant go on cause of CTDs. The question is, is it legal to change the script that deals with trade henry, balanced smith... if it is does anybody know where it is?