In the middle of a 1.6.4 game... (calradia kingdoms expanded) crashing on input... think a new campaign might be needed. tried 1.7, 1.6, and the versions between. All crash. Most stable is the july version, but it crashes once I begin to move. Think a new campaign may be needed for fresh install here.
Actually, I cannot find "RecrutedPerDay" parameter in json file. However I managed to slow down recruitment time by increasing "Conformity" to 100 or more; it is still quite faster than vanilla, even with a value above 500. Please, correct me if I am wrong.
Indeed, i changed the name of the attribute to match the new attribute in code base. Now its "Conformity", i'll update the doc.
Regarding that if you want to have vanilla conformity, could you tried to wipe out all value in the Json. It should automatically fallback on legacy formula which is :
Where can I find a "Character.Level" value list? Currently I'm using the following "Conformity" values: 100/125/125/160/160/200/200/250/250 But I'd like to tune up the sequence keeping them propotional (1/4 or 1/5) to corresponding vanilla equivalent numbers.
Sadly there is not list of character.level, this depend on how the attribute is valued on the unit template.
You can find the file that is referencing unit here: "Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\SandBoxCore\ModuleData\spnpccharacters.xml"
And then from there you have a bunch of NPCCharacter define with their level on the root node
Glad to have been somehow "helpful" :) I'll hardly have a way to explore spnpccharacters.xml to find out all needed values by myself, at least not in a short time. Eagerly awaiting for your update, if you find time for this.
Probably the level value sequence in the file is: 1(peasants) / 6 / 11 / 16 / 21 / 26 / 31 (31 is the highest for elite_cataphract, druzhinnik_champion or khuzait_khans_guard, for example)
So base conformity values should be: 39(peasants) / 134 / 279 / 474 / 719 / 1014 / 1359
Since 1.6.4, I have been experiencing crashes caused by mods. Please, please fix it. Here is the crash report.
Exception information Type: System.MissingMethodException Message: Method not found: 'Boolean TaleWorlds.CampaignSystem.CharacterObject.get_IsArcher()' Source: RecruitablePrisonersMods CallStack:
at RecruitablePrisonersMods.RecruitMods.SoonPrisonerRecruitmentCalculationModel.GetConformityChangePerHour(PartyBase party, CharacterObject troopToBoost)
at TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.RecruitPrisonersCampaignBehavior.GenerateConformityForTroop(MobileParty mobileParty, CharacterObject troop, Int32 hours)
at TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.RecruitPrisonersCampaignBehavior.DailyTickAIMobileParty(MobileParty mobileParty)
at TaleWorlds.CampaignSystem.MbEvent`1.InvokeList(EventHandlerRec`1 list, T t)
at TaleWorlds.CampaignSystem.CampaignEvents.DailyTickParty(MobileParty mobileParty)
at TaleWorlds.CampaignSystem.CampaignEventDispatcher.DailyTickParty(MobileParty mobileParty)
at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicTicker`1.PeriodicTickSome(Double timeUnitsElapsed)
at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicDailyTick()
at TaleWorlds.CampaignSystem.Campaign.Tick(Single dt)
at TaleWorlds.CampaignSystem.Campaign.RealTick(Single realDt)
at TaleWorlds.CampaignSystem.MapState.OnMapModeTick(Single dt)
at TaleWorlds.CampaignSystem.MapState.OnTick(Single dt)
at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
at TaleWorlds.Core.Game.OnTick(Single dt)
at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
at TaleWorlds.MountAndBlade.Module.OnApplicationTick(Single dt)
at TaleWorlds.DotNet.Managed.ApplicationTick_Patch1(Single dt)
118 comments
Don't forget to endorse this mod if you enjoy it. So people can find it easier
Actually, I cannot find "RecrutedPerDay" parameter in json file.
However I managed to slow down recruitment time by increasing "Conformity" to 100 or more; it is still quite faster than vanilla, even with a value above 500.
Please, correct me if I am wrong.
Greetings
Indeed, i changed the name of the attribute to match the new attribute in code base. Now its "Conformity", i'll update the doc.
Regarding that if you want to have vanilla conformity, could you tried to wipe out all value in the Json. It should automatically fallback on legacy formula which is :
Conformity = (character.Level + 6) * (character.Level + 6) - 10;
If we consider Tier 6 unit as Level 36 (i guess it was that) then we have around 1754 conformity needed for unit lv 36
Tell me if its working, if not i'll check how i can fix this.
If you want something special, you can ask, i'll try to make it real when i have the time :D (currently working time)
Where can I find a "Character.Level" value list?
Currently I'm using the following "Conformity" values: 100/125/125/160/160/200/200/250/250
But I'd like to tune up the sequence keeping them propotional (1/4 or 1/5) to corresponding vanilla equivalent numbers.
You can find the file that is referencing unit here:
"Steam\steamapps\common\Mount & Blade II Bannerlord\Modules\SandBoxCore\ModuleData\spnpccharacters.xml"
And then from there you have a bunch of NPCCharacter define with their level on the root node
Already find a bug while we were talking about this topic :D thank
I'll hardly have a way to explore spnpccharacters.xml to find out all needed values by myself, at least not in a short time.
Eagerly awaiting for your update, if you find time for this.
1(peasants) / 6 / 11 / 16 / 21 / 26 / 31 (31 is the highest for elite_cataphract, druzhinnik_champion or khuzait_khans_guard, for example)
So base conformity values should be:
39(peasants) / 134 / 279 / 474 / 719 / 1014 / 1359
Here is the crash report.
Exception information
Type: System.MissingMethodException
Message: Method not found: 'Boolean TaleWorlds.CampaignSystem.CharacterObject.get_IsArcher()'
Source: RecruitablePrisonersMods
CallStack:
mod is up to date now
Great mod, cant play without it :)
some tier 5 and 6 troops couldn't recruit again.