+ Reply to Thread
Results 1 to 6 of 6

Thread: Minor issue with Taking Back our Cores event

  1. #1
    Simian Commissar SirkTheMonkey's Avatar
    EU3 CompleteHearts of Iron IIIHeir to the ThroneSemper FiVictoria 2
    Divine WindMagickaCrusader Kings IIFor the MotherlandVictoria II: A House Divided
    Crusader Kings II Holy KnightHOI3: Their Finest HourVictoria 2: Heart of Darkness

    Join Date
    Feb 2012
    Location
    Australia
    Posts
    3,076

    Minor issue with Taking Back our Cores event

    Event #911301 tries to call an event #911311 on the provinces I've occupied but that event does not exist.

  2. #2
    Dagneau, the Ultimate Diplomat gigau's Avatar
    Diplomacy PlayerEU3 OwnerEU3 Collectors Edition OwnerHoI AnthologyGalactic Assaulter
    Napoleonic MarshalDeus Vult!Europa Universalis: RomeEuropa Universalis: Rome (Collectors Edition)Finder of the Lost Empire
    Penumbra -  Black PlagueHearts of Iron 2: ArmageddonVictoria: RevolutionsEuropa Universalis III: In NomineEU3 Complete
    Rome: Vae VictisSupreme Ruler 2020Rome GoldEast India CompanyHearts of Iron III
    Majesty 2Supreme Ruler 2020 GoldFor The GloryArsenal of DemocracyHeir to the Throne
    East India Company CollectionRise of PrussiaAchtung PanzerLead and GoldMount & Blade: Warband
    200k ClubLegioSemper FiElven Legacy CollectionVictoria 2
    Commander: Conquest of the AmericasLionheartDivine WindShip Simulator ExtremesIron Cross
    MagickaCities in MotionEU3: ChroniclesSword of the StarsDarkest Hour
    Majesty II CollectionCrusader Kings IIPirates of Black CoveMount & Blade: With Fire and SwordPride of Nations
    For the MotherlandSupreme Ruler: Cold WarSengokuHearts of Iron: The Card GameSword of the Stars II
    Hearts of Iron III CollectionVictoria II: A House DividedKing Arthur IICrusader Kings II Holy KnightGettysburg: Armored Warfare
    Naval War: Arctic CircleWarlock: Master of the ArcaneStarvoidHOI3: Their Finest HourWar of the Roses
    A Game of DwarvesDungeonlandThe Showdown EffectMarch of the EaglesImpire
    Cities in Motion 2Victoria 2: Heart of DarknessLeviathan: Warships

    Join Date
    May 2005
    Location
    Hunting wolves and/or villagers... depends...
    Posts
    18,039
    Blog Entries
    9
    Looks like i made a mistake...

    Hotfix to be placed in MEIOU events folder
    Auretus Ornithorhynchus anatinus, in hoc signo vinces. In honorem Paradox!Awarded the SAS Award for Forum Dedication<:3 )~~~ Mice over Rabbits
    • Crusader Kings II --- Planning a map mod, the name of which remains to be determined
    • Europa Universalis III : Divine Wind --- The EUIII Master Mod List (last update 7-March-2013)
    MEIOU:Tokgawa's Destiny, a mod giving you a new map, a new experience,... - Quezako ?
    If you have zero infamy, then you're wasting everybody's forgiveness. - Zzzzz... •
    MEIOU Subforum in english --- Enfillade MEIOU en Français --- MEIOU auf Deutsch
    My AAR : Aragón and its Place in European History
    • Mount & Blade Warband : Draper in the Noble Order of the Platypus - Impatient archer, reckless infantry and ridiculous cavalier
    • Werewolf, come join the hunt here --- Wins : as seer 1/1, as villager 2/10, as wolf 1/5 - Hosted 2 WWLite,

  3. #3
    Simian Commissar SirkTheMonkey's Avatar
    EU3 CompleteHearts of Iron IIIHeir to the ThroneSemper FiVictoria 2
    Divine WindMagickaCrusader Kings IIFor the MotherlandVictoria II: A House Divided
    Crusader Kings II Holy KnightHOI3: Their Finest HourVictoria 2: Heart of Darkness

    Join Date
    Feb 2012
    Location
    Australia
    Posts
    3,076
    I presume it won't be a problem but the 'surrendered' flag and the 'surrender_timer' modifier are being applied in both #911301 and #911311. I assume they'll only work once per province; having two simultaneous surrender_timers would be deadly to a province's population.

  4. #4
    Dagneau, the Ultimate Diplomat gigau's Avatar
    Diplomacy PlayerEU3 OwnerEU3 Collectors Edition OwnerHoI AnthologyGalactic Assaulter
    Napoleonic MarshalDeus Vult!Europa Universalis: RomeEuropa Universalis: Rome (Collectors Edition)Finder of the Lost Empire
    Penumbra -  Black PlagueHearts of Iron 2: ArmageddonVictoria: RevolutionsEuropa Universalis III: In NomineEU3 Complete
    Rome: Vae VictisSupreme Ruler 2020Rome GoldEast India CompanyHearts of Iron III
    Majesty 2Supreme Ruler 2020 GoldFor The GloryArsenal of DemocracyHeir to the Throne
    East India Company CollectionRise of PrussiaAchtung PanzerLead and GoldMount & Blade: Warband
    200k ClubLegioSemper FiElven Legacy CollectionVictoria 2
    Commander: Conquest of the AmericasLionheartDivine WindShip Simulator ExtremesIron Cross
    MagickaCities in MotionEU3: ChroniclesSword of the StarsDarkest Hour
    Majesty II CollectionCrusader Kings IIPirates of Black CoveMount & Blade: With Fire and SwordPride of Nations
    For the MotherlandSupreme Ruler: Cold WarSengokuHearts of Iron: The Card GameSword of the Stars II
    Hearts of Iron III CollectionVictoria II: A House DividedKing Arthur IICrusader Kings II Holy KnightGettysburg: Armored Warfare
    Naval War: Arctic CircleWarlock: Master of the ArcaneStarvoidHOI3: Their Finest HourWar of the Roses
    A Game of DwarvesDungeonlandThe Showdown EffectMarch of the EaglesImpire
    Cities in Motion 2Victoria 2: Heart of DarknessLeviathan: Warships

    Join Date
    May 2005
    Location
    Hunting wolves and/or villagers... depends...
    Posts
    18,039
    Blog Entries
    9
    I'll check the events.

    But a modifier, like a flag, can be set only once, it's not cumulative. A second attempt to set it will basically do nothing.
    Auretus Ornithorhynchus anatinus, in hoc signo vinces. In honorem Paradox!Awarded the SAS Award for Forum Dedication<:3 )~~~ Mice over Rabbits
    • Crusader Kings II --- Planning a map mod, the name of which remains to be determined
    • Europa Universalis III : Divine Wind --- The EUIII Master Mod List (last update 7-March-2013)
    MEIOU:Tokgawa's Destiny, a mod giving you a new map, a new experience,... - Quezako ?
    If you have zero infamy, then you're wasting everybody's forgiveness. - Zzzzz... •
    MEIOU Subforum in english --- Enfillade MEIOU en Français --- MEIOU auf Deutsch
    My AAR : Aragón and its Place in European History
    • Mount & Blade Warband : Draper in the Noble Order of the Platypus - Impatient archer, reckless infantry and ridiculous cavalier
    • Werewolf, come join the hunt here --- Wins : as seer 1/1, as villager 2/10, as wolf 1/5 - Hosted 2 WWLite,

  5. #5
    Simian Commissar SirkTheMonkey's Avatar
    EU3 CompleteHearts of Iron IIIHeir to the ThroneSemper FiVictoria 2
    Divine WindMagickaCrusader Kings IIFor the MotherlandVictoria II: A House Divided
    Crusader Kings II Holy KnightHOI3: Their Finest HourVictoria 2: Heart of Darkness

    Join Date
    Feb 2012
    Location
    Australia
    Posts
    3,076
    I've decided to test the new (and old) AI modifiers on the decision for taking the provinces after the surrender_timer is up. Things I think are issues:
    - "is_core = FROM" on line #1382 doesn't seem to work. I've tested and found that "FROM = { is_core = THIS }" does seem to work though.
    - "FROM = { NOT = { primary_culture = THIS } }" on line #1406 definitely does not work. Using 'culture' instead of 'primary_culture' fixes it.
    - "NOT = { is_core = FROM }" on line #1422 is the same as the similar one earlier. "FROM = { NOT = { is_core = THIS } }" looks to work.
    - The bordering provinces check on line #1426-1430 still worries me because I'm not sure it's working as intended. As it stands, it won't fire false unless I have the province entirely surrounded. My suggestion is as follows:
    Current:
    Code:
                    FROM = {
                        any_neighbor_province = {
                            NOT = { owned_by = THIS }
                        }
                    }
    Fixed:
    Code:
                        FROM = { NOT = { any_neighbor_province = { owned_by = THIS } } }
    Apologies for the non-standard line formatting on that one.
    All of this was tested using Montfort occupying Bro Roazhon from a fresh game start, a situation where every modifier for taking the province should be true and every modifier to leave it should be false, with an event to occupy the province and an almost infinite event loop to see whether individual conditions would affect the AI's decision making.

  6. #6
    Dagneau, the Ultimate Diplomat gigau's Avatar
    Diplomacy PlayerEU3 OwnerEU3 Collectors Edition OwnerHoI AnthologyGalactic Assaulter
    Napoleonic MarshalDeus Vult!Europa Universalis: RomeEuropa Universalis: Rome (Collectors Edition)Finder of the Lost Empire
    Penumbra -  Black PlagueHearts of Iron 2: ArmageddonVictoria: RevolutionsEuropa Universalis III: In NomineEU3 Complete
    Rome: Vae VictisSupreme Ruler 2020Rome GoldEast India CompanyHearts of Iron III
    Majesty 2Supreme Ruler 2020 GoldFor The GloryArsenal of DemocracyHeir to the Throne
    East India Company CollectionRise of PrussiaAchtung PanzerLead and GoldMount & Blade: Warband
    200k ClubLegioSemper FiElven Legacy CollectionVictoria 2
    Commander: Conquest of the AmericasLionheartDivine WindShip Simulator ExtremesIron Cross
    MagickaCities in MotionEU3: ChroniclesSword of the StarsDarkest Hour
    Majesty II CollectionCrusader Kings IIPirates of Black CoveMount & Blade: With Fire and SwordPride of Nations
    For the MotherlandSupreme Ruler: Cold WarSengokuHearts of Iron: The Card GameSword of the Stars II
    Hearts of Iron III CollectionVictoria II: A House DividedKing Arthur IICrusader Kings II Holy KnightGettysburg: Armored Warfare
    Naval War: Arctic CircleWarlock: Master of the ArcaneStarvoidHOI3: Their Finest HourWar of the Roses
    A Game of DwarvesDungeonlandThe Showdown EffectMarch of the EaglesImpire
    Cities in Motion 2Victoria 2: Heart of DarknessLeviathan: Warships

    Join Date
    May 2005
    Location
    Hunting wolves and/or villagers... depends...
    Posts
    18,039
    Blog Entries
    9
    Looks like very nice suggestions, thanks for those fixes.
    Auretus Ornithorhynchus anatinus, in hoc signo vinces. In honorem Paradox!Awarded the SAS Award for Forum Dedication<:3 )~~~ Mice over Rabbits
    • Crusader Kings II --- Planning a map mod, the name of which remains to be determined
    • Europa Universalis III : Divine Wind --- The EUIII Master Mod List (last update 7-March-2013)
    MEIOU:Tokgawa's Destiny, a mod giving you a new map, a new experience,... - Quezako ?
    If you have zero infamy, then you're wasting everybody's forgiveness. - Zzzzz... •
    MEIOU Subforum in english --- Enfillade MEIOU en Français --- MEIOU auf Deutsch
    My AAR : Aragón and its Place in European History
    • Mount & Blade Warband : Draper in the Noble Order of the Platypus - Impatient archer, reckless infantry and ridiculous cavalier
    • Werewolf, come join the hunt here --- Wins : as seer 1/1, as villager 2/10, as wolf 1/5 - Hosted 2 WWLite,

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts