Results 1 to 30 of 238

Thread: Europa Barbarorum 2.08e is released!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Gisgo Governer of Ippone Member madmatg's Avatar
    Join Date
    Dec 2005
    Location
    USA
    Posts
    300

    Default Re: Europa Barbarorum 2.02 is released!

    After reinstallining I'm changing to kh, turn 6 and I already observed those silly epirote generals walking to taras haha. Macedonia, let me take korinthos without reinforcing and they still haven't sent anything down to fight with me(only turn 8 though)
    Last edited by madmatg; 05-16-2015 at 18:49.

    Phil 2:9-11 Phil 4:4

    Member thankful for this post:

    z3n 


  2. #2

    Default Re: Europa Barbarorum 2.02 is released!

    1.
    Baktria independence war could not be won. The condition for both HE_BAKTRIA_FORGIVEN and HE_BAKTRIA_KINGDOM is baktria_battlewon > 5 ,but
    if I_CompareCounter baktria_battlewon = 5
    terminate_monitor
    end_if
    so the condition is never met

    2.
    Infinite Hellenic Colony
    ;
    ; Re-enable the event counter after the player has clicked the end turn button. If this isn't done, the colony builing will never complete.
    ;
    monitor_event ButtonPressed ButtonPressed end_turn
    set_event_counter ecMakedoniaColonistsOn 1
    end_monitor
    ;
    ; Disable the event counter at the end of faction turn.
    ;
    monitor_event FactionTurnEnd FactionType f_makedonia
    set_event_counter ecMakedoniaColonistsOn 0
    end_monitor

    from the above I guess the ecMakedoniaColonistsOn type variables are "global", they are enabled at player's
    end turn and disabled at their end turns.
    Q:What happens when Makedonia is destroyed by AI before it's turn at end of turn 114?
    A:I, Baktria with no metropolis, can build colony and polis every turn everywhere since turn 115.
    Last edited by QWE_asd; 05-17-2015 at 20:58.

    Members thankful for this post (3):



  3. #3

    Default Re: Europa Barbarorum 2.02 is released!

    Hey, did a fresh reinstall of EBII, added this on top but now game always crashes when launching a custom battle. Have I messed up somewhere? campaign crashed too. On clicking start in both these cases so guessing it's a loading screen issue.

    EDIT: Fixed. my bad!
    Last edited by Bodeni; 05-17-2015 at 14:35.
    X3 From The Blacksmith, d'Arthez and The King for my Keltoi reproductions and dressing up.

    I'm always around here lurking in the shadows; not as easy as it sounds when wearing this much shiny iron :)

  4. #4
    EBII Hod Carrier Member QuintusSertorius's Avatar
    Join Date
    Apr 2008
    Location
    UK
    Posts
    23,444

    Default Re: Europa Barbarorum 2.02 is released!

    Quote Originally Posted by QWE_asd View Post
    1.
    Baktria independence war could not be won. The condition for both HE_BAKTRIA_FORGIVEN and HE_BAKTRIA_KINGDOM is baktria_battlewon > 5 ,but
    if I_CompareCounter baktria_battlewon = 5
    terminate_monitor
    end_if
    so the condition is never met
    I've changed that "=" to ">" which should mean it's now possible to meet. Thanks for spotting that.

    Quote Originally Posted by QWE_asd View Post
    2.
    Infinite Hellenic Colony
    ;
    ; Re-enable the event counter after the player has clicked the end turn button. If this isn't done, the colony builing will never complete.
    ;
    monitor_event ButtonPressed ButtonPressed end_turn
    set_event_counter ecMakedoniaColonistsOn 1
    end_monitor
    ;
    ; Disable the event counter at the end of faction turn.
    ;
    monitor_event FactionTurnEnd FactionType f_makedonia
    set_event_counter ecMakedoniaColonistsOn 0
    end_monitor

    from the above I guess the ecMakedoniaColonistsOn type variables are "global", they are enabled at player's
    end turn and disabled at their end turns.
    Q:What happens when Makedonia is destroyed by AI before it's turn at end of turn 114?
    A:I, Baktria with no metropolis, can build colony and polis every turn everywhere since turn 115.
    This, however, looks more fundamental. I'll need to get some help with fixing it.

    Again, thanks for spotting this.
    It began on seven hills - an EB 1.1 Romani AAR with historical house-rules (now ceased)
    Heirs to Lysimachos - an EB 1.1 Epeiros-as-Pergamon AAR with semi-historical houserules (now ceased)
    Philetairos' Gift - a second EB 1.1 Epeiros-as-Pergamon AAR


  5. #5
    EBII Hod Carrier Member QuintusSertorius's Avatar
    Join Date
    Apr 2008
    Location
    UK
    Posts
    23,444

    Default Re: Europa Barbarorum 2.02 is released!

    Alright everyone, 2.02b released - with a slew of fixes and a few more changes.

    EDIT: Sorry, one more change to make, will be back shortly.
    Last edited by QuintusSertorius; 05-18-2015 at 13:43.
    It began on seven hills - an EB 1.1 Romani AAR with historical house-rules (now ceased)
    Heirs to Lysimachos - an EB 1.1 Epeiros-as-Pergamon AAR with semi-historical houserules (now ceased)
    Philetairos' Gift - a second EB 1.1 Epeiros-as-Pergamon AAR


  6. #6

    Default Re: Europa Barbarorum 2.02 is released!

    Sorry I didn't include it in my first post, but you also need to change the condition of regions gained for baktria reform.

    As for the colony system, I think it's easier to implement it using m2tw's guild system. I know it's a lot work for a overhaul
    but the guild system fits the colonies best and separate the guild/colony script from campaign script makes it easier to fix & expand.

  7. #7
    EBII Hod Carrier Member QuintusSertorius's Avatar
    Join Date
    Apr 2008
    Location
    UK
    Posts
    23,444

    Default Re: Europa Barbarorum 2.02 is released!

    Quote Originally Posted by QWE_asd View Post
    Sorry I didn't include it in my first post, but you also need to change the condition of regions gained for baktria reform.
    Do you have the details of what needs to change? If so, I can edit that in now and include in 2.02b when I release it shortly, just testing one other amendment.

    Quote Originally Posted by QWE_asd View Post
    As for the colony system, I think it's easier to implement it using m2tw's guild system. I know it's a lot work for a overhaul
    but the guild system fits the colonies best and separate the guild/colony script from campaign script makes it easier to fix & expand.
    Sounds like one for the full release, rather than trying to cobble something together now.
    It began on seven hills - an EB 1.1 Romani AAR with historical house-rules (now ceased)
    Heirs to Lysimachos - an EB 1.1 Epeiros-as-Pergamon AAR with semi-historical houserules (now ceased)
    Philetairos' Gift - a second EB 1.1 Epeiros-as-Pergamon AAR


  8. #8

    Default Re: Europa Barbarorum 2.02 is released!

    change from 2.02a, I capped battles won at 5 and regions gained at 3:


    ;
    ; * FORGIVENESS OR RECOGNITION EVENTS
    ;
    declare_counter baktria_battlewon
    declare_counter baktria_regionstaken
    ;
    monitor_event PostBattle FactionType f_baktria
    and not I_ConflictType Naval
    and not I_ConflictType Withdraw
    and GeneralFoughtFaction f_seleukid
    and WonBattle
    inc_counter baktria_battlewon 1

    if I_EventCounter ecBaktriaIsAI = 1 ;;; save monitor if Baktria is AI-controlled
    terminate_monitor
    end_if

    if I_CompareCounter baktria_battlewon = 5
    terminate_monitor
    end_if
    end_monitor
    ;
    monitor_event GeneralCaptureSettlement FactionType f_baktria
    and TargetFactionType f_seleukid
    inc_counter baktria_regionstaken 1

    if I_EventCounter ecBaktriaIsAI = 1 ;;; save monitor if Baktria is AI-controlled
    terminate_monitor
    end_if

    if I_CompareCounter baktria_regionstaken = 3
    terminate_monitor
    end_if
    end_monitor
    ;
    monitor_event FactionTurnStart FactionType f_baktria

    if I_EventCounter ecBaktriaKingdom = 1
    terminate_monitor
    end_if

    if I_EventCounter ecBaktriaRebellion = 1
    and I_CompareCounter baktria_battlewon = 5
    and I_CompareCounter baktria_regionstaken > 1
    historic_event HE_BAKTRIA_FORGIVEN true factions { f_baktria, }

    while I_EventCounter HE_BAKTRIA_FORGIVEN_accepted = 0 ;;; while-loop to pause the script until a decision is made
    and I_EventCounter HE_BAKTRIA_FORGIVEN_declined = 0
    end_while

    if I_EventCounter HE_BAKTRIA_FORGIVEN_accepted = 1
    console_command diplomatic_stance f_seleukid f_baktria alliance
    set_faction_standing f_baktria f_seleukid 0.5
    set_faction_standing f_seleukid f_baktria 0.5
    set_event_counter ecBaktriaSatrapy 1
    set_event_counter ecBaktriaRebellion 0
    set_counter baktria_tributeunpaid 0
    set_event_counter HE_PAY_TRIBUTE_TO_SELEUKIDS_declined = 0
    end_if

    if I_EventCounter HE_PAY_TRIBUTE_TO_SELEUKIDS_declined = 1
    set_counter baktria_tributeunpaid 0
    set_event_counter HE_PAY_TRIBUTE_TO_SELEUKIDS_declined = 0
    end_if
    end_if

    if I_EventCounter ecBaktriaRebellion = 1
    and I_CompareCounter baktria_battlewon = 5
    and I_CompareCounter baktria_regionstaken > 2
    historic_event HE_BAKTRIA_KINGDOM factions { f_baktria, }
    console_command diplomatic_stance f_seleukid f_baktria neutral
    set_faction_standing f_baktria f_seleukid 0.0
    set_faction_standing f_seleukid f_baktria 0.0
    set_event_counter ecBaktriaKingdom 1
    set_event_counter ecBaktriaRebellion 0
    terminate_monitor
    end_if
    end_monitor


    ---------------------
    It seems the player can get infinite colony pts by accident and AI always gets infinite colony pts.

    Can someone explains this:
    ;
    ; Re-enable the event counter after the player has clicked the end turn button. If this isn't done, the colony builing will never complete.
    ;
    monitor_event ButtonPressed ButtonPressed end_turn
    set_event_counter ecMakedoniaColonistsOn 1
    end_monitor
    Last edited by QWE_asd; 05-18-2015 at 15:26.

  9. #9
    EBII Hod Carrier Member QuintusSertorius's Avatar
    Join Date
    Apr 2008
    Location
    UK
    Posts
    23,444

    Default Re: Europa Barbarorum 2.02 is released!

    I've changed both of those battles_won/regions_taken conditions to > rather than = it's more reliable, apparently.

    It now looks thus:

    PHP Code:
    ; * FORGIVENESS OR RECOGNITION EVENTS
        
    ;
        
    declare_counter baktria_battlewon
        declare_counter baktria_regionstaken
        
    ;
        
    monitor_event PostBattle FactionType f_baktria
            
    and not I_ConflictType Naval
            
    and not I_ConflictType Withdraw
            
    and GeneralFoughtFaction f_seleukid
            
    and WonBattle
            inc_counter baktria_battlewon 1
            
            
    if I_EventCounter ecBaktriaIsAI 1            ;;; save monitor if Baktria is AI-controlled
                terminate_monitor
            end_if
            
            
    if I_CompareCounter baktria_battlewon 5
                terminate_monitor
            end_if
        end_monitor
        
    ;
        
    monitor_event GeneralCaptureSettlement FactionType f_baktria
            
    and TargetFactionType f_seleukid
            inc_counter baktria_regionstaken 1
            
            
    if I_EventCounter ecBaktriaIsAI 1            ;;; save monitor if Baktria is AI-controlled
                terminate_monitor
            end_if
            
            
    if I_CompareCounter baktria_regionstaken 2
                terminate_monitor
            end_if
        end_monitor
        
    ;
        
    monitor_event FactionTurnStart FactionType f_baktria
            
            
    if I_EventCounter ecBaktriaKingdom 1
                terminate_monitor
            end_if
            
            
    if I_EventCounter ecBaktriaRebellion 1
                
    and I_CompareCounter baktria_battlewon 5
                
    and I_CompareCounter baktria_regionstaken 1
                historic_event HE_BAKTRIA_FORGIVEN true factions 
    f_baktria, }
                
                while 
    I_EventCounter HE_BAKTRIA_FORGIVEN_accepted 0                ;;; while-loop to pause the script until a decision is made
                    
    and I_EventCounter HE_BAKTRIA_FORGIVEN_declined 0
                end_while
                
                
    if I_EventCounter HE_BAKTRIA_FORGIVEN_accepted 1
                    console_command diplomatic_stance f_seleukid f_baktria alliance
                    set_faction_standing f_baktria f_seleukid 0.5
                    set_faction_standing f_seleukid f_baktria 0.5
                    set_event_counter ecBaktriaSatrapy 1
                    set_event_counter ecBaktriaRebellion 0
                    set_counter baktria_tributeunpaid 0
                    set_event_counter HE_PAY_TRIBUTE_TO_SELEUKIDS_declined 
    0
                end_if
                
                
    if I_EventCounter HE_PAY_TRIBUTE_TO_SELEUKIDS_declined 1
                    set_counter baktria_tributeunpaid 0
                    set_event_counter HE_PAY_TRIBUTE_TO_SELEUKIDS_declined 
    0
                end_if
            end_if
            
            
    if I_EventCounter ecBaktriaRebellion 1
                
    and I_CompareCounter baktria_battlewon 5
                
    and I_CompareCounter baktria_regionstaken 2
                historic_event HE_BAKTRIA_KINGDOM factions 
    f_baktria, }
                
    console_command diplomatic_stance f_seleukid f_baktria neutral
                set_faction_standing f_baktria f_seleukid 0.0
                set_faction_standing f_seleukid f_baktria 0.0
                set_event_counter ecBaktriaKingdom 1
                set_event_counter ecBaktriaRebellion 0
                terminate_monitor
            end_if
        end_monitor
        
        monitor_event FactionTurnEnd FactionType f_baktria
            
    and I_EventCounter ecBaktriaRebellion 1
            
    and I_LocalFaction f_baktria
            
    and I_EventCounter ecBaktriaKingdom 0
            
    and not DiplomaticStanceFromFaction f_seleukid AtWar
            console_command diplomatic_stance f_seleukid f_baktria allied
            set_event_counter HE_BAKTRIA_FORGIVEN_accepted 
    1
            set_event_counter ecBaktriaRebellion 0
            set_event_counter ecBaktriaSatrapy 1
        end_monitor

        monitor_event FactionTurnEnd FactionType f_baktria
            
    and I_EventCounter HE_BAKTRIA_FORGIVEN_accepted 1
            
    and I_EventCounter ecBaktriaSatrapy 1
            set_event_counter HE_BAKTRIA_FORGIVEN_accepted 
    0
        end_monitor 
    It began on seven hills - an EB 1.1 Romani AAR with historical house-rules (now ceased)
    Heirs to Lysimachos - an EB 1.1 Epeiros-as-Pergamon AAR with semi-historical houserules (now ceased)
    Philetairos' Gift - a second EB 1.1 Epeiros-as-Pergamon AAR


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO