Army replenishment rate for AI lords?

正在查看此主题的用户

ripple

Knight
What controls the -rate- of army replenishment for AI lords? I was looking at 'script_party_get_ideal_size' and did not find anything useful. Do all NPC lords replenish at the same rate? If the number/type of holdings they own affect the max size of their armies, does it affect the speed at which they replenish as well? Where are these variables stored? Thanks.
 
I can't remember exactly but I think you are pretty close. Do a search for the call of the script 'get ideal size'. Like said I am not sure but I think 'get ideal size' is called from where lord armies are replenished.
 
That governs the size, based on a variety of bonouses, but I don't see anything that governs the rate of replenishment.
 
You'll find this in module_simple_triggers, look for:
  #Hiring men with hero wealths (once a day)
  #Hiring men with center wealths (once a day)
  (24,

The number, type, and prosperity of holdings all affect the number of hiring rounds lords will get. They always get a baseline, but the more and richer fiefs they have, the faster they will recruit and upgrade troops.
 
Yep, Caba was faster.

The script that does it is called hire_men_to_kingdom_hero_party

now this having said my time is not totally wasted.  :razz:
 
后退
顶部 底部