Results 1 to 5 of 5

Thread: Celtic reforms

  1. #1
    Member Member Oleo's Avatar
    Join Date
    Apr 2006
    Location
    Gelderland, NL
    Posts
    392

    Default Celtic reforms

    Just a FYI if you dont know already, I hope you don't cause then I am not wasting time .

    I figured I'd try the celtic second reforms after having difficulty's with the marian reforms. I have an old casse savegame laying around.

    I changed the condition from 608 to 209 turns and noticed that the appropriate reform building and new MIC were only built in cities that had a 1st or 2nd level MIC built. Cities with a 3rd, 4th or 5th level MIC would not get the new MIC and the time of soldiers buildingmarker.

    Then I changed the code for Camulosadae (with a 5th level MIC) from:

    Spoiler Alert, click show to read: 
    Code:
    monitor_event SettlementTurnStart SettlementName Camulosadae
    and I_CompareCounter Celt_Reform = 2
    and not SettlementBuildingExists = celt3
    and not SettlementBuildingExists > muster_field_D
    
    if not I_SettlementOwner Camulosadae = seleucid
    and not I_SettlementOwner Camulosadae = parthia
    and not I_SettlementOwner Camulosadae = pontus
    and not I_SettlementOwner Camulosadae = numidia
    and not I_SettlementOwner Camulosadae = romans_julii
    and not I_SettlementOwner Camulosadae = egypt
    and not I_SettlementOwner Camulosadae = germans
    and not I_SettlementOwner Camulosadae = greek_cities
    and not I_SettlementOwner Camulosadae = macedon
    and not I_SettlementOwner Camulosadae = carthage
    and not I_SettlementOwner Camulosadae = romans_scipii
    and not I_SettlementOwner Camulosadae = dacia
    and not I_SettlementOwner Camulosadae = armenia
    and not I_SettlementOwner Camulosadae = spain
    and not I_SettlementOwner Camulosadae = thrace
    and not I_SettlementOwner Camulosadae = romans_brutii
    and not I_SettlementOwner Camulosadae = saba
    and not I_SettlementOwner Camulosadae = slave
    
    console_command create_building Camulosadae "celt3"
    console_command create_building Camulosadae "muster_field_E"
    console_command set_building_health Camulosadae Barracks_D 0
    
    end_if
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Camulosadae
    and I_CompareCounter Celt_Reform = 2
    and not SettlementBuildingExists = celt3
    and SettlementBuildingExists > muster_field_D
    and not SettlementBuildingExists = city_barracks_D1
    and not SettlementBuildingExists = army_barracks_D1
    and not SettlementBuildingExists = royal_barracks_D1
    and not SettlementBuildingExists = city_barracks_D2
    and not SettlementBuildingExists = army_barracks_D2
    and not SettlementBuildingExists = royal_barracks_D2
    
    if not I_SettlementOwner Camulosadae = seleucid
    and not I_SettlementOwner Camulosadae = parthia
    and not I_SettlementOwner Camulosadae = pontus
    and not I_SettlementOwner Camulosadae = numidia
    and not I_SettlementOwner Camulosadae = romans_julii
    and not I_SettlementOwner Camulosadae = egypt
    and not I_SettlementOwner Camulosadae = germans
    and not I_SettlementOwner Camulosadae = greek_cities
    and not I_SettlementOwner Camulosadae = macedon
    and not I_SettlementOwner Camulosadae = carthage
    and not I_SettlementOwner Camulosadae = romans_scipii
    and not I_SettlementOwner Camulosadae = dacia
    and not I_SettlementOwner Camulosadae = armenia
    and not I_SettlementOwner Camulosadae = spain
    and not I_SettlementOwner Camulosadae = thrace
    and not I_SettlementOwner Camulosadae = romans_brutii
    and not I_SettlementOwner Camulosadae = saba
    and not I_SettlementOwner Camulosadae = slave
    
    console_command create_building Camulosadae "celt3"
    console_command create_building Camulosadae "militia_barracks_E1"
    console_command set_building_health Camulosadae Barracks_D 0
    
    end_if
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Camulosadae
    and I_CompareCounter Celt_Reform = 2
    and not SettlementBuildingExists = celt3
    and SettlementBuildingExists > muster_field_A
    and not SettlementBuildingExists = militia_barracks_D1
    and not SettlementBuildingExists = army_barracks_D1
    and not SettlementBuildingExists = royal_barracks_D1
    and not SettlementBuildingExists = militia_barracks_D2
    and not SettlementBuildingExists = army_barracks_D2
    and not SettlementBuildingExists = royal_barracks_D2
    
    if not I_SettlementOwner Camulosadae = seleucid
    and not I_SettlementOwner Camulosadae = parthia
    and not I_SettlementOwner Camulosadae = pontus
    and not I_SettlementOwner Camulosadae = numidia
    and not I_SettlementOwner Camulosadae = romans_julii
    and not I_SettlementOwner Camulosadae = egypt
    and not I_SettlementOwner Camulosadae = germans
    and not I_SettlementOwner Camulosadae = greek_cities
    and not I_SettlementOwner Camulosadae = macedon
    and not I_SettlementOwner Camulosadae = carthage
    and not I_SettlementOwner Camulosadae = romans_scipii
    and not I_SettlementOwner Camulosadae = dacia
    and not I_SettlementOwner Camulosadae = armenia
    and not I_SettlementOwner Camulosadae = spain
    and not I_SettlementOwner Camulosadae = thrace
    and not I_SettlementOwner Camulosadae = romans_brutii
    and not I_SettlementOwner Camulosadae = saba
    and not I_SettlementOwner Camulosadae = slave
    
    console_command create_building Camulosadae "celt3"
    console_command create_building Camulosadae "city_barracks_E1"
    console_command set_building_health Camulosadae Barracks_D 0
    
    end_if
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Camulosadae
    and I_CompareCounter Celt_Reform = 2
    and not SettlementBuildingExists = celt3
    and SettlementBuildingExists > muster_field_A
    and not SettlementBuildingExists = militia_barracks_D1
    and not SettlementBuildingExists = city_barracks_D1
    and not SettlementBuildingExists = royal_barracks_D1
    and not SettlementBuildingExists = militia_barracks_D2
    and not SettlementBuildingExists = city_barracks_D2
    and not SettlementBuildingExists = royal_barracks_D2
    
    if not I_SettlementOwner Camulosadae = seleucid
    and not I_SettlementOwner Camulosadae = parthia
    and not I_SettlementOwner Camulosadae = pontus
    and not I_SettlementOwner Camulosadae = numidia
    and not I_SettlementOwner Camulosadae = romans_julii
    and not I_SettlementOwner Camulosadae = egypt
    and not I_SettlementOwner Camulosadae = germans
    and not I_SettlementOwner Camulosadae = greek_cities
    and not I_SettlementOwner Camulosadae = macedon
    and not I_SettlementOwner Camulosadae = carthage
    and not I_SettlementOwner Camulosadae = romans_scipii
    and not I_SettlementOwner Camulosadae = dacia
    and not I_SettlementOwner Camulosadae = armenia
    and not I_SettlementOwner Camulosadae = spain
    and not I_SettlementOwner Camulosadae = thrace
    and not I_SettlementOwner Camulosadae = romans_brutii
    and not I_SettlementOwner Camulosadae = saba
    and not I_SettlementOwner Camulosadae = slave
    
    console_command create_building Camulosadae "celt3"
    console_command create_building Camulosadae "army_barracks_E1"
    console_command set_building_health Camulosadae Barracks_D 0
    
    end_if
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Camulosadae
    and I_CompareCounter Celt_Reform = 2
    and not SettlementBuildingExists = celt3
    and SettlementBuildingExists > muster_field_A
    and not SettlementBuildingExists = militia_barracks_D1
    and not SettlementBuildingExists = city_barracks_D1
    and not SettlementBuildingExists = army_barracks_D1
    and not SettlementBuildingExists = militia_barracks_D2
    and not SettlementBuildingExists = city_barracks_D2
    and not SettlementBuildingExists = army_barracks_D2
    
    if not I_SettlementOwner Camulosadae = seleucid
    and not I_SettlementOwner Camulosadae = parthia
    and not I_SettlementOwner Camulosadae = pontus
    and not I_SettlementOwner Camulosadae = numidia
    and not I_SettlementOwner Camulosadae = romans_julii
    and not I_SettlementOwner Camulosadae = egypt
    and not I_SettlementOwner Camulosadae = germans
    and not I_SettlementOwner Camulosadae = greek_cities
    and not I_SettlementOwner Camulosadae = macedon
    and not I_SettlementOwner Camulosadae = carthage
    and not I_SettlementOwner Camulosadae = romans_scipii
    and not I_SettlementOwner Camulosadae = dacia
    and not I_SettlementOwner Camulosadae = armenia
    and not I_SettlementOwner Camulosadae = spain
    and not I_SettlementOwner Camulosadae = thrace
    and not I_SettlementOwner Camulosadae = romans_brutii
    and not I_SettlementOwner Camulosadae = saba
    and not I_SettlementOwner Camulosadae = slave
    
    console_command create_building Camulosadae "celt3"
    console_command create_building Camulosadae "royal_barracks_E1"
    console_command set_building_health Camulosadae Barracks_D 0
    
    end_if
    end_monitor


    to:

    Spoiler Alert, click show to read: 
    Code:
    monitor_event SettlementTurnStart SettlementName Camulosadae
    and I_CompareCounter Celt_Reform = 2
    and not SettlementBuildingExists = celt3
    and not SettlementBuildingExists > muster_field_D
    
    if not I_SettlementOwner Camulosadae = seleucid
    and not I_SettlementOwner Camulosadae = parthia
    and not I_SettlementOwner Camulosadae = pontus
    and not I_SettlementOwner Camulosadae = numidia
    and not I_SettlementOwner Camulosadae = romans_julii
    and not I_SettlementOwner Camulosadae = egypt
    and not I_SettlementOwner Camulosadae = germans
    and not I_SettlementOwner Camulosadae = greek_cities
    and not I_SettlementOwner Camulosadae = macedon
    and not I_SettlementOwner Camulosadae = carthage
    and not I_SettlementOwner Camulosadae = romans_scipii
    and not I_SettlementOwner Camulosadae = dacia
    and not I_SettlementOwner Camulosadae = armenia
    and not I_SettlementOwner Camulosadae = spain
    and not I_SettlementOwner Camulosadae = thrace
    and not I_SettlementOwner Camulosadae = romans_brutii
    and not I_SettlementOwner Camulosadae = saba
    and not I_SettlementOwner Camulosadae = slave
    
    console_command create_building Camulosadae "celt3"
    console_command create_building Camulosadae "muster_field_E"
    console_command set_building_health Camulosadae Barracks_D 0
    
    end_if
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Camulosadae
    and I_CompareCounter Celt_Reform = 2
    and not SettlementBuildingExists = celt3
    and SettlementBuildingExists > muster_field_D
    and not SettlementBuildingExists = city_barracks_D1
    and not SettlementBuildingExists = army_barracks_D1
    and not SettlementBuildingExists = royal_barracks_D1
    and not SettlementBuildingExists = city_barracks_D2
    and not SettlementBuildingExists = army_barracks_D2
    and not SettlementBuildingExists = royal_barracks_D2
    
    if not I_SettlementOwner Camulosadae = seleucid
    and not I_SettlementOwner Camulosadae = parthia
    and not I_SettlementOwner Camulosadae = pontus
    and not I_SettlementOwner Camulosadae = numidia
    and not I_SettlementOwner Camulosadae = romans_julii
    and not I_SettlementOwner Camulosadae = egypt
    and not I_SettlementOwner Camulosadae = germans
    and not I_SettlementOwner Camulosadae = greek_cities
    and not I_SettlementOwner Camulosadae = macedon
    and not I_SettlementOwner Camulosadae = carthage
    and not I_SettlementOwner Camulosadae = romans_scipii
    and not I_SettlementOwner Camulosadae = dacia
    and not I_SettlementOwner Camulosadae = armenia
    and not I_SettlementOwner Camulosadae = spain
    and not I_SettlementOwner Camulosadae = thrace
    and not I_SettlementOwner Camulosadae = romans_brutii
    and not I_SettlementOwner Camulosadae = saba
    and not I_SettlementOwner Camulosadae = slave
    
    console_command create_building Camulosadae "celt3"
    console_command create_building Camulosadae "militia_barracks_E1"
    console_command set_building_health Camulosadae Barracks_D 0
    
    end_if
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Camulosadae
    and I_CompareCounter Celt_Reform = 2
    and not SettlementBuildingExists = celt3
    and SettlementBuildingExists > militia_barracks_D1
    and not SettlementBuildingExists = army_barracks_D1
    and not SettlementBuildingExists = royal_barracks_D1
    and not SettlementBuildingExists = army_barracks_D2
    and not SettlementBuildingExists = royal_barracks_D2
    
    if not I_SettlementOwner Camulosadae = seleucid
    and not I_SettlementOwner Camulosadae = parthia
    and not I_SettlementOwner Camulosadae = pontus
    and not I_SettlementOwner Camulosadae = numidia
    and not I_SettlementOwner Camulosadae = romans_julii
    and not I_SettlementOwner Camulosadae = egypt
    and not I_SettlementOwner Camulosadae = germans
    and not I_SettlementOwner Camulosadae = greek_cities
    and not I_SettlementOwner Camulosadae = macedon
    and not I_SettlementOwner Camulosadae = carthage
    and not I_SettlementOwner Camulosadae = romans_scipii
    and not I_SettlementOwner Camulosadae = dacia
    and not I_SettlementOwner Camulosadae = armenia
    and not I_SettlementOwner Camulosadae = spain
    and not I_SettlementOwner Camulosadae = thrace
    and not I_SettlementOwner Camulosadae = romans_brutii
    and not I_SettlementOwner Camulosadae = saba
    and not I_SettlementOwner Camulosadae = slave
    
    console_command create_building Camulosadae "celt3"
    console_command create_building Camulosadae "city_barracks_E1"
    console_command set_building_health Camulosadae Barracks_D 0
    
    end_if
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Camulosadae
    and I_CompareCounter Celt_Reform = 2
    and not SettlementBuildingExists = celt3
    and SettlementBuildingExists > city_barracks_D1
    and not SettlementBuildingExists = royal_barracks_D1
    and not SettlementBuildingExists = royal_barracks_D2
    
    if not I_SettlementOwner Camulosadae = seleucid
    and not I_SettlementOwner Camulosadae = parthia
    and not I_SettlementOwner Camulosadae = pontus
    and not I_SettlementOwner Camulosadae = numidia
    and not I_SettlementOwner Camulosadae = romans_julii
    and not I_SettlementOwner Camulosadae = egypt
    and not I_SettlementOwner Camulosadae = germans
    and not I_SettlementOwner Camulosadae = greek_cities
    and not I_SettlementOwner Camulosadae = macedon
    and not I_SettlementOwner Camulosadae = carthage
    and not I_SettlementOwner Camulosadae = romans_scipii
    and not I_SettlementOwner Camulosadae = dacia
    and not I_SettlementOwner Camulosadae = armenia
    and not I_SettlementOwner Camulosadae = spain
    and not I_SettlementOwner Camulosadae = thrace
    and not I_SettlementOwner Camulosadae = romans_brutii
    and not I_SettlementOwner Camulosadae = saba
    and not I_SettlementOwner Camulosadae = slave
    
    console_command create_building Camulosadae "celt3"
    console_command create_building Camulosadae "army_barracks_E1"
    console_command set_building_health Camulosadae Barracks_D 0
    
    end_if
    end_monitor
    
    monitor_event SettlementTurnStart SettlementName Camulosadae
    and I_CompareCounter Celt_Reform = 2
    and not SettlementBuildingExists = celt3
    and SettlementBuildingExists > army_barracks_D1
    
    if not I_SettlementOwner Camulosadae = seleucid
    and not I_SettlementOwner Camulosadae = parthia
    and not I_SettlementOwner Camulosadae = pontus
    and not I_SettlementOwner Camulosadae = numidia
    and not I_SettlementOwner Camulosadae = romans_julii
    and not I_SettlementOwner Camulosadae = egypt
    and not I_SettlementOwner Camulosadae = germans
    and not I_SettlementOwner Camulosadae = greek_cities
    and not I_SettlementOwner Camulosadae = macedon
    and not I_SettlementOwner Camulosadae = carthage
    and not I_SettlementOwner Camulosadae = romans_scipii
    and not I_SettlementOwner Camulosadae = dacia
    and not I_SettlementOwner Camulosadae = armenia
    and not I_SettlementOwner Camulosadae = spain
    and not I_SettlementOwner Camulosadae = thrace
    and not I_SettlementOwner Camulosadae = romans_brutii
    and not I_SettlementOwner Camulosadae = saba
    and not I_SettlementOwner Camulosadae = slave
    
    console_command create_building Camulosadae "celt3"
    console_command create_building Camulosadae "royal_barracks_E1"
    console_command set_building_health Camulosadae Barracks_D 0
    
    end_if
    end_monitor


    Then the reform worked for Camulosadae. So increasing the buildinglevel in
    Code:
    and SettlementBuildingExists > muster_field_D
    when wanting to place a bigger level mic fixed the problem for me.

    EB member


  2. #2
    EB Traitor Member BozosLiveHere's Avatar
    Join Date
    Jan 2006
    Location
    Uqbar, Tlön
    Posts
    3,662

    Default Re: Celtic reforms

    I really don't know what muster_field_A is supposed to be doing there. the A MIC variant is for romans.

  3. #3
    Member Member Oleo's Avatar
    Join Date
    Apr 2006
    Location
    Gelderland, NL
    Posts
    392

    Default Re: Celtic reforms

    Quote Originally Posted by BozosLiveHere
    I really don't know what muster_field_A is supposed to be doing there. the A MIC variant is for romans.

    lol, I didnt notice that, or well I did a while ago, but I forgot, sort of... The fix (D for A) should be rather easy then I guess. .
    Last edited by Oleo; 01-05-2007 at 19:09.
    EB member


  4. #4
    EB2 Baseless Conjecturer Member blacksnail's Avatar
    Join Date
    Jan 2006
    Posts
    3,074

    Default Re: Celtic reforms

    Wow. Great catch, Oleo. Bozos, I'm scratching my head too. It looks like code was copied and pasted but not changed all the way.
    Last edited by blacksnail; 01-05-2007 at 19:47.

  5. #5
    EB Traitor Member BozosLiveHere's Avatar
    Join Date
    Jan 2006
    Location
    Uqbar, Tlön
    Posts
    3,662

    Default Re: Celtic reforms

    Somebody tried to recycle the Roman code and forgot to update that line, that's all. I've already posted a fix for .81.

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