crest
banner
crest
 

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,
separated by spaces, e.g. 'ENG FRA SPA ...'>} <country tag> = { picture = "<path to image, e.g. 'scenarios\data\imagefile.bmp'>"
		scenariotactics ="<descriptive text about the country,
related to this scenario>" countrytactics = "<descriptive text about strategy for the country,
related to this scenario>" missioncountry = "<descriptive text about the country,
related to this mission>" missiontactics = "<descriptive text about strategy for the country,
related to this mission>" countrydifficulty = <number, range 1-6> countryeconomy = <number, range 1-6> countrymilitary = <number, range 1-6> countrydiplomacy = <number, range 1-6> missiontype = <number, can be omitted if no scenarios are defined> } <up to seven more countries like this> } include = "scenarios\1795.inc" include = "db\events.txt"

Gametype

Using the gametype statement defines the victory conditions for this scenario. The valid types are:

gametype = 0 "Standard" conditions: The country with the most victory points (VPs) at the end of the scenario win. If not specified, this is the default option.
gametype = 1 "Supremacy" conditions: The first country to reach a certain number of VPs (default is 500) win.
gametype = 2 "Deathmatch" conditions: The first country to reach a certain number of provinces (default is 50) win.
gametype = 3 "Mission" conditions: The country fulfilling it's mission goals best win the scenario. To use this you must define missions (see below).

The victory conditions can be changed when you start a scenario. These settings will only define the default setting for your scenario.

Selectable countries

The 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 countries

When 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:

picture Defines the path to a image file to show for the specific country. File must be Windows bitmap (*.bmp), 232 pixels wide and 120 pixels high, truecolor. Can be omitted.
scenariotactics Contains the text (or a link to the text in text.csv) shown for each country in the country selection screen. May contain e.g. a brief description of the history of the country for the time period of the scenario. If omitted this defaults to the standard country description.
countrytactics Contains the text (or a link to the text in text.csv) shown for each country if you choose 'Strategy' from the country selection screen. May contain e.g. tips on the strategy for the selected country. If omitted this defaults to the standard country description.
missioncountry Contains the text (or a link to the text in text.csv) shown for each country in the country selection screen if victory conditions are set to Mission. May contain e.g. a brief description of the history of the country for the time period of the scenario, and a description of the mission. If omitted this defaults to " " (i.e. nothing).
missiontactics Contains the text (or a link to the text in text.csv) shown for each country if you choose 'Strategy' from the country selection screen if victory conditions are set to Mission. May contain e.g. tips on strategy to fulfill the mission. If omitted this defaults to " " (i.e. nothing).
countrydifficulty Grades the difficulty of playing the country in the scenario. Ranges from 1 (hardest) to 6 (easiest). If omitted this defaults to 1.
countryeconomy Grades the economic strength of the country in the scenario. Ranges from 1 (hardest) to 6 (easiest). If omitted this defaults to 1.
countrymilitary Grades the military strength of the country in the scenario. Ranges from 1 (hardest) to 6 (easiest). If omitted this defaults to 1.
countrydiplomacy Grades the diplomatic strength of the country in the scenario. Ranges from 1 (hardest) to 6 (easiest). If omitted this defaults to 1.
missiontype Defines which mission the country have to fulfill. (see below)

Include files

At 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

Missions

A 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.

 

HomeScenario Editing

the Scenario file

the Scenario definition

the Country definitions

the Event files

the Monarch files

the Leader files

the AI files

General Editing

Country Creation Guide

File Editing Guide

Exhaustive Bible of Event Scripting

Havard's Editing Index

Appendices

A - Continents, regions and areas

B - Religions and cultures

C - Province goods

Europa Universalis and Europa Universalis II are registred trademarks of Paradox Entertainment.
This page is ©2002 Håvard Moe. last updated 6. Jun 2002.