Results 1 to 11 of 11

Thread: Whats the difference?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Indefinitely Banned
    Join Date
    Jun 2008
    Location
    England
    Posts
    1,058

    Default Whats the difference?

    What is the difference between a campaign script and a background script?
    thanks

  2. #2

    Default Re: Whats the difference?

    From what I've heard, a Campaign script runs automatically upon the start of the campaign. This is what the Prologue uses. The drawback is that you cannot save the game while the Campaign script is running.

    A Background script is a Show Me How script, I think.

  3. #3
    Indefinitely Banned
    Join Date
    Jun 2008
    Location
    England
    Posts
    1,058

    Default Re: Whats the difference?

    you can't save? how come i can save using R.S and etc.?

  4. #4

    Default Re: Whats the difference?

    What is RS? Roma Sect? You can save during a background/showme script, but not during a campaign script. I assume that, if R.S. does use a campaign script, they use it to activate a showme script... so that you can still save.

  5. #5
    Indefinitely Banned
    Join Date
    Jun 2008
    Location
    England
    Posts
    1,058

    Default Re: Whats the difference?

    yeah it is the show_me how, my bad, so what is the point of a campiagn script?

  6. #6
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Whats the difference?

    To script stuff automatically at the start of a campaign, or run a prologue type campaign.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  7. #7
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: Whats the difference?

    A campaign script is used for 2 things:

    - To script certain things that should only happen once (i.e. at the beginning of a new campaign). For example, adjusting starting funds, setting traits, killing off certain family members, and spawning additional starting armies.
    - To automatically start the background script (when you create a new campaign)
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  8. #8

    Default Re: Whats the difference?

    Sorry for bumping this, but are there any other differences between them? (besides what was already mentioned)

    Does one offer more possibilities then the other?


  9. #9
    HouseOfHam's Avatar Primicerius
    Join Date
    Apr 2007
    Location
    Minnesota, USA
    Posts
    3,030

    Default Re: Whats the difference?

    There is nothing that a campaign script can do that a background script cannot. Given the limitations of campaign scripts, you'd almost never want to use one for anything other then to kick off a background script.

    Some mods do more exotic things in the campaign script, but that's rather unusual.

    For example, the ExRM mod uses its campaign script to set the UnitSize trait (that's later used by the Spoils of War script, which is a part the background script), based on the ratio of the starting population to the starting garrison size.
    RTR website/SVN admin

    - Settlement coordinate locator -for RTW/M2TW
    - EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
    - RTW scripting tutorials
    - n-turns per year script generator

  10. #10

    Default Re: Whats the difference?

    Quote Originally Posted by HouseOfHam View Post
    There is nothing that a campaign script can do that a background script cannot.
    Hm what about this.


  11. #11

    Default Re: Whats the difference?

    Campaign scripts are also good for AI start balancing, as XGM does. But, yes, there are few reasons to use a large campaign script versus a background script.

    Expand your borders, a mod based on XGM 5.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •