Units custom battle permissions tables

From Total War Modding
Revision as of 01:24, 19 May 2024 by Rhox (talk | contribs) (custom battle quirk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

At first glance, this DB looks like it is only for the custom battle, but actually, several campaign things will be affected by this DB

  • Hero recruitment portrait: The hero unit card shown in the building browser is determined by this DB
  • Affected Unit Preview: Starting from Chaos Dwarf DLC, every effect shows the affected unit set in their tooltip. Among the affected unit_set, the ones that the faction does not have access to via military group or exclusive permission do not show normally. (You can also disable the unit or unit_set from all previews, but that's another DB) But there is another quirk in this preview. If any of the factions with that culture has access to a certain unit in the CB, that unit will be shown in the affected unit set preview no matter the military group or exclusive permission. So if you want to limit certain units to a certain faction, best to leave it out from CB, or make a CB-only cultured faction.
  • Changeling: Changeling has access to certain agent_subtypes in their shapeshifting via another table. However, how the game categorizes what category agent_subtype belongs to is done via this DB. That is why CB-only only cultures are showing up as categories for Changeling.