Total War: ATTILA

Total War: ATTILA

Medieval Kingdoms 1212 AD Script Update 0.9 (WIP)
Showing 11-20 of 34 entries
< 1  2  3  4 >
Update: 2 Feb @ 2:22pm

The criteria for being considered as a new elector are:
1. Must be in self.factions (HRE member)
2. Not already in self.elector_factions (not already an elector)
3. Not the current emperor (faction_name ~= self.emperor_key)
Outside factions are never considered because they're not in self.factions list.

Update: 1 Feb @ 2:47am

There is now a player bias for retaining voting rights, meaning the player faction will retain the ability to vote despite the first reform limiting the number of voting factions.
Fixed Check_Faction_Votes_HRE_Elections puppet states outside of HRE voting!!
Problem: Old script checks the faction's state before checking if they're even in the HRE, meaning non-HRE puppets might vote.
Fixed version: Filter for only HRE states and THEN check state and handle voting

Update: 23 Jan @ 11:47pm

Added an elections pop-up to notify players when HRE elections occur.
Fixed an issue with HRE events where faction names were not displaying correctly in-game.
Everything should now be working mostly as intended. However, I’ve encountered a bug where the player faction cannot lose the election once elected Emperor.

This issue may be caused by:

The absence of an eligible heir, or
Another factor yet to be identified.
Thank you for your patience! Please report any errors you come across, and I hope you enjoy the update. Apologies for the delay in getting this out!

Update: 20 Jan @ 8:31pm

Still broken,
Issues with HRE timer cooldown
Issues with Faction naming - for HRE events.
Issues with Election message not displaying.

Update: 20 Jan @ 4:11pm

Reverted and tested with Milan.
Please Provide Feedback!

Update: 20 Jan @ 3:39pm

reverted to a previous version (recent) - To Be Tested

Update: 20 Jan @ 4:51am

Ahhh quick update that adds HEAPS of debugging for the election incident to try to make sure the script side is working.

Then I'll quadriple check the DB side of the event and hopefully that'll get it to work!

(Talking about the Election Pop-Up to let the player know when HRE elections take place).

Update: 20 Jan @ 3:57am

Just thumbnail update to go with the 0.5.0 update.

Update: 20 Jan @ 3:56am

Removed extra debugging.

Preparing to add player bias feature to retain for voting ability during reform # 1 for the player faction involved in the HRE (Any HRE State including pretender or emperor).

Update: 20 Jan @ 3:42am

Change to calling for the process_elections function.

There were two functions calling it.
1) Emperor_Check which is called at faction_end_turn if the Emperor_key is missing and
2) Faction_Leader_Dies function if the faction leader that dies has the Emperor_key.

Now both functions have a guard system in place wherein when one has been triggered and in the middle of process, the other cannot be called.

The guard finalises at the end of replace_emperor function which concludes from the process_elections function and then the other function may begin only if not necessary.

Debugging reduced in areas now fully tested!