Log in

View Full Version : Fixing the Celtic reform bug...



Cullhwch
09-29-2008, 21:10
Has anyone else noticed that if you hit the Time of Soldiers prior to conquering Germany (or other territories where the Celts' MIC can recruit units), the Time of Freemen will overwrite the Time of Soldiers when you reload the script? This results in the restriction of Celto-Germanic spearmen as the ToF Celtic MICs will be constantly damaged (if built) yet not upgraded to the ToS equivalents.

Anyway, I have simple solution. In the EBBS_Script, in the Celtic section, you will see entries like this...

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1

if not I_SettlementOwner Adrumeto = seleucid
and not I_SettlementOwner Adrumeto = parthia
and not I_SettlementOwner Adrumeto = pontus
and not I_SettlementOwner Adrumeto = numidia
and not I_SettlementOwner Adrumeto = romans_julii
and not I_SettlementOwner Adrumeto = egypt
and not I_SettlementOwner Adrumeto = germans
and not I_SettlementOwner Adrumeto = greek_cities
and not I_SettlementOwner Adrumeto = macedon
and not I_SettlementOwner Adrumeto = carthage
and not I_SettlementOwner Adrumeto = romans_scipii
and not I_SettlementOwner Adrumeto = dacia
and not I_SettlementOwner Adrumeto = armenia
and not I_SettlementOwner Adrumeto = spain
and not I_SettlementOwner Adrumeto = thrace
and not I_SettlementOwner Adrumeto = romans_brutii
and not I_SettlementOwner Adrumeto = saba
and not I_SettlementOwner Adrumeto = slave

console_command create_building Adrumeto "celt1"

end_if
end_monitor

To fix it and prevent the script from spawning a celt1 marker after a celt3 marker has been placed, just add the following lines after "and not SettlementBuildingExists = celt1"

and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

If Bovi's fixes have already covered this (I haven't downloaded all of them), ignore me. And if anyone wants a file that will save them 199 copy/pastes, just PM me.

bovi
09-30-2008, 07:33
(Answered in the tech help forum)