Skip to content

Conversation

@Z3rca
Copy link
Contributor

@Z3rca Z3rca commented Jan 18, 2026

Allow for forming alliances and triggering diplomatic decisions for kingdoms (player and AI)
Key differences:

alliances work a little bit TWWH esque: when ally gets attacked , you have to solve a "Honor the Allaince" request. which either let you join the ally in his war, or break the alliance with them. This should prevent a too passive gameplay.

Religion: changing from "allignment" to "Pantheon" for a more fine granular diplomacy. e.g Elves and dwarfs can now have "distrust" which makes alliances with them less likely. this was previously not possible. also it removes some rather hacky code regarding shrines. each race has to stick now to their pantheon instead of the alignment. there is no human that worships dwarfs and no elf worshipping human gods.

since Taleworlds did not add a logic to form alliances for AIs, i implemented a rudimentary basic behavior that does the trick

Bandit population has been reduced significantly to keep up with the amount of wars that are not arising

Wars are back on the menu.

Z3rca added 30 commits January 16, 2026 22:18
10-15 frames won, even with much more kingdoms. good trade-off
Honor Alliance
VoluntaryCallToWar
  Replace the coarse ReligionAffinity enum (Order, Chaos, Vampire, Destruction)
  with a more granular Pantheon system representing racial/cultural groupings:
  - Human (Empire, Bretonnia)
  - Elven (Asrai, Eonir, Druchii)
  - Dwarven (Dawi)
  - Undead (Sylvania, Mousillon)
  - Greenskin
  - Chaos (Warriors, Beastmen)

  Key changes:
  - Add Pantheon enum and property to ReligionObject
  - Remove ReligionAffinity enum and Affinity property
  - Add ReligionObjectHelper with GetPantheon() and GetPantheonCompatibility()
  - Rename GetSimilarityScore to GetHostilityFactor (now additive bonus)
  - Add CalculateReligionCompatibility() combining Pantheon + hostility
  - Update tor_religions.xml with Pantheon attributes
  - Simplify IsCultureCompatibleWithShrine using Pantheon matching
  - Add tuning constants to diplomacy models

  This enables more nuanced diplomatic interactions based on race/culture
  rather than broad moral alignment.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Request by Jojabo, to make Mousillon and Sylvania as well as Athel Loren and Eonir survive and join each other if they get defeated.

Z3rca added 4 commits January 20, 2026 19:00
renaming
using constant ids,
removig debug information
removing unwanted custom configuration on the project file
too many agreements made, reduced significantly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants