Results 1 to 26 of 26

Thread: Unable to build Germanic Heavy Cavalry...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #19

    Default Re: Unable to build Germanic Heavy Cavalry...

    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;Section 2h: Sweboz Reform
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    declare_counter Sweboz_Reform
    declare_counter Sweboz_Reforminc1
    declare_counter Sweboz_Reforminc2
    
    ; Check if Carthage Reforms already reached, if true set counter 1
    monitor_event SettlementTurnEnd SettlementName Swebotraustastamnoz
    and SettlementBuildingExists = sweboz2
    and I_CompareCounter Sweboz_Reform = 0
    
    set_counter Sweboz_Reform 1
    
    end_monitor
    
    ; Check for forum, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Swebotráustástámnoz
    and SettlementBuildingExists >= forum
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc1 1
    
    end_monitor
    
    ; Check for forum, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Gáwjám~Hábukoz
    and SettlementBuildingExists >= forum
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc1 1
    
    end_monitor
    
    ; Check for forum, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Arctaunon
    and SettlementBuildingExists >= forum
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc1 1
    
    end_monitor
    
    ; Check for forum, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Gáwjám~Heruskoz
    and SettlementBuildingExists >= forum
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc1 1
    
    end_monitor
    
    ; Check for forum, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Gáwjám~Kimbroz
    and SettlementBuildingExists >= forum
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc1 1
    
    end_monitor
    
    ; Check for forum, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Gáwjám~Rugoz
    and SettlementBuildingExists >= forum
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc1 1
    
    end_monitor
    
    ; Check for rMIC4, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Lucarottea
    and SettlementBuildingExists >= army_barracks_U1
    and I_SettlementOwner Lucarottea = germans
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc2 1
    
    end_monitor
    
    ; Check for rMIC4, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
    and SettlementBuildingExists >= army_barracks_U1
    and I_SettlementOwner Sarmiszegethusa = germans
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc2 1
    
    end_monitor
    
    ; Check for rMIC4, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Buridava
    and SettlementBuildingExists >= army_barracks_U1
    and I_SettlementOwner Buridava = germans
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc2 1
    
    end_monitor
    
    ; Check for rMIC4, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Eburonum
    and SettlementBuildingExists >= army_barracks_U1
    and I_SettlementOwner Eburonum = germans
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc2 1
    
    end_monitor
    
    ; Check for rMIC4, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Vindobona
    and SettlementBuildingExists = army_barracks_U1
    and I_SettlementOwner Vindobona = germans
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc2 1
    
    end_monitor
    
    ; Check for rMIC4, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Aventicos
    and SettlementBuildingExists = army_barracks_U1
    and I_SettlementOwner Aventicos = germans
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc2 1
    
    end_monitor
    
    ; Check for rMIC4, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Vindelicoppidos
    and SettlementBuildingExists = army_barracks_U1
    and I_SettlementOwner Vindelicoppidos = germans
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc2 1
    
    end_monitor
    
    ; Check for rMIC4, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Viennos
    and SettlementBuildingExists = army_barracks_U1
    and I_SettlementOwner Viennos = germans
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc2 1
    
    end_monitor
    
    ; Check for rMIC4, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Iuvavoaeta
    and SettlementBuildingExists = army_barracks_U1
    and I_SettlementOwner Iuvavoaeta = germans
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc2 1
    
    end_monitor
    
    ; Check for rMIC4, if true inc counter 1.
    monitor_event SettlementTurnStart SettlementName Veldideno
    and SettlementBuildingExists = army_barracks_U1
    and I_SettlementOwner Veldideno = germans
    and I_CompareCounter Sweboz_Reform = 0
    and I_TurnNumber >= 328
    
    inc_counter Sweboz_Reforminc2 1
    
    end_monitor
    
    ; Check counters are >= 6 and >= 1 or 140BC, if true set counter 1, if false set counters 0
    monitor_event FactionTurnStart FactionType germans
    and I_TurnNumber >= 328
    and I_CompareCounter Sweboz_Reform = 0
    
    if I_TurnNumber >= 528
    
    console_command create_building Swebotraustastamnoz sweboz2
    console_command create_building Gawjam_Habukoz sweboz2
    console_command create_building Gawjam_Heruskoz sweboz2
    console_command create_building Arctaunon sweboz2
    console_command create_building Vindelicoppidos sweboz2
    console_command create_building Eburonum sweboz2
    console_command create_building Gawjam_Kimbroz sweboz2
    console_command create_building Gawjam_Gotanoz sweboz2
    console_command create_building Gawjam_Rugoz sweboz2
    console_command create_building Gawjam_Silengoz sweboz2
    console_command create_building Carrodunum sweboz2
    console_command create_building Gawjam_Bastarnoz sweboz2
    console_command create_building Gawjam_Skandzawarjoz sweboz2
    console_command create_building Ascaucalis sweboz2
    set_counter Sweboz_Reform 1
    
    end_if
    
    if I_CompareCounter Sweboz_Reforminc1 >= 6
    and I_CompareCounter Sweboz_Reforminc2 >= 1
    
    console_command create_building Swebotraustastamnoz sweboz2
    console_command create_building Gawjam_Habukoz sweboz2
    console_command create_building Gawjam_Heruskoz sweboz2
    console_command create_building Arctaunon sweboz2
    console_command create_building Vindelicoppidos sweboz2
    console_command create_building Eburonum sweboz2
    console_command create_building Gawjam_Kimbroz sweboz2
    console_command create_building Gawjam_Gotanoz sweboz2
    console_command create_building Gawjam_Rugoz sweboz2
    console_command create_building Gawjam_Silengoz sweboz2
    console_command create_building Carrodunum sweboz2
    console_command create_building Gawjam_Bastarnoz sweboz2
    console_command create_building Gawjam_Skandzawarjoz sweboz2
    console_command create_building Ascaucalis sweboz2
    set_counter Sweboz_Reform 1
    
    end_if
    
    if I_CompareCounter Sweboz_Reform < 1
        set_counter Sweboz_Reforminc1 0
        set_counter Sweboz_Reforminc2 0
    end_if
    end_monitor
    scroll from the bottom on this here, for the part I marked in RED and BOLD, it's quicker... then, in the file, if you do a search for Sweboz you can find this whole patch of lines easiest (probably already thought of that, oh well)
    Last edited by blitzkrieg80; 10-31-2007 at 03:44.
    HWÆT !
    “Vesall ertu þinnar skjaldborgar!” “Your shieldwall is pathetic!” -Bǫðvar Bjarki [Hrólfs Saga Kraka]
    “Wyrd oft nereð unfǽgne eorl þonne his ellen déah.” “The course of events often saves the un-fey warrior if his valour is good.” -Bēowulf
    “Gørið eigi hárit í blóði.” “Do not get blood on [my] hair.” -Sigurð Búason to his executioner [Óláfs Saga Tryggvasonar: Heimskringla]

    Wes þū hāl ! Be whole (with luck)!

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