Results 1 to 21 of 21

Thread: Campaign script - adding a building

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6

    Default Re: Campaign script - adding a building

    Okay, campaign scripts can be a little fiddly:

    Your script file should look something like:

    Code:
    console_command create_building Londinium muster_field
    console_command puppify_my_love
    end_script
    Note it does not need the 'script' command at the beginning as it would with a show_me script.

    Also, and I don't know why this is, leave a few blank lines at the bottom of your DS file and at the top of script.txt.

    As for creating stuff in a village - you can put anything anywhere using a script - you can put a Royal Barracks in a village if you want. The only thing you have to be careful of is buildings that affect the look of the campaign map (governor houses, roads, ports, walls), some of these cause problems.
    Last edited by Epistolary Richard; 04-14-2006 at 10:58.
    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