Results 1 to 14 of 14

Thread: Help with scripting for my Alexandros mod

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4

    Default Re: Help with scripting for my Alexandros mod

    If you want lasting effects then a background script would be best. You'd add this above your 12 turn script.

    Code:
    ; Susa event
    monitor_event GeneralCaptureSettlement CharacterIsLocal
    and FactionType macedon
    and SettlementName Susa
    
    console_command add_money 5000
    
    terminate_monitor
    end_monitor
    
    
    ; Turnly tribute
    monitor_event FactionTurnStart FactionIsLocal
    and FactionType macedon
    and I_SettlementOwner Thebes = macedon
    and I_SettlementOwner Athens = macedon
    and DiplomaticStanceFromFaction greek_cities = allied
    
    console_command add_money 10
    
    terminate_monitor
    end_monitor
    If you want to give the player the choice with the Capture_Greece event then you'll probably want to use an event script - though it can be integrated in the background script with some trouble.


    Yes, you can give the other settlements to Macedon using the capture_settlement console command, however it would ejected their garrisons so you'd end up with a lot of Greek armies (or rebel if the faction has been destroyed) around the place.
    Last edited by Epistolary Richard; 09-20-2006 at 08:51.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

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