Omission from Roman governor system (Lilibeo)
I was wondering why my bad-ass general sat in Lilibeo for 8 turns without becoming Rector Provinciae of Sicily. He's a patrician, senator, triumphator, and literally has 16 Influence (I counted). Meanwhile, I send some scrub kid to Segesta and he becomes rector of Cisalpine Gaul within just a turn or two.
So I looked at the trait file and I saw this:
Quote:
Trigger Governor_in_Sicily_gets_bonuses_Syrakousai
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and FactionType seleucid
and SettlementName Syrakousai
and Attribute Electability = 11
and Trait Roman_Provincial_Governor_Effect < 1
Affects Roman_Provincial_Governor_Effect 1 Chance 100
...and something identical for Messana, but I did not see one for Lilibeo.
Then there is this:
Quote:
Trigger Governor_not_in_Sicily_loses_bonuses
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and not SettlementName Syrakousai
and not SettlementName Messana
and not SettlementName Lilibeo
and Attribute Electability = 11
and Trait Roman_Provincial_Governor_Effect = 1
Affects Roman_Provincial_Governor_Effect -1 Chance 100
...where Lilibeo is included. Why would leaving Lilibeo make you lose your governor bonuses when you can't get them from entering?
This makes me think that the code for Lilibeo was omitted from export_descr_character_traits. I'm going to put it in and see what happens. Hopefully I still have a motherboard afterwards.
Re: Omission from Roman governor system (Lilibeo)
Thanks, fixed. There's another bug in there though, the -1 points awarded means the effect will stay (and duplicate itself once he's back in his province), but fixing it is not savegame compatible. It will be fixed in the next release though.
Re: Omission from Roman governor system (Lilibeo)
Quote:
Originally Posted by
bovi
Thanks, fixed. There's another bug in there though, the -1 points awarded means the effect will stay (and duplicate itself once he's back in his province), but fixing it is not savegame compatible. It will be fixed in the next release though.
How would I fix this?
It seems the Lilibeo trigger is also missing from the ancillaries file. In fact so are many other cities (Mediolanum, Atiqa, Numantia, etc.) Is this intentional? Is there some kind of limit?
Re: Omission from Roman governor system (Lilibeo)
Oops, another one, the ancillary triggers for governor of Macedonia all say "Apollonia" instead of "Ambrakia"
1 Attachment(s)
Re: Omission from Roman governor system (Lilibeo)
no it is not a bug these lines means there are 4 ways/triggers to get Governor of Macedonia :
(Note : {Apollonia} Ambrakia ) this is the last version it may wrong with previous version of EB, but The current file has no mistake)
Quote:
;------------------------------------------
Trigger acquire_Governor_of_Macedonia_Pella
WhenToTest CharacterTurnEnd
Condition FactionType seleucid
and EndedInSettlement
and RemainingMPPercentage = 100
and IsGeneral
and SettlementName Pella
and I_SettlementOwner Demetrias = seleucid
and I_SettlementOwner Apollonia = seleucid
and I_SettlementOwner Thermon = seleucid
and SettlementBuildingExists > gov4
and SettlementBuildingExists < govparthian
and Attribute Electability < 11
and not FactionwideAncillaryExists Governor_of_Macedonia
and Trait FamilyMember > 0
AcquireAncillary Governor_of_Macedonia Chance 100
Affects NumAncillariesAcquired 1 Chance 100
;------------------------------------------
Trigger acquire_Governor_of_Macedonia_Demetrias
WhenToTest CharacterTurnEnd
Condition FactionType seleucid
and EndedInSettlement
and RemainingMPPercentage = 100
and IsGeneral
and SettlementName Demetrias
and I_SettlementOwner Pella = seleucid
and I_SettlementOwner Apollonia = seleucid
and I_SettlementOwner Thermon = seleucid
and SettlementBuildingExists > gov4
and SettlementBuildingExists < govparthian
and Attribute Electability < 11
and not FactionwideAncillaryExists Governor_of_Macedonia
and Trait FamilyMember > 0
AcquireAncillary Governor_of_Macedonia Chance 100
Affects NumAncillariesAcquired 1 Chance 100
;------------------------------------------
Trigger acquire_Governor_of_Macedonia_Ambrakia
WhenToTest CharacterTurnEnd
Condition FactionType seleucid
and EndedInSettlement
and RemainingMPPercentage = 100
and IsGeneral
and SettlementName Ambrakia
and I_SettlementOwner Pella = seleucid
and I_SettlementOwner Demetrias = seleucid
and I_SettlementOwner Thermon = seleucid
and SettlementBuildingExists > gov4
and SettlementBuildingExists < govparthian
and Attribute Electability < 11
and not FactionwideAncillaryExists Governor_of_Macedonia
and Trait FamilyMember > 0
AcquireAncillary Governor_of_Macedonia Chance 100
Affects NumAncillariesAcquired 1 Chance 100
;------------------------------------------
Trigger acquire_Governor_of_Macedonia_Thermon
WhenToTest CharacterTurnEnd
Condition FactionType seleucid
and EndedInSettlement
and RemainingMPPercentage = 100
and IsGeneral
and SettlementName Thermon
and I_SettlementOwner Pella = seleucid
and I_SettlementOwner Apollonia = seleucid
and I_SettlementOwner Demetrias = seleucid
and SettlementBuildingExists > gov4
and SettlementBuildingExists < govparthian
and Attribute Electability < 11
and not FactionwideAncillaryExists Governor_of_Macedonia
and Trait FamilyMember > 0
AcquireAncillary Governor_of_Macedonia Chance 100
Affects NumAncillariesAcquired 1 Chance 100
all these triggers can enable it until you get one. after you got the governor of macedonia
"and not FactionwideAncillaryExists Governor_of_Macedonia" line protects that you will not get a second governor for macedonia.
You may may more than 1 trigger for just one ancillary.
but you have to use a different name for that trigger.
same, you cannot use 2 ancillaries that has same name.
if you violate it you will get a certain CTD.
I fixed them in my mod, though it looks SG compatable; changing EDA may result some funny bugs like that Bakrian faction leader in fact a spy of Pontos who was awarded with the title of Strap of Thrace :laugh4::
https://forums.totalwar.org/vb/attac...1&d=1242895428
So I can assure you that EDA modification is SG compatable yes, but it will not CTD but will have bugs.
here is the trigger of that ancillary:
Quote:
;------------------------------------------
Trigger acquire_pontic_satrapy_thraikia
WhenToTest CharacterTurnEnd
Condition FactionType carthage
and EndedInSettlement
and RemainingMPPercentage = 100
and IsGeneral
and not IsFactionHeir
and not IsFactionLeader
and SettlementName Byzantion
and SettlementBuildingExists >= governors_palace
and Attribute SenateStanding < 11
and not FactionwideAncillaryExists pontic_satrapy_of_thraikia
and RandomPercent > 90
AcquireAncillary pontic_satrapy_of_thraikia Chance 100
Affects NumAncillariesAcquired 1 Chance 100
here is the faction list :
Quote:
seleucid - Romani
greek_cities - Koinon Hellenon
thrace - Epeiros
macedon - Makedonia
numidia - Ptolemaioi
romans_julii - Arche Seleukeia
romans_brutii - Baktria
romans_scipii - Hayasdan
carthage - Pontos
pontus - Saka Rauka
armenia - Sauromatae
parthia - Pahlava
dacia - Getai
germans - Sweboz
scythia - Arverni
gauls - Aedui
britons - Casse
spain - Lusotannan
egypt - Qarthadastim
saba - Saba
as you see carthage means pontos . The code has no error but this bug is caused because of not starting a new campaign.
I had to restart the pahlava campaign for that reason.
Re: Omission from Roman governor system (Lilibeo)
Quote:
Originally Posted by
Sheep
How would I fix this?
You would add an antitrait (savegame incompatible) and change the trigger to award 1 point to that instead of -1 point to the main trait.
Re: Omission from Roman governor system (Lilibeo)
Bovi, it is an ancillary code, it has no antitrait, or antiancillary.
Your info is correct for traits not for ancillaries but he mixes that this is a trait file. He expresses ancillary file export_descr_ancillary error.
Roman Governors are ancillaries not traits like praetor, consul, censor.
what confusing us the duality of roman offices.
Local governors are coded as ancillary but magistrates are coded as traits.
I have mentioned this the the team earlier they said that in EB2 they mostly use traits not ancillaries.
But we will see it when EB2 released.
Both system has its advantages and disadvantages. But ı still defend ancillaries for local governors cos they can be transferred to other generals. But you cannot transfer traits.
Btw I hope it make it clear
Atra
Re: Omission from Roman governor system (Lilibeo)
Quote:
Originally Posted by
Atraphoenix
Bovi, it is an ancillary code, it has no antitrait, or antiancillary.
Your info is correct for traits not for ancillaries but he mixes that this is a trait file. He expresses ancillary file export_descr_ancillary error.
Roman Governors are ancillaries not traits like praetor, consul, censor.
what confusing us the duality of roman offices.
Local governors are coded as ancillary but magistrates are coded as traits.
I have mentioned this the the team earlier they said that in EB2 they mostly use traits not ancillaries.
But we will see it when EB2 released.
Both system has its advantages and disadvantages. But ı still defend ancillaries for local governors cos they can be transferred to other generals. But you cannot transfer traits.
Btw I hope it make it clear
Atra
Thank you, you've helped a lot. But the specific code bovi was referring to is in the traits file (see my first post).
Roman governors get both an ancillary and a trait. The ancillary represents the specific province while the trait is either rector, propraetor, or proconsul.
Re: Omission from Roman governor system (Lilibeo)
no problem, as I said before We have roman offices both in ancillaries and in traits that confuses us. :dizzy2:
Re: Omission from Roman governor system (Lilibeo)
I don't know what you're talking about, but I'm talking about this:
Code:
Trigger Governor_not_in_Sicily_loses_bonuses
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and not SettlementName Syrakousai
and not SettlementName Messana
and not SettlementName Lilibeo
and Attribute Electability = 11
and Trait Roman_Provincial_Governor_Effect = 1
Affects Roman_Provincial_Governor_Effect -1 Chance 100
This is most certainly in EDCT.
Re: Omission from Roman governor system (Lilibeo)
Quote:
Originally Posted by
Sheep
Oops, another one, the ancillary triggers for governor of Macedonia all say "Apollonia" instead of "Ambrakia"
me this ... :laugh4:
Quote:
;------------------------------------------
Trigger acquire_Governor_of_Macedonia_Ambrakia
WhenToTest CharacterTurnEnd
Condition FactionType seleucid
and EndedInSettlement
and RemainingMPPercentage = 100
and IsGeneral
and SettlementName Ambrakia
and I_SettlementOwner Pella = seleucid
and I_SettlementOwner Demetrias = seleucid
and I_SettlementOwner Thermon = seleucid
and SettlementBuildingExists > gov4
and SettlementBuildingExists < govparthian
and Attribute Electability < 11
and not FactionwideAncillaryExists Governor_of_Macedonia
and Trait FamilyMember > 0
AcquireAncillary Governor_of_Macedonia Chance 100
Affects NumAncillariesAcquired 1 Chance 100
I think he got more confused than us. I could not see any error in the ancillary trigger.