Results 1 to 30 of 260

Thread: Fixing the AI money script (preliminary tests)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #20
    Closet Celtophile Member Redmeth's Avatar
    Join Date
    Mar 2007
    Location
    Bucharest, Romania
    Posts
    3,740

    Default Re: Fixing the AI money script (preliminary tests)

    Okay, I've done it here's a sample:
    Code:
    monitor_event CharacterTurnStart FactionType egypt
    and AgentType = admiral
    and not FactionIsLocal
    console_command add_money egypt, 800
    end_monitor
    
    
    ;Rome
    monitor_event SettlementTurnStart FactionType seleucid
    and not FactionIsLocal
    and I_TurnNumber  < 81
    and Treasury < 100000
    
    console_command add_money seleucid, 1200
    
    end_monitor
    
    monitor_event SettlementTurnStart FactionType seleucid
    and not FactionIsLocal
    and I_NumberOfSettlements seleucid < 4
    and I_TurnNumber  > 80
    and Treasury < 200000
    
    console_command add_money seleucid, 1200
    
    end_monitor
    
    monitor_event SettlementTurnStart FactionType seleucid
    and not FactionIsLocal
    and I_NumberOfSettlements seleucid < 9
    and I_NumberOfSettlements seleucid > 3
    and I_TurnNumber  > 80
    and Treasury < 200000
    
    console_command add_money seleucid, 1000
    
    end_monitor
    
    monitor_event SettlementTurnStart FactionType seleucid
    and not FactionIsLocal
    and I_NumberOfSettlements seleucid < 16
    and I_NumberOfSettlements seleucid > 8
    and I_TurnNumber  > 80
    and Treasury < 200000
    
    console_command add_money seleucid, 800
    
    end_monitor
    
    monitor_event SettlementTurnStart FactionType seleucid
    and not FactionIsLocal
    and I_NumberOfSettlements seleucid < 25
    and I_NumberOfSettlements seleucid > 15
    and I_TurnNumber  > 80
    and Treasury < 200000
    
    console_command add_money seleucid, 600
    
    end_monitor
    
    monitor_event SettlementTurnStart FactionType seleucid
    and not FactionIsLocal
    and I_NumberOfSettlements seleucid > 25
    and I_TurnNumber  > 80
    and Treasury < 200000
    
    console_command add_money seleucid, 400
    
    end_monitor
    I also lowered the money the Carthies get from fleets because they seem to get obnoxiously rich nonetheless.
    Here's the link:
    http://www.axifile.com/?4386189

    I added a 200k limit to the stepped bonus too, because any faction that's doing so well doesn't need more bonuses.
    Please leave your thoughts, comments and even crazy ideas in order to further improve this.
    Last edited by Redmeth; 04-21-2007 at 15:11.

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