![]() ![]() The modifier value consists of a factor of its own and any amount of conditions. The modifier keyword and value can be used to denote a conditional multiplier to the base factor. The number you set it to, is not a percentage nor a fraction itself: neither 1.0 nor 100 represents a 100% likelihood that the AI will pick it. The way the ai_will_do works is a bit misleading.Īi_will_do contains the keyword "factor" which gives the chance the AI will perform this action. If there are two focuses with a factor of 40 and a focus with a factor of 80, then the AI is 50% likely to pick the focus of factor 80 because 80 is half of the total factor of 160. Then the AI is twice as likely to pick the focus with the factor of 20. So if there are only two focuses available, one has a factor of 10 and the other has a factor of 20. When the AI needs to pick a focus within its focus tree, it considers all possibilities and then picks a random number between 0 and all factors added together. it is used as part of defining national focuses and government positions. The ai_will_do value is used as a subobject that determines the likelihood the AI will pick something for the country. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |