crest
banner
crest
 

For each scenario there is a scenario file (*.eug) and (usually) a scenario definition (*.inc) in the scenario folder of EU2.

The scenario definition file is where all the international relations are defined, placement of centers of trade at the beginning of the scenario are done and any changes to provinces from the setup in province.csv. You can also set provinces controlled by rebels.

Global data

The following is a list of the different statements set in the scenario definition.

Startdate/enddate

   startdate = { 
   			year = 1492
   			month = january
   			day = 0
   			} 
   enddate = { 
   			year = 1820
   			month = december 
   			day = 29 
   			} 

The start- and enddate of the scenario.

Discoveries

    discoveries = { 
        america = no
        asia = no 
        quebec = no 
        greatlake = no 
        capehorn = no 
        goodhope = no 
        hudsonbay = no 
        alaska = no 
        panama = no 
        inlandchina = no 
        amazones = no 
        northam = no 
        india = no 
        kamtchatska = no 
        california = no 
        pacific = no 
        australia = no 
    }

Defines if certain areas in the world are discovered (by Europeans).

Establishments

    establishments = { 
        colonyamerica = no
        colonyafrica = no 
        colonysiberia = no 
        colonyoceania = no 
        tpindia = no 
        tpchina = no 
        tpjapan = no 
    } 

Defines if certain areas in the world have European precence.

Wars

    war = { 
		id = { type = 6712 id = 1 } 
		date = { year = 1794 month = january day = 0 } 
		enddate = { year = 1794 month = december day = 30 } 
		attackers = { 
		id = { type = 14712 id = 1 } 
			type = war 
            name = "The Napoleonic war"
			expirydate = { year = 0 month = january day = 0 } 
			participant = { FRA HOL } 
		} 
		defenders = { 
			id = { type = 14712 id = 2 } 
			type = war 
			name = "The Napoleonic war"
			expirydate = { year = 0 month = january day = 0 } 
			participant = { ENG } 
		} 
	}

This defines an ongoing war when the scenario starts. The date/enddate look funny - they are set the year before the scenario begins (I really don't know why). Anyway - this war will rage when the 1794 scenario begins.

The attacing and defending alliances are listed, and the first country listed as participants for each side is the alliance leaders for that war.

You can specify a name for the war. I don't think this is shown ingame, however.

I have not seen the expirydate used for any scenario. This can be omitted from the file.

Alliances

There are three types of alliances: Royal marriages, military alliances, and vassalizations. All alliances are given a type id. This can be freely selected. All alliances in one scenario must have unique ids.

Royal marriages

	alliance = { 
		id = { type = 9424 id = 12 } 
		type = dynasticalliance
		name = "Catherine of Aragon's Marriage"
		expirydate = { year = 1531 month = july day = 14 } 
		participant = { ENG SPA } 
		} 

This is a royal marriage between England and Spain. Royal marriages are defined with type = dynasticalliance. Royal marriages can be given names; these are not shown ingame. The enddate of the marriage is given with the expirydate statement.

Military alliances

	alliance = { 
		id = { type = 9424 id = 4 }
		type = militaryalliance 
		name = "" 
		expirydate = { year = 1512 month = june day = 0 } 
		participant = { RUS CRI RYA PSK } 
		} 

This is a military alliance between Russia, Crimea, Ryazan and Pskov. Russia, as the first country listed, is the alliance leader. As for royal marriage the enddate is given with the expirydate statement.

Vassalizations

	alliance = { 
		id = { type = 9424 id = 6 }
		type = vassalization
		name = ""
		expirydate = { year = 1521 month = december day = 29 }
		participant = { DAN SHL } 
		} 

This defines Holstein as a vassal of Denmark. As for military alliances the dominant part is listed first.

The Holy Roman Emperor

The Holy Roman Emperor at the start of the scenario is defined in the Scenario definition, like this:

	emperor = HUN

This will define the king of Hungary as the Holy Roman Emperor.

Flags

A number of flags are defined to determin is certain things have happened. There are a total of seven flags. These should be set in later scenarios:

	flags = { 0 1 2 3 4 6 }

In the example above, all seven flags are set. The flags are:

0 Tortesillas Set if the Treaty of Tortesillas has happened
1 Reformation Set if the Reformation has happened. No provinces will be protestant unless this is set.
2 Calvin Set if Jean Calvin has happened. No provinces will be reformed unless this is set.
3 Council of Trent Set if the Council of Trent has happened
4 Edict of Tolerance Set if the Edict of Tolerance has happened
5 French Tricolor If set, the French flag is changed to the Tricolor
6 English Union Jack If set, the English flag is changed to the Union Jack

Sole Defender of the Faith

If one or more countries are Sole Defenders of their Faith, this can be defined too:

	catholic = SPA 
	orthodox = RUS 
	sunni = SON 
	shiite = MAM 

Here we see that Spain are defending the Catholic faith, Russia the orthodox etc.

Note that this is the end of the globaldata. You need a "}" here to end the globaldata definition.


Event history

For the Grand Campaign the event history is omitted since all events are made to work with the GC. From time to time you create scenarios with a shorter timespan, and want the same events to work. Many events are based on the fact that certain events have happened earlier. These events use the trigger = { event = X } to check if event X have occurred.To make these events able to happend a list of events that have happened before the scenario starts are included in the senario file:

history = { 
	3004	#End of Hundred Years War (England)
	3104	#End of Hundred Years War (France)
	3005	#The Justices of Peace
	3006	#Support Middle-class Bureaucrats
	3007	#Court of the Star Chamber
	3750 	#Fate of the Patriarchate

	5251	3588	3554	3593	3590	3601	3602	3603
	3597	3556	3557	3703	3283	3284	3287	3001
	3002	3003	3751	3752	3004	3005	3006	3007
	3594	3101	3102	3103	3317	3318	3592	3535
	3445	3446	3604	3605	3401	3660	3589	3583
	3591	3467	3265	3266	3267	3606	3607	3069
	3070	3071	3716	3717	3689	3688	3352	3353
	3354	3355	3356	3357	3358	3368	3750	3775
	3178
}

This is the event history for the 1492 scenario, and list all events that have happened from 1419 to 1492.

Note that if you create independant scenarios where you create all events yourself the event history can be omitted. For more about events see the Event Manual.

You can also define a list of slept events - events that has happened, but should not be usable for triggers for later events. These are a result of the sleepevent event command:

sleepevent = { 6931 }

Centers of Trade

The placement of the centers of trade at the start of the scenario are defined next:

#Venice
cot = {	
	location = 370	
	merchant = { TAG = VEN level = 5 } 
	merchant = { TAG = MEC level = 1 }
	}

This defines the CoT in province 370, Veneto. The province number is given with the location statement. The number of merchants various countries have in the CoT at the start of the scenario is defined with the merchant statement, where TAG defines the country and level the number of merchants (max. 6).

Note that you can not define which provinces belong to a certain CoT. This is calculated based on (among other things) the owners trade level and domestic policies.


Province changes

You can define a number of changes to the provinces in the scenario:

   
culture Changes the province culture. Note that culture names must be placed between ""s. For a list of valid culture names see Appendix B.
income Changes the province income
looted If the province is recently looted this should be set to 'looted = yes'. This will not give any income from the province for a short time. The date of the looting is always specified with the 'date = '-statement (next).
date Used to define the date an enemy army looted the province.
manpower Defines the province manpower.
mine Defines the added production income from mines in a metal- or gold-producing province.
nationalism Defines the date a province was annexed by another country. This gives a revoltrisk for the province that gradually reduces over 30 years.
natives Define natives combat strength in hundreds (i.e. natives = 2 give 200 natives).
ferocity Define natives ferocity (combat efficiency) to this number (range 0-9).
tolerance Define natives aggressiveness to this number (range 0-9). Higher numner is more aggressive.
negotiation Set the negotiation value for TPs. The smaller, the better is the chance of setting up a TP.
province_revoltrisk Defines a revoltrisk for the province. A province_revoltrisk is only defined through events, and can only be reduced or removed by an event or by the province becoming part of another country, either by annexation or defection.
religion Changes the province religion. For a list of valid culture names see Appendix B.
tax Changes the tax-income from a province.
whiteman Defines if europeans have gone through a province. If so whiteman = yes.
goods Changes the produced goods of the province (see below).
terrain Changes the terrain type of the province (see below).

Some examples:

province = { 
	id = 438
	religion = catholic
	culture = "iberian"
	}

This defines the province Murcia as a Catholic, Iberian cultured province. Other changes you can make is to define a different income:

province = { 
	id = 307
	income = 26
	}

This give province 307 (Sjælland) an income of 26. This value replaces the value given in province.csv. You can also define nationalism:

province = { 
	id = 231
	nationalism = { year = 1520 month = january day = 1 }
	}

This defines the nationalism in province 321 (Connaught) to run until 1520 before it start to decrease with 1 for each 10 year. It is used to, as here, define longer periods of nationalism from the start of the scenario, or to indicate that the provinces have been captured just before the scenario begins.

You can also define a change in the agressiveness of the natives in a province:

province = { 
	id = 34
	religion = reformed	
	culture = "anglosaxon"
	natives = 0 
	}

This gives province 34 (Campeche) reformed religion, anglosaxon culture and any natives will have agressiveness 0, none. This is a province defined as an English colony at the beginning of the scenario. The agressiveness range from 0 (none) to 9 (furious).

Change province goods or terrain type

From version 1.05 on you can add changes to province goods and terrain types.

Produced goods can be defined with a number in the range 0-20, according to the table:

           
0 Nothing 7 Ivory 14 Spices
1 Cloth 8 Metal (Iron) 15 Sugar
2 Gold 9 Mineral (Copper) 16 Tobacco
3 Cotton 10 Chinaware 17 Wine
4 Fish 11 Naval supplies 18 Wool
5 Furs 12 Salt 19 Tea
6 Grain 13 Slaves 20 Coffee

Terrain type can be defined with a number in the range 0-9, according to the table:

       
0 Plains 5 Ocean
1 Forests 6 River
2 Mountains 7 Border
3 Desert 8 Terra incognita
4 Marshes 9 Unknown

An example:

province = { 
	id = 34
	goods = 17
	terrain = 2
	natives = 0 
	}

The Country definitions

After the Global data listed above is defined, you add the country definitions. These could, theoretically, have been included in the same file as the above, but it is preferred that one use one file for each country.

include = "scenarios\1492\1492_ade.inc"
include = "scenarios\1492\1492_akk.inc"
include = "scenarios\1492\1492_ald.inc"
include = "scenarios\1492\1492_apa.inc"
include = "scenarios\1492\1492_ara.inc"
include = "scenarios\1492\1492_ark.inc"
include = "scenarios\1492\1492_ash.inc"
(etc.)

Each country have its own file placed in a subdirectory. These are linked to the scenario with the include statement. If you create your own scenario you would create your own subdirectory. The filenames can be anything, but the convention is to at least include the country tag. For more about the country definitions see here.

The rebel scum

If you want to include rebel armies or rebel controlled provinces from the start of the scenario you should also include a country definition for the rebels. This is usually placed in the scenario definition file, but can just as well be put in a country definition file (e.g. 1492_reb.inc).

 

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 5. Aug 2002.