+ Reply to Thread
Results 1 to 6 of 6

Thread: AHD 2.2/2.3- Any help on why UK AI does not release Ionian Islands?

  1. #1
    Captain Corelay's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor the MotherlandHearts of Iron III
    Heir to the ThroneKing Arthur IISemper FiVictoria 2Victoria II: A House Divided
    V2 BetaEuropa Universalis IV: Pre-order

    Join Date
    Mar 2012
    Location
    Chelmsford, Essex, UK
    Posts
    349

    AHD 2.2/2.3- Any help on why UK AI does not release Ionian Islands?

    Hi all.

    I'm a very new player to PI products, having sidled into their grand strategy games after coming to these forums when I got the King Arthur games. Very much addicted etc.

    I am one of those players with a Byzantine bent, and hence I play Greece in Victoria 2. My question is about the decision the UK has to release the Ionian Islands to Greek control. In the non-beta game, the UK AI generally does this every time at some point in the 50s or 60s- I am guessing this coincides with when they get Nationalism and the decision becomes available.

    However, since the 2.2 and 2.3 patch. I noted the AI had stopped doing this and doesn't give me the islands ever. I took a look into the files and noted that there was this change to the event made by the beta patches:
    -

    ai_will_do = {
    factor = 0
    modifier = {
    factor = 1
    OR = {
    AND = {
    year = 1864
    month = 4
    }
    year = 1865
    }
    }
    modifier = {
    factor = 1
    relation = {
    who = GRE
    value = 0
    }
    }
    }
    }

    -

    Now, I am no modder and only understand the basics of programming, so please correct me if I am wrong. Does that not say that the AI does not take the decision by default but will do it under either of two circumstances:

    1. It is either April 1864 or any point in 1865 (or maybe, depending on how these instructions work, any point from April 1864 onwards)

    2. They have relations of 0 or better with Greece

    Or does it have to be both of those things? In either case, both conditions were met.

    Assuming I am reading it correctly, this seems a sensible addition to structure the decision a little for the ai, but for whatever reason it never triggers. In my games, my relations with the UK are pretty much always in the high 100s, and 1864 and 1865 went by with nothing happening at all. I checked over on the UK from a save and the decision was available for them to take (and indeed, I could just take it on their behalf and switch back to Greece if I wanted so this is not a fatal issue, though it did lead to the Greek democracy decision being taken by the Greek AI (in the split second I was playing as the UK) earlier than I planned )

    The only thing I could think of if that if it is that both have to be true and the possibility expires at the end of 1865, maybe the UK was at war throughout the whole of 1865 (you have to be at peace to take the decision). But I had an 1864 save, so I ran it up as the UK and made sure they were not at war at the end of 1864, checked the decision could be taken (it could), switched back to Greece and got nothing throughout 1865.

    So I have covered all I can think of in trying to get the event to fire. Can any of you clever folks fill me in on anything I've missed? I know they are of no great value but it's the principle of the thing- I want my darn islands back!

    (In case anyone asks- as I have seen this one queried before- no, no-one else has sphered the Ionians (not sure that makes a difference anyway, so long as they are still a UK puppet), the UK has full control and I checked whilst playing as the UK that they could take the decision). One final thought that occurs to me- does the programming above mean that if the UK is at war in April 1864, and hence unable to take the decision, it then never will? Does it only check once?

    Thanks for any help you can give!

  2. #2
    Same problem for me.
    I switched to ENG, enacted decision and then switched back.
    But this is not solution of course.

  3. #3
    factors are multiplicative I believe. So with a base factor of 0, it is being multiplied by 1, so it produces 0, meaning that the AI will never enact the decision. Seems like a bug.

  4. #4
    Captain Corelay's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor the MotherlandHearts of Iron III
    Heir to the ThroneKing Arthur IISemper FiVictoria 2Victoria II: A House Divided
    V2 BetaEuropa Universalis IV: Pre-order

    Join Date
    Mar 2012
    Location
    Chelmsford, Essex, UK
    Posts
    349
    Ah, thanks! I'll flag it up as a bug then.

  5. #5
    Ill Growl of Talking Polar Mongoose's Avatar
    Hearts of Iron 2: ArmageddonCities in MotionCrusader Kings IIDeus VultDivine Wind
    Hearts of Iron IIIHeir to the ThroneEuropa Universalis III: In NomineLost Empire - ImmortalsMagicka
    Majesty 2EU3 Napoleon's AmbitionVictoria: RevolutionsEuropa Universalis: RomeSword of the Stars
    Sword of the Stars IIVictoria 2Victoria II: Heart of DarknessRome: Vae VictisMount & Blade: Warband

    Join Date
    Mar 2006
    Location
    London, UK
    Posts
    732
    My Greece has been waiting 40 years to form Byzantium for the UK to invent nationalism and imperialism, and they wont even give me the islands anyway?
    Viva ArgentinAAR! - My Vicky 2 AAR (1836-1880)

  6. #6
    Captain Corelay's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor the MotherlandHearts of Iron III
    Heir to the ThroneKing Arthur IISemper FiVictoria 2Victoria II: A House Divided
    V2 BetaEuropa Universalis IV: Pre-order

    Join Date
    Mar 2012
    Location
    Chelmsford, Essex, UK
    Posts
    349
    Apparently not!

    I had a look through the files to look at other AI decisions- it seems what is normally done is that they say the AI will normally do it and then give exceptions when it will not, whereas here they have tried to say it normally won't do it and then tried to state when it will, but that way around doesn't work as a 0% chance cannot multiply to anything more than zero.

    I am having a go at modding the file myself (on a backup of the game) so it works like the other AI decisions- changing the base chance to 1, then making the modifiers make the chance 0 if they are NOT met. So far it's worked perfectly in getting the UK to hand them over, but I haven't checked yet if it doesn't give them when not meant to.

    I've put a thread in bug reports.

    -

    EDIT: Ok, tested this and it works as far as I can tell

    -

    ai_will_do = {
    factor = 1
    modifier = {
    factor = 0
    NOT = {
    OR = {
    AND = {
    year = 1864
    month = 4
    }
    year = 1865
    }
    }
    }
    modifier = {
    factor = 0
    NOT = {
    relation = {
    who = GRE
    value = 0
    }
    }
    }
    }
    }

    -

    (file is 'ENG.txt' inside Decisions folder, and is part of the section labelled "ionian_islands_question")

    With this in, the UK will give the islands to Greece if it can (it needs Nationalism and to not be at war- and to still have the Islands as a vassal of course) so long as

    a. It is after April 1864
    b. Relations between Greece and the UK are above 0

    I think that's the intended behaviour, and it seems to work from what I have tried.
    Last edited by Corelay; 06-04-2012 at 22:26.

+ 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