1.41 auto simulation

正在查看此主题的用户

after 2nd look it seems cavarly are even more buffed instead of "nerfed"
Lol, could you please strikeout/remove that line about infantry being 240% better than cavalry in your OP then so people don't get the wrong idea and spread misinformation?
 
after 2nd look it seems cavarly are even more buffed instead of "nerfed"
Yep. My tests can proove it.
yT2YrqI.png

e4BE8hD.png

CGEonrD.png

CwK67Y0.png

RxsjSZm.png

7rMsQkD.png

0Y4u39x.png

Seven different 300 days campaigns. Khuzaits are stomping everyone in every single one of them.
 


Thanks.

It doesn't seem all that different to the warband system if you don't include the checks for equipment. The lack of variable names makes it really hard to read but its fairly similar. My main issue is how it takes equipment into account which makes it even more reliant on expensive tanky troops grinding out more situational ones.
 
Yep. My tests can proove it.
yT2YrqI.png

e4BE8hD.png

CGEonrD.png

CwK67Y0.png

RxsjSZm.png

7rMsQkD.png

0Y4u39x.png

Seven different 300 days campaigns. Khuzaits are stomping everyone in every single one of them.
On the bright side at least in 2 of the scenarios Sturgia are doing ok which is a step in the right direction, in most of my play-throughs they're gone by day 300. :party:
 
On the bright side at least in 2 of the scenarios Sturgia are doing ok which is a step in the right direction, in most of my play-throughs they're gone by day 300.
I think thats was a bug. Becouse there wasnt any change in 150 days in last campaign. Even nothern Empire is still alive for some reason :smile:
But yes. It is good that they are atleast exist on the map on day 300.

BTW nothern Empire was always completly destroyed to that time. So they are ultimate loosers right now.

I guess it is becosue they fight 4 wars at the same time. Global AI in 1.4.1 is just crazy.
 
最后编辑:
I think thats was a bug. Becouse there wasnt any change in 150 days in last campaign. :smile:

But yes. It is good that they are atleast exist on the map on day 300.

BTW nothern Empire got completly destroyed to that time.
Yeah their in a bad spot they typically lose Amprela in a couple of weeks in almost every playthrough I've done, and if they go to war with Battania and Khuzait at the same time it's pretty much over for them.
 
Yeah their in a bad spot they typically lose Amprela in a couple of weeks in almost every playthrough I've done, and if they go to war with Battania and Khuzait at the same time it's pretty much over for them.
But i dont think that anybody cares about them. There is no difference between 3 of them.
 
Yep. My tests can proove it.

Seven different 300 days campaigns. Khuzaits are stomping everyone in every single one of them.
What else is interesting about those results is that the rulers seem to be claiming almost all conquered territory for themselves. Look at the second picture. Caladog has taken FIVE towns for himself and Monchug has taken four. I know rulers like to take fiefs for themselves, but I don't remember them being that greedy.
 
What else is interesting about those results is that the rulers seem to be claiming almost all conquered territory for themselves. Look at the second picture. Caladog has taken FIVE towns for himself and Monchug has taken four. I know rulers like to take fiefs for themselves, but I don't remember them being that greedy.
Yes, you are right. Rulers own every single new town.
 
Before you all go into sideways let me note that the auto calculated battles only use the GetPower formula. The other one is for tournaments only.

C#:
public override float GetPower()
{
   int num = this.IsHero ? (this.HeroObject.Level / 4 + 1) : this.Tier;
   return (float)((2 + num) * (10 + num)) * 0.02f * (this.IsHero ? 1.5f : (this.IsMounted ? 1.2f : 1f));
}

I have played a bit with it, and made (through a personal mod) that in sieges the IsMounted part is not used - still Khuzait steamrolled the Northern Empire in a few years.

Ps.: What is not here, is that there is a another number called defender and attacker advantage that will be multiplied by this power number, which is used for perks, siege defense stats, walls etc.
 
I have played a bit with it, and made (through a personal mod) that in sieges the IsMounted part is not used - still Khuzait steamrolled the Northern Empire in a few years.
They are stupidly fast, and may be it means something in global wars.(they form armies faster, they are returning to defend faster) If they are weaker you cant catch them, if they are stronger - you cant escape.
 
They are stupidly fast, and may be it means something in global wars. If they are weaker you cant catch them, if they are stronger - you cant escape.

Yes, I'm starting to get to the conclusion that this is the real issue, though having horse advantage in a siege is also stupid. :smile:
 
Before you all go into sideways let me note that the auto calculated battles only use the GetPower formula. The other one is for tournaments only.
Where's the namespace or class that begins all the autocalc code from the top after you press the "Send Troops" button? In otherwords where do the GetPower function and other relevant functions get called from?
 
Most of the stuff about auto battles is in this class: TaleWorlds.CampaignSystem.SandBox.GameComponents.Map.DefaultCombatSimulationModel

Ps.: pressing the button starts a MapEvent, but that event is several hours or days long, and it's progressing in every Tick event. What you need in this case is in the above mentioned class.
 
Most of the stuff about auto battles is in this class: TaleWorlds.CampaignSystem.SandBox.GameComponents.Map.DefaultCombatSimulationModel
Great, thanks!

So is the SimulateHit function the relevant bit?
Simulate-Hit.png


When I click GetPower (in dnSpy) it takes me to this function in TaleWorlds.Core.BasicCharacterObject:
GetPower.png


Which doesn't match the function you posted above. That function looks like it's in TaleWorld.CampaignSystem.CharacterObject class. Is dnSpy just taking me to the wrong function or something? Sorry, I'm not really savvy with how large software programs are structured haha, and not that familiar with C# either. Is a class unable to call a function outside of it's namespace?

Also, where's the GetSimulationAttackPower function get called from that bigballz posted?
 
后退
顶部 底部