R-Vaccari / bannerlord-banner-kings

BSD 3-Clause "New" or "Revised" License
71 stars 1.4k forks source link

[CTD] Possible issue with Companion Archetypes #114

Closed illutian closed 1 year ago

illutian commented 1 year ago

I used Banner Kings to spawn three of the four companions I have. Comp 1 is Commander-type, Comp 2 is Warrior-type, and Comp 3 is Thief-type; Comp 4 was a random found in the Tavern.

Mod: 1.2.7 (1.2.7.1 has that crash issue with Clan Page); Standard version

Evidence

Crash Report https://report.butr.link/21C7E4.html

Description I also posted this on RBM's page due to the crash seemingly being about Unit Formations, and RBM is the only AI Combat mod I know of that I have.

The general issue is the Thief-companion causes the game to crash when engaging bandits, with specific weapon types. But not when in the Arena.

From testing:

The game crashes on the Combat Splash Screen when this Companion (Thief-type) has a Bow equipped. The game crashes on the Combat Splash Screen when this Companion has a Crossbow equipped. The game crashes on the Combat Splash Screen when this Companion has a Dagger + 1hand Sword + Mace + Shield equipped. The game crashes upon entering the 'instanced combat area' when this Companion has a Dart equipped. The game crashes upon entering the 'instanced combat area' when this Companion has a Dagger + 1hand Sword + Throwable Dagger (as in it is 'One Hand' and 'Throwable' labeled in the tooltip) equipped. The game does NOT crash when this Companion has only a melee weapon equipped. The game does NOT crash when this Companion has two melee weapons equipped (Dagger + 1hand Sword). The game does NOT crash when this Companion has two melee weapons and a shield equipped. The game does NOT crash when this Companion has three melee weapons equipped (Dagger + Mace + 1hand Sword). The game does NOT crash when this Companion has no weapon equipped.

The other two Companions (Commander-type and Warrior-type) seem fine with Bow and Melee. The 'Tavern Companion' ( [name] the Wanderer) also seems fine with Bow and Melee.

I'm guessing here. But it does seem suspect that Thief is the one with issues. Almost like Banner Kings assigns something behind the scenes and this causes issues based on the Weapon-types equipped.

illutian commented 1 year ago

Update: I used Banner Kings to summon a Commander-type, then used Character Manager to copy the Thief-type and overlay the appearance and gear. This "copy" of the Thief has no issue with ranged weapons. In short: Somethings buggy with Thief-type, I tested two of them and they both crash if a ranged weapon is equipped.

illutian commented 1 year ago

After some more testing (aka I got a few more companions). I started having this same issue with "clean" Companions (ones found in Taverns).

I guess having more than 6 'offensive' Companions breaks the game because you run out of Formation Types (ie Infantry, Archers, Cav Archers, Mixed).