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)

    I mean something like this, if they're treasury is more than 200000 they get by well enough, if it dips below again they'll start receiving either the infrastructure bonus if they're less than 20 years old or the stepped bonus depending on size.
    I think it could work out well, if you agree with me are you willing to implement in the ebbs_script for all the factions so more people can test it, or of course change it to what you think will be even better. I could try and change them myself but I think that a united effort and not every guy with his own script is the way to go.
    BTW I'm not trying to hijack this but I got caught up and I really think if this is done properly it could really improve the game.
    Code:
    monitor_event SettlementTurnStart FactionType seleucid
    and not FactionIsLocal
    and I_TurnNumber  < 81
    and Treasury < 200000
    
    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
    
    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
    
    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
    
    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
    
    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
    
    console_command add_money seleucid, 400
    
    end_monitor
    P.S I'd give 400 ( a third of the initial sum) for empires with more than 25 provinces.
    Last edited by Redmeth; 04-21-2007 at 09:56.

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