![]() |
|
![]() |
|||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||
|
Each scenario is defined in a scenario file. This can be found as a *.eug-file in .\Scenarios\ The scenario file consist of these parts:
header = {
name = "The Name of My Scenario"
tutorial = no
gametype = <number, range 0-3>
selectable = {<country tags for all countries selectable in the scenario,
scenariotactics ="<descriptive text about the country, GametypeUsing the gametype statement defines the victory conditions for this scenario. The valid types are:
The victory conditions can be changed when you start a scenario. These settings will only define the default setting for your scenario. Selectable countriesThe selectable statement lists the country tags of all the countries that are selectable in the scenario. These are the nations you get a list of when you right-click a shield in the scenario startup to be able to select a different country. If you add or remove countries from a scenario you must update this list! Only countries excisting from the start of the scenario should be included. Pre-selected countriesWhen you select a scenario in EU2, up to eight countries are pre-selected. These countries are defined below the selectable statement. You can change the pre-selected countries by replacing one of the countries listed. For each of the preselected countries you define the following:
Include filesAt this point in the scenario file you can either insert the rest of the information for the scenario and keep everything in one file (as for the Fantasia scenario and saved scenarios from the scenario editor), or you can choose to divide the information into more files. If so you include links to the scenario definition (*.inc) and to the event-list (events.txt) for this scenario. Example: include = "scenarios\1795.inc" # Scenario definition file include = "db\events.txt" # Event file list You can also add a file with your own events only for this scenario: include = "scenarios\1795.inc" # Scenario definition file include = "db\events.txt" # Standard event file list event = "db\events\my_events.txt" # Scenario event file MissionsA mission is a definition of goals for a scenario. They are defined by province numbers, and your goal is to conquer the provinces (when you don't own them) and keep them (when you do own them). In mission scenarios you should consider only having the preselected countries as selectable, because there is no way of assigning missions to countries not preselected. For each country you select for the scenario you create a mission definition with a unique type, like this: mission = {
tag = <country tag>
missiontype = <number>
missionarea = { <province numbers, separated by spaces> }
missionareaname = "<Descriptive text about this mission>"
missionname = "<A name for the mission>"
}
The missionareaname is shown in the standings summary you get when you press F1. As an example, this is a very simple (and quite boring too) set of missions: mission = {
tag = FRA
missiontype = 1
missionarea = { 426 }
missionareaname = "Roussillon"
missionname = "Get/hold Roussillon"
}
mission = {
tag = SPA
missiontype = 2
missionarea = { 426 }
missionareaname = "Roussillon"
missionname = "Get/hold Roussillon"
}
If these missions are selected for France/Spain the country that holds Rousillon most of the scenario win.
|
|||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||
|
Europa Universalis and Europa Universalis II are registred
trademarks of Paradox Entertainment. |
|||||||||||||||||||||||||||||||