What is the difference between a campaign script and a background script?
thanks![]()
What is the difference between a campaign script and a background script?
thanks![]()
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.
you can't save? how come i can save using R.S and etc.?
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.
yeah it is the show_me how, my bad, so what is the point of a campiagn script?
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
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
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
Hm what about this.