How to reproduce: Charge into infantry with a fast horse. Ideally during a campaign because custom battles may have a different damage model. Notice how knockdowns never happen.
Mission.DecideAgentKnockedByBlow() relies on Blow.BaseMagnitude to apply the knockdown flag and does it if it's...
I noticed what I describe in the title as I was making a mod to force the AI to buy and consume horses to upgrade troops.
PartyUpgrader.UpgradeReadyTroops() is called after battles and during daily ticks, and is where troop upgrades happen. There are two conditional checks that allows AI to...
I originally reported this issue in April but I apparently posted it on the wrong forum.
In Mission.GetDefendCollisionResultsAux():
num4 = 0.9f;
float managedParameter2 = ManagedParameters.Instance.GetManagedParameter(ManagedParametersEnum.StunDefendWeaponWeightMultiplierWeaponWeight);
num4 +=...
Available on Nexus (recommended) and Workshop.
Compatible v1.0.0, v1.0.1, v1.0.2 (beta branch).
Originally I made this mod because I really didn't like the way horses reared up when getting hit by a pitchfork. I understood why that was in the game but I found it extremely poorly implemented...
During non-simulated battles there's always attackers and defenders. The defenders usually find a hill near their spawn point and the attackers try to, well, attack them. This works fairly well for battles that fall under the size limit, but for larges battles the game adds reinforcement waves...
Someone asked me how I made ModLib a soft-dependency for my mod, and suggested to me that I should post my explanation somewhere for other people to reference. So here it is. I'm not an expert in programming and C# is quite new to me, so it's likely that my solution is sub-optimal.
This can...
So today I wanted to find a way to reflect some of the charge damage to the horse itself through modding. I've been experimenting things in custom battles, but when I tried in campaign mode numbers were completely different.
It turns out that the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.