Yeah, definitely for optimization is my guess. But thanks @tarkhan for getting your hands dirty.
Also, if I may, what do you mean by rows and columns exactly?
Would the
…\KingdomComeDeliverance\Data\Tables.pak\Libs\Tables\rpg\rpg_param.xml
table be a good candidate?
It has a row and column names with string values, so maybe it can be easier to determine the order?
My main focus is trying to find out where the handle combat events, like OnDeath and OnHit events in combat?
My inital guess was the
…\KingdomComeDeliverance\Data\Scripts.pak\Scripts\Entities\actor\BasicActor.lua
It has a OnDeath/OnHit events, and even code to produce blood decals and blood pools. If they used this, it would be very easy to mod. I’d already have a nexus mod published actually. But sadly, when I tried hooking into that OnDeath/OnHit by printing messages to the console (e.g “x was hit by y”), the messages never showed, hence the events never triggered, so it leads me to believe they are using some other solution to process combat events like this.
So I’m left with no results. I’ll have to do more digging, maybe try peeking in the the WHGame.dll next to the game .exe