Hi,
I am currently working on Rohan faction. I included peasants and peasant archers into the farm so that the units could be built from there. However, there is a problem with that because these units give experience to the farms which makes the farms level up much faster. I was wondering if someone could suggest how I could go about resolving this problem. I was thinking of setting experience gained by the farms from the units as 0, but I cannot find the code that would be responsible for it. I would appreciate any help.
I see line such as this one
ROHAN_FARM_LVL2_EXP_NEEDED 2000
or such as this one
ROHAN_STABLES_LVL2_EXP_NEEDED 2000
Taking this as an example, I would need to build 5-7 Rohirrim troops to gain the experience needed. This tells me that a battalion is valued at around 300-400 of experience each. This means that every unit must have a certain amount of experience that they give to the building that produces them. This means there must be a way to change that amount of experience for peasants.
Edited by OneV, 26 June 2019 - 11:44 PM.