• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Norrefeldt

Porphyrogenitus
Aug 1, 2001
7.433
2
Visit site
ID ranges for events, monarchs and leaders & tags for countries and cultures

Grand repository for all our ID:s. All new events should use the range allocated for its particular tag. This thread is also ment to hold information on nation and culture tags.

DO NOT POST IN THIS THREAD!
This is for reference use only.

For discussions and questions on ID's use the discussion thread:
Event, Monarch and Leader Tag ranges The leader/monarch ID range is up to 199999, tested by Hallsten and by me. They use the same range.

For general suggestions and questions on cultures use the discussion thread:
Culture requests
Try to use a regional thread for discussing a culture change in the first place, or create a new one for your topic.

BinTravkin has kindly made a viewer for where all free monarch/leader ID's can be seen: http://janis.videinfra.lv/eu2/ranges
 
Last edited by a moderator:
Graphics repository

Shields

ADE - Paradox: as vanilla | EGUFSM: in EGUFSM install
AFG - Paradox: as vanilla | EGUFSM: in EGUFSM install
AKK - Paradox: as vanilla | EGUFSM: in EGUFSM install
ALB - Paradox: as vanilla | EGUFSM: in EGUFSM install
ALD - Paradox: as vanilla | EGUFSM: in EGUFSM install
AMI - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
ANN - Paradox: as vanilla | EGUFSM: in EGUFSM install
AQU - Paradox: as vanilla | EGUFSM: in EGUFSM install
ARA - Paradox: as vanilla | EGUFSM: in EGUFSM install
ARG - Paradox: as vanilla | EGUFSM: in EGUFSM install
ARK - Paradox: as vanilla | EGUFSM: in EGUFSM install
ARM - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
ASH - Paradox: as vanilla | EGUFSM: in EGUFSM install
ASS - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
AST - Paradox: as vanilla | EGUFSM: in EGUFSM install
ATH - Paradox: as vanilla | EGUFSM: in EGUFSM install
ATJ - Paradox: as vanilla | EGUFSM: in EGUFSM install
AUV - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
AYU - Paradox: as vanilla | EGUFSM: in EGUFSM install
AZT - Paradox: as vanilla | EGUFSM: in EGUFSM install
BAD - Paradox: as vanilla | EGUFSM: in EGUFSM install
BAE - Paradox: not currently included | EGUFSM: in AGCEEP-EGUFSM install
BAL - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
BAN - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Different in EGUFSM version
BAY - Paradox: as vanilla | EGUFSM: in EGUFSM install
BEI - Paradox: as vanilla | EGUFSM: in EGUFSM install
BEN - Paradox: as vanilla | EGUFSM: in EGUFSM install
BGL - Paradox: as vanilla | EGUFSM: in EGUFSM install
BOH - Paradox: as vanilla | EGUFSM: in EGUFSM install Note: EUGFSM includes BOHHUSSITE
BOS - Paradox: as vanilla | EGUFSM: in EGUFSM install
BOU - Paradox: in AGCEEP install | EGUFSM: in EGUFSM install Note: New EGUFSM version available from BJ
BRA - Paradox: as vanilla | EGUFSM: in EGUFSM install
BRE - Paradox: as vanilla | EGUFSM: in EGUFSM install
BRI - Paradox: as vanilla | EGUFSM: in EGUFSM install
BRZ - Paradox: as vanilla | EGUFSM: in EGUFSM install
BUL - Paradox: as vanilla | EGUFSM: in EGUFSM install
BUR - Paradox: as vanilla | EGUFSM: in EGUFSM install
BYZ - Paradox: as vanilla | EGUFSM: in EGUFSM install
CAL - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
CAM - Paradox: as vanilla | EGUFSM: in EGUFSM install
CAN - Paradox: as vanilla | EGUFSM: in EGUFSM install
CAS - Paradox: as vanilla | EGUFSM: in EGUFSM install
CAT - Paradox: as vanilla | EGUFSM: in EGUFSM install
CHA - Paradox: as vanilla | EGUFSM: in EGUFSM install
CHG - Paradox: as vanilla | EGUFSM: in EGUFSM install
CHI - Paradox: as vanilla | EGUFSM: in AGCEEP-EGUFSM install Note: Different in EGUFSM; both include CHIMANCHU
CHM - Paradox: as vanilla | EGUFSM: in EGUFSM install
COL - Paradox: as vanilla | EGUFSM: in EGUFSM install
CON - Paradox: as vanilla | EGUFSM: in EGUFSM install
COR - Paradox: as vanilla | EGUFSM: in EGUFSM install
CRI - Paradox: as vanilla | EGUFSM: in EGUFSM install
CRO - Paradox: as vanilla | EGUFSM: in EGUFSM install
CYP - Paradox: as vanilla | EGUFSM: in EGUFSM install
CYR - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
DAH - Paradox: as vanilla | EGUFSM: in EGUFSM install
DAI - Paradox: as vanilla | EGUFSM: in EGUFSM install
DAK - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
DAN - Paradox: as vanilla | EGUFSM: in EGUFSM install
DAU - Paradox: as vanilla | EGUFSM: in EGUFSM install
DEL - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
DLH - Paradox: as vanilla | EGUFSM: in EGUFSM install
DUL - Paradox: as vanilla | EGUFSM: in EGUFSM install
EIR - Paradox: as vanilla | EGUFSM: in EGUFSM install
ENG - Paradox: as vanilla | EGUFSM: in EGUFSM install
ETH - Paradox: as vanilla | EGUFSM: in EGUFSM install
FEZ - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
FIN - Paradox: as vanilla | EGUFSM: in EGUFSM install
FLA - Paradox: as vanilla | EGUFSM: in EGUFSM install
FPR - Paradox: as vanilla | EGUFSM: in EGUFSM install
FRA - Paradox: as vanilla | EGUFSM: in EGUFSM install
FRI - Paradox: as vanilla | EGUFSM: in EGUFSM install
FUC - Paradox: as vanilla | EGUFSM: in EGUFSM install
GEL - Paradox: as vanilla | EGUFSM: in EGUFSM install
GEN - Paradox: as vanilla | EGUFSM: in EGUFSM install
GEO - Paradox: as vanilla | EGUFSM: in EGUFSM install
GOT - Paradox: as vanilla | EGUFSM: in EGUFSM install
GRA - Paradox: as vanilla | EGUFSM: in EGUFSM install
GRE - Paradox: as vanilla | EGUFSM: in EGUFSM install
GUJ - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
HAB - Paradox: as vanilla | EGUFSM: in EGUFSM install
HAI - Paradox: as vanilla | EGUFSM: in EGUFSM install
HAN - Paradox: as vanilla | EGUFSM: in EGUFSM install
HAU - Paradox: as vanilla | EGUFSM: in EGUFSM install
HEL - Paradox: as vanilla | EGUFSM: in EGUFSM install
HES - Paradox: as vanilla | EGUFSM: in EGUFSM install
HOL - Paradox: as vanilla | EGUFSM: in EGUFSM install
HSA - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
HUN - Paradox: as vanilla | EGUFSM: in EGUFSM install
HYD - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Different
ICE - Paradox: as vanilla | EGUFSM: in EGUFSM install
INC - Paradox: as vanilla | EGUFSM: in EGUFSM install
IRA - Paradox: as vanilla | EGUFSM: in EGUFSM install
ITA - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Different
JAI - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
JER - Paradox: as vanilla | EGUFSM: in EGUFSM install
KAL - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
KAR - Paradox: as vanilla | EGUFSM: in EGUFSM install
KAZ - Paradox: as vanilla | EGUFSM: in EGUFSM install
KHM - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
KLE - Paradox: as vanilla | EGUFSM: in EGUFSM install
KNI - Paradox: as vanilla | EGUFSM: in EGUFSM install
KOL - Paradox: as vanilla | EGUFSM: in EGUFSM install
KON - Paradox: as vanilla | EGUFSM: in EGUFSM install
KOR - Paradox: as vanilla | EGUFSM: in EGUFSM install
KSH - Paradox: as vanilla | EGUFSM: in EGUFSM install
KUR - Paradox: as vanilla | EGUFSM: in EGUFSM install
KZK - Paradox: as vanilla | EGUFSM: in EGUFSM install
LAP - Paradox: as vanilla | EGUFSM: in EGUFSM install
LAT - Paradox: as vanilla | EGUFSM: in EGUFSM install
LEI - Paradox: as vanilla | EGUFSM: in EGUFSM install
LIT - Paradox: as vanilla | EGUFSM: in EGUFSM install
LIV - Paradox: as vanilla | EGUFSM: in EGUFSM install
LOR - Paradox: as vanilla | EGUFSM: in EGUFSM install
LUA - Paradox: as vanilla | EGUFSM: in EGUFSM install
LUX - Paradox: as vanilla | EGUFSM: in EGUFSM install
MAA - Paradox: as vanilla | EGUFSM: in EGUFSM install
MAG - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
MAH - Paradox: as vanilla | EGUFSM: in EGUFSM install
MAI - Paradox: as vanilla | EGUFSM: in EGUFSM install
MAL - Paradox: as vanilla | EGUFSM: in EGUFSM install
MAM - Paradox: as vanilla | EGUFSM: in EGUFSM install
MAN - Paradox: as vanilla | EGUFSM: in EGUFSM install
MCH - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
MEC - Paradox: as vanilla | EGUFSM: in EGUFSM install
MEX - Paradox: as vanilla | EGUFSM: in EGUFSM install
MIN - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Different
MKS - Paradox: as vanilla | EGUFSM: in EGUFSM install
MLC - Paradox: as vanilla | EGUFSM: in EGUFSM install
MLL - Paradox: as vanilla | EGUFSM: in EGUFSM install
MLO - Paradox: as vanilla | EGUFSM: in EGUFSM install
MLW - Paradox: as vanilla | EGUFSM: in EGUFSM install
MOG - Paradox: as vanilla | EGUFSM: in EGUFSM install
MOL - Paradox: as vanilla | EGUFSM: in EGUFSM install
MOR - Paradox: as vanilla | EGUFSM: in EGUFSM install
MOS - Paradox: as vanilla | EGUFSM: in EGUFSM install
MST - Paradox: as vanilla | EGUFSM: in EGUFSM install
MUN - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
MTR - Paradox: as vanilla | EGUFSM: in EGUFSM install
MYA - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
MYS - Paradox: as vanilla | EGUFSM: in EGUFSM install
NAP - Paradox: as vanilla | EGUFSM: in EGUFSM install
NAV - Paradox: as vanilla | EGUFSM: in EGUFSM install
NIP - Paradox: as vanilla | EGUFSM: in AGCEEP-EGUFSM install Note: EGUFSM version under revision
NOR - Paradox: as vanilla | EGUFSM: in EGUFSM install
NRM - Paradox: as vanilla | EGUFSM: in EGUFSM install
NVG - Paradox: as vanilla | EGUFSM: in EGUFSM install
OLD - Paradox: as vanilla | EGUFSM: in EGUFSM install
OMA - Paradox: as vanilla | EGUFSM: in EGUFSM install
ORI - Paradox: as vanilla | EGUFSM: in EGUFSM install
ORL - Paradox: in AGCEEP install | EGUFSM: in EGUFSM install Note: Different; Bundled version identical to vanilla; New EGUFSM version available from BJ
PAM - Paradox: in AGCEEP install | EGUFSM: in EGUFSM install
PAP - Paradox: as vanilla | EGUFSM: in EGUFSM install
PAR - Paradox: as vanilla | EGUFSM: in EGUFSM install
PEG - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
PER - Paradox: as vanilla | EGUFSM: in EGUFSM install
PFA - Paradox: as vanilla | EGUFSM: in EGUFSM install
PIS - Paradox: as vanilla | EGUFSM: in EGUFSM install
POL - Paradox: as vanilla | EGUFSM: in EGUFSM install
POM - Paradox: in AGCEEP install | EGUFSM: in EGUFSM install Note: Different
POR - Paradox: as vanilla | EGUFSM: in EGUFSM install
PRM - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
PRO - Paradox: as vanilla | EGUFSM: in EGUFSM install
PRU - Paradox: as vanilla | EGUFSM: in EGUFSM install
PSK - Paradox: as vanilla | EGUFSM: in EGUFSM install
PUR - Paradox: as vanilla | EGUFSM: in EGUFSM install
QAR - Paradox: as vanilla | EGUFSM: in EGUFSM install
QUE - Paradox: as vanilla | EGUFSM: in EGUFSM install
RAG - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
ROM - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
ROY - Paradox: as vanilla | EGUFSM: in EGUFSM install
RUS - Paradox: as vanilla | EGUFSM: in EGUFSM install
RYA - Paradox: as vanilla | EGUFSM: in EGUFSM install
SAC - Paradox: as vanilla | EGUFSM: in EGUFSM install
SAR - Paradox: as vanilla | EGUFSM: in EGUFSM install
SAV - Paradox: as vanilla | EGUFSM: in EGUFSM install
SCO - Paradox: as vanilla | EGUFSM: in EGUFSM install
SEL - Paradox: not included | EGUFSM: in AGCEEP-EGUFSM install
SER - Paradox: as vanilla | EGUFSM: in EGUFSM install
SEV - Paradox: not included | EGUFSM: in AGCEEP-EGUFSM install
SHA - Paradox: as vanilla | EGUFSM: in EGUFSM install
SHL - Paradox: as vanilla | EGUFSM: in EGUFSM install
SIB - Paradox: as vanilla | EGUFSM: in EGUFSM install
SIC - Paradox: as vanilla | EGUFSM: in EGUFSM install
SIE - Paradox: as vanilla | EGUFSM: in EGUFSM install
SIL - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
SON - Paradox: as vanilla | EGUFSM: in EGUFSM install
SPA - Paradox: as vanilla | EGUFSM: in EGUFSM install
SPR - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Different
STE - Paradox: as vanilla | EGUFSM: in EGUFSM install
STT - Paradox: in AGCEEP install | EGUFSM: in EGUFSM install Note: Different
STR - Paradox: as vanilla | EGUFSM: in EGUFSM install
SUD - Paradox: as vanilla | EGUFSM: in EGUFSM install
SWA - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
SWE - Paradox: as vanilla | EGUFSM: in EGUFSM install
TAU - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
TEK - Paradox: as vanilla | EGUFSM: in EGUFSM install
TIB - Paradox: as vanilla | EGUFSM: in EGUFSM install
TIM - Paradox: as vanilla | EGUFSM: in EGUFSM install
TOS - Paradox: as vanilla | EGUFSM: in EGUFSM install
TOX - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
TRE - Paradox: as vanilla | EGUFSM: in EGUFSM install
TRI - Paradox: as vanilla | EGUFSM: in EGUFSM install
TUN - Paradox: as vanilla | EGUFSM: in EGUFSM install
TUR - Paradox: as vanilla | EGUFSM: in EGUFSM install
TVE - Paradox: as vanilla | EGUFSM: in EGUFSM install
TYR - Paradox: in AGCEEP install | EGUFSM: in EGUFSM install Note: Bundled version unneeded
UKR - Paradox: as vanilla | EGUFSM: in EGUFSM install
ULS - Paradox: as vanilla | EGUFSM: in EGUFSM install
USA - Paradox: as vanilla | EGUFSM: in EGUFSM install
UZB - Paradox: in AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U00 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U01 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U02 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U04 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U05 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U06 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U07 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Different
U08 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U09 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Different
U10 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Slight differences
U11 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U12 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U13 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U14 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U15 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U16 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Bundled version 8 bit; Slight differences
U17 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U18 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Different
U19 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U20 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U21 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U22 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U23 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Different
U24 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U25 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U26 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U27 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U28 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Different
U29 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U36 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U37 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
U38 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install Note: Different
U39 - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
VEN - Paradox: as vanilla | EGUFSM: in EGUFSM install
VIE - Paradox: as vanilla | EGUFSM: in EGUFSM install
VIJ - Paradox: as vanilla | EGUFSM: in EGUFSM install
WAL - Paradox: as vanilla | EGUFSM: in EGUFSM install
WLS - Paradox: as vanilla | EGUFSM: in EGUFSM install
WUR - Paradox: as vanilla | EGUFSM: in EGUFSM install
XHO - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install
ZAN - Paradox: as vanilla | EGUFSM: in EGUFSM install
ZAP - Paradox: as vanilla | EGUFSM: in EGUFSM install
ZIM - Paradox: as vanilla | EGUFSM: in EGUFSM install
ZUL - Paradox: as AGCEEP install | EGUFSM: in AGCEEP-EGUFSM install

Special:
U30-U35 - Number of EGUFSM format shields done, under revision
VOL - EGUFSM format shield done - country discontinued?
THU - Paradox format shield bundled - country discontinued
MUS placeholder country for alun's reformation mod

Unused in current version:
ALI
ALM
ALT
AMG
ANH
ANJ
APA
APU
ART
ASU
AYY
BEA
BUK
CHE
CMG
CNW
COI
CRG
CRD
CRE
CUM
DAM
EDE
EGY
FAT
FRC
GER
HAM
HEI
HLL
HUR
IST
JUT
KIE
KRE
KRN
KUS
LAN
LGD
LEO
LOU
MEA
MES
MSK
NAF
NOG
PET
PIC
POD
POI
POK
PRT
OHI
SEI
SKA
SLO
SLZ
SMO
SUZ
SYR
TAN
THE
THU
TOU
U03
VAL
VER
YOR
ZEE

Discussion here
 
Havard's EU editing empire is the best source for scripting EU2. The information here is ment to be clarifications and corrections. Everything here has been tested by merited scripters, and the tests have been described in detail. We don't trust hearsay information.

New commands (1.08)
  • Electors of the HRE. There's a trigger for elector-status [elector=yes/no] Note: You cannot change the elector status, it's set at scenario start in file country.csv.
    There's a trigger for emperor [emperor = yes/no] Note: You cannot send events to the emperor, only usable as a trigger.
  • Emperor. You can now use -6 to indicate current emperor instead of -1 for random country in an event command. (AFAIK this haven't been used much, so I'm unaware of potential problems.)
  • Change graphics. Flagname extension code change the graphic flags/shields of a nation with the command type = flagname which = "test", to change for example from using the standard file "flag_ENG.bmp" to "flag_ENGtest.bmp". The command applies to shields too, ie. you need to have flag_ENGtest.bmp and both shield_ENGtest.bmp and smallshield_ENGtest.bmp aswell. All three bmp are required, otherwise, flag or shield will simply disappear in-game with no error encountered. The command type = flagname which = "" will set the graphics to the original one.

Triggers Errors, clarifications and additional information
  • Provinceculture. It does not work at all.
  • Discovered. It triggers only works if the particular country getting the event has discovered the province.
  • Relation. It should be relation = { country = PAP data = 120 } instead of relation = { country = PAP value = 120 }, which will give false positive whenever relations are positive (positive relations = positive trigger).
  • Leader. Trigger works for all leaders, even those of other countries.
  • Monarch. Trigger only works for the monarchs of the country getting the event.

Commands Errors, clarifications and additional information
  • Breakdynastic. It does not work at all.
  • Breakvassal. Doesn't work if in the overlord's event, unless the game has been reloaded since the vassalage was created. You cannot have a new vassalisation event triggered from the event that breaks the current vassalisation. It seems to be a problem with when it checks the conditions for the commands.
  • Sleepleader. It works for all leaders, even those of other countries.
  • Sleepmonarch. It should have the same comment as sleepleader: Note: Does not work if the monarch is living.
  • Province_revoltrisk. It modifies the revolt risk in province x with value y indefinitely, until lowered by another event, or until the province is in the hands of another nation (this also applies to nations changing tags). It cannot be lowered to below zero.Testing shows that changing tag doesn't change or reset provinces revoltrisk value. (For example Muscovy -> Russia)
  • Vassal It can create weird situations. It still works if the two countries are at war with each others and can also create situations where they are vassals to each others. It's up to the event scripter to check conditions in trigger for these situations not to happen.
  • Fortress + Population. Use of fortress and population commands in same action and for the same province:
    For fortifications increase, population (increase or decrease) command must be placed before the fortress command.
    For fortifications decrease, population (increase or decrease) command must be placed after the fortress command.
    Otherwise, the fortress command won't work. Remark: fortress command is not limited by landtech.
  • Trigger. It says "Triggers event xxxx immediately" Note: this is only true if the event's triggering conditions are met.
  • Mine. Unfortunately you cannot mix non-gold trade goods and increased mine income. The event will fire granting the mine, but nothing happens to your revenue from that province.
  • War.

    The War command doesn't work if one or more following conditions are fullfilled:
    country DoWing is granted military access by the target country
    country DoWing and the target country are in the same alliance
    country DoWing is at -3 stab

    First condition can't be checked in triggers but the others should be. If a war command is used in an action, be sure of intended result.

    Since war can be avoided without control of modders, it is wise to have it as single command of an action in an event where at least two actions are proposed. Remember, an action where all commands are impossible is simply not displayed. So, if war is impossible, the event will work with the remaining options and still have a meaning. In this case, avoid to ask a question in description unless two other choices can be made.

    About -3 stab:
    If war is really wanted, we must be sure stability is greater than -3 for DoWing country before event fires. Adding stability + 1 by command in the same event as the war command has no effect. Nor will lowering stability to -3 (if stability is above -3) in the same event as the war command prevent war.

    About Vassal/Suzerain:
    A vassal can have a war command against its suzerain. Vassalage will be broken by the vassal at the same time, with corresponding stability drop for vassal.
    A suzerain can have a war command against its vassal. Vassalage will be broken by the vassal at the same time, with corresponding stability drop for suzerain. Vassalage don't have to be made before game reloading (not the same as bugged breakvassal command).

    It is impossible to release a vassal and DoW it in the same event. This is tied to the independence command and not the war command itself.
    A vassal can DoW its suzerain in an event for the vassal triggered by event for the suzerain where the vassal is released. However, in this case, it's recommended for clarity to explicitly add a breakvassal command for the known vassal just before the war command (in case the war command doesn't work, we have at least the minimum effect of a broken vassalage).

    Diplomatic relations (sending diplomat) within a month before the war command doesn't prevent it from functioning, as was previously reported to be the case.
    Targeting (-6) declares war on the country holding the Emperor title.

Miscellaneous advice
  • Location for leaders. For explorers: if province is not owned by the country or not a port, the explorer will appear in nearest owned port according to area in province.csv.
    For conquistador: if province is not owned by the country, the conquistador will appear in nearest owned province (not sure for TP) according to area in province.csv. Admiral and generals seem to appear in the capital if they cannot be placed as intended.
  • Rank of monarch leaders. A Leader of the category monarch can have any rank, but will have the icon of that rank, i.e. they wont be displayed as monarchs, but as generals, fieldmarshals etc.
  • Events without country or province entries. An event without country tag or province ID specified will trigger for the player as soon as any tag, no matter where in the world it is or who controls it, can make the trigger true. Therefore they are mostly useless.
  • Monarch value changes. When changed by -1 (MIL, ADM or DIP) they do not display in the event effect text or mouseover. All other values appear to be OK, and the changes are implemented.
  • Monarchs. When a new monarch is available, either because his start date is reached or he is woken within his life span, he will replace any current monarch at once. The replaced monarch is removed from the game, even if his death date isn't reached. So, there's no way to use a monarch twice. If there is no new monarch to replace a monarch after his death date, he will stay as on until replaced.
    If a country is annexed and then released as vassal or revolts, it will always use the setup form the monarch file, regardless of which ones have previously been slept and woken.
  • Tag change. Changing tag doesn't reset flagname. As a rule, always reset flagname to "" just before changing tag!
  • Tag change. Changing tag doesn't load any new AI file.
  • Length of leader names. If the name is too long it wont fit the army window. Maximum length is 18 for vanilla standard font and 17 for the agceep more legible font, always according to the use of capital letters and of spaces.
  • Length of monarch names. If the name is too long it wont fit the country window. Maximum length is 35. The monarchs page provided in the ledger allows very short names of (unknown) length.
  • Random events. Date, offset and deathdate are not taken in account in random events. Any start and final years has to be set in the trigger. Random event can be nation specific. A random event cannot trigger another event.
  • Culture of Revolters. They can only have one culture specified for it in the revolt file. If more cultures are specified they are simply ignored.
  • Conditions for Revolters. A "no = tag" in the revolt.csv means that it cannot revolt from the coutry with that tag, but can revolt from any other country. It is possible to have more than 1 "no =" in the same entry in revolt.txt. ( If there are several different countries that you don't want a certain revolter to form from.)
  • Diplomaticdate. Setting last diplomatic date in the scenario file:
    diplomaticdates = { ENG = { year = 1422 month = october day = 21 }
    thereby preventing a new diplomat from being sent before a specified date, only works for players. The AI ignore the restriction.

Scripting errors that will crash the game (CTD = Crash To Desktop)
  • Revolters. A revolter that revolt another state out of existence, by appearing in the last province of that state, will cause a CTD. For example: if Catalonia appeared in the last province held by Aragon, that is the province Catalonia, it will lead to a CTD. Use the possibility in the revolt file to specify what nations cannot exist for a state to revolt. If it should revolt in the capital of a multi-provincial state, the capital wil be randomly relocated.
  • Tag changing. If a nation change tag with the country command, it will cause a CTD if it tries to release it's old tag as a vassal, without a reload in between. (For example: Country A turns into country B and then tries to release country A.)
  • Ceding capital. If the capital of a country is ceded (command secedeprovince) the result is a CTD.
  • Ceding provinces. If the last province of a country is ceded (command secedeprovince) the result is a runtime error dialog box followed by a CTD.
  • Trigger: event = xx If an event is directly triggered by another event, and at the same time has that event as a trigger prerequisite it will result in a CTD.
  • Ships. Adding warships or galleys with -3 can lead to a CTD, if the previous -1 targeted a city without a port.

Additional information about dates
Day range is 0-29. 0 is first day of month. Each month is 30 days long (no 31th in EUII). If day > 29, event fires last day of month.

In february, day range is also 0-29 despite month lasts 28 days for players.
1st and 15th of the month consists of two days in EUII scripting engine:
0=1st, 1=1st, 2=2nd, 3=3th, 4=4th, 5=5th, 6=6th, 7=7th, 8=8th, 9=9th, 10=10th, 11=11th, 12=12th, 13=13th, 14=14th, 15=15th, 16=15th, 17=16th, 18=17th, 19=18th, 20=19th, 21=20th, 22=21th, 23=22th, 24=23th, 25=24th, 26=25th, 27=26th, 28=27th, 29=28th

Be carefull in scripting events, monarchs and leaders.

Additional information for the section province.csv
The meaning of the climate integers are (from Johan via AndrewT)
0 - Snow, October through May. It is most prevalant in November through April.
1 - Desert type weather.
2 - Certainly no snow with this value. It appears in a couple of Baltic Sea provinces, a couple of South American provinces, most of North America, and one Siberian province. It might be intended to provide very occasional snow, but still, the province assortment is wierd.
3 - No snow.
4 - Tropical climate.
5 - Some snow December through February.
6 - Tropical climate. This one seems mostly used in equatorial provinces, compared to a value of 4.
7 - Snow, November through March. It is most prevalent in December through February.
8 - Snow, June through August. Used in the southern hemisphere and in a couple of Afghani and Indian provinces (north of the equator).

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

Difficulty for Colonization - Values between 0 and 9, modifies the chance for settlers to make a colony (not TP). Also lowers the cost.
Native Combat Strength - Value between 0 and 400, max number of native warriors x 100
Negotiation Value for Trading Posts - Values between 0 and 9, TP equivalent of Difficulty for Colonization.
City XPos, City YPos - Position on map of the city/capital sprite
Army XPos, ArmyYPos - Position on map where army/ship sprite stands
PortXPos, Port YPos - Position on map of port/shipyard sprite
Manufactory XPos, Manufactory YPos - Position on map of manufactory
Port/sea Adjacency - Which sea province the port is connected to. If this is incorrect, ships can still dock in port, but armies don't auto-unload. Should be 0 for province that don't have a port (even coastal provinces).
Terrain x, Terrain Y, Terrain variant (x4) - Position and index number of any extra sprites to display on map. This is connected to the value of the terrain column, which in turn indexes into map\terrain types.csv to indicate which sprite should be loaded. E.g. if terrain=4 and variant=3 then the game will display GFX\Map\Landscape\Marsh3.bmp when the province is known.

Naval movement at the edge of the map
The naval movement (unit movement) at some of the sea squares at the edge of the map is reduced to half. Not all the edge squares show the feature. The ones close to Scandinavia don't, and the South edge isn't tested.

The close-to-the-edge changes are coded in the climate. If you change the climate of a sea square to any value different from 0, depending on the part of the world that that sea square is placed, you might convert it into a close-to-the-edge sea square.
The world is divided in two parts by this feature.
Pacific Ocean and Western part of Atlantic are close-to-the-edge enabled areas.
Indian Ocean and Eastern part of Atlantic are close-to-the-edge disabled areas.
Close-to-the-edge sea squares have their movement rate and time to discover halved.
SizeModifier does not allow to reduce the movement rate in a controlled way. The only value found to reduce movement rate was -1, and that value makes the time to enter and the time to discover that sea square just one day.

For more very important details on triggers and commands, check out Daywalkers Builders Paradise.
Som tests on moving capital as can happen if the capital is ceded.
A big thanks you to all that helped compiling this list! The thread is found here.
 
Last edited:
Country tags in AGC-EEP

For discussion, use this thread

Countries that existed historically and are included in the AGCEEP
Civil war states that are included in the AGCEEP
Plausible ahistorical revolters included in the AGCEEP
Fantasy countries included in the AGCEEP
Countries that might be added to the AGCEEP

ADE Aden
AFG Afghanistan
AKK Ak Koyunlu
ALB Albania
ALD Algiers
ALT Tlaxcala
AMG Armagnac
AMI Lan Xang
ANH Angoche
ANN Annam
AQU Guyenne
ARA Hejaz
ARG Aragon
ARK Arakan
ARM Malindi
ASH Ashanti
ASS Mongolia
AST Astrakhan
ATH Duchy of Athens
ATJ Atjeh
AUV Magindanao
AYU Ayutthaya
AZT Aztec Empire
BAD Baden
BAE Kakheti
BAL Baluchistan
BAN Timbuktu
BAS Basrah
BAY Bavaria
BEA Foix
BEI Brunei
BEN Benin
BGL Bengal
BOH Bohemia
BOS Bosnia
BOU Bourbonnais
BRA Brandenburg
BRE Bremen
BRI Brittany
BRZ Brazil
BUK Bukhara
BUL Bulgaria
BUR Burgundy
BYZ Byzantine Empire
CAL Musha'sha'
CAM Cambodia
CAN Candar
CAS Castile
CAT Catalonia
CHA Champa
CHE Cherokee
CHG Chagatai
CHI China
CHM Chimú
COI Cochin
COL Colombia
CON Connaught
COR Corsica
CRG Moghulistan
CRI Crimea
CRO Croatia
CYP Cyprus
CYR Adal
DAH Dahomey
DAI Dai Viet
DAK Champassak
DAM Bijapur
DAN Denmark
DAU Dauphiné
DEL Mogadishu
DLH Delhi
DUL Dulkadir
EDE Madurai
EGY Egypt
EIR Eire
ENG England
ETH Ethiopia
FAT Calicut
FEZ Sus
FIN Finland
FLA Flanders
FPR Huguenots
FRA France
FRI Friesland
FUC French Catholics
GEL Gelderland
GEN Genoa
GEO Georgia
GER Germany
GOT Gotland
GRA Granada
GRE Greece
GUJ Gujarat
HAB Austria
HAI Haiti
HAM Ha Mi
HAN Hanover
HAU Brabant
HEL Switzerland
HES Hesse
HLL Hainault
HOL Netherlands
HSA Spanish Hapsburgs Grand Alliance
HUN Hungary
HUR Huron
HYD Golconda
ICE Iceland
INC Inca
IRA Iraq
IST Ikkeri
ITA Italy
JAI Rajputana
JUT Jaunpur
KAL Theodoro
KAR Karaman
KAZ Kazan
KHM Lan Na
KIE Kilwa
KLE Cleves
KNI Knights of St. John
KOL Cologne
KON Kongo
KOR Korea
KRN Cilli
KSH Punjab
KUR Kurland
KUS Kabul
KZK Khazak Horde
LAP La Plata
LAT Teutonic Order
LEI Leinster
LGD Lu Chuan
LIT Lithuania
LIV Livonian Order
LOR Lorraine
LUA Luang Prabang
LUX Luxembourg
MAA Maya
MAH Mahrattis
MAI Mainz
MAL Mali
MAM Mamluks
MAN Mantua
MCH Manchu
MEA Meng Yang
MEC Mecklenburg
MES Sindh
MEX Mexico
MIN Masovia
MKS Makassar
MLC Malacca
MLO Milan
MLW Malwa
MOG Mughal Empire
MOL Moldavia
MOR Morocco
MOS Muscovy
MST Desmond
MTR Mataram
MUN Berg
MUS placeholder country for alun's reformation mod
MYA Burma
MYS Mysore
NAF Gondwana
NAP Naples
NAV Navarre
NIP Japan
NOG Ferghana
NOR Norway
NRM Normandy
NVG Novgorod
OHI Iroquois
OLD Oldenburg
OMA Oman
ORI Orissa
ORL Orléans
PAM Modena
PAP Papal States
PAR Parma
PEG Mon
PER Safavid Empire
PET Gingee
PEU Peru
PFA Palatinate
PIC Tarascan
PIS Siena
POL Poland
POM Pomerania
POR Portugal
PRM Styria
PRO Provence
PRT Oirat
PRU Prussia
PSK Pskov
PUR Puritans
QAR Kara Koyunlu
QUE Quebec
RAG Ramazan
ROM Romanist Bohemia
ROY Royalists
RUS Russia
RYA Ryazan
SAC Saxony
SAV Savoy
SCO Scotland
SEI British East India Company
SEL Imereti
SER Serbia
SEV Abkhazia
SHL Holstein
SIB Sibir
SIC Sicily
SIE Transsylvania
SIL Hussite Bohemia
SLO Sofala
SON Songhai
SPA Spain
SPR Morea
STE Golden Horde
STR Strassburg
STT Stettin
SUD Nubia
SWA Bima
SWE Sweden
SYR Haihaya
TAN Travancore
TAU Shan
TEK Ghazi
THE Bahmanid Empire
TIB Tibet
TIM Timurid Empire
TOS Tuscany
TOX Balkh
TRE Trebizond
TRI Tripoli
TUN Tunisia
TUR Ottoman Empire
TVE Tver
TYR Tyrol
UKR Ukraine
ULS Ulster
USA United States
UZB Uzbek
U00 Khiva
U01 Khorasan
U02 Ahmadnagar
U03 Fars
U04 Sirvan
U05 Ternate
U06 Butung
U07 Mossi
U08 Hausa
U09 Oyo
U11 Da Shun
U12 Da Xi
U13 Zhou
U14 Southern Ming
U15 Palembang
U16 Meissen
U17 Luwu
U18 Yemen
U19 Lanka
U20 Hadramut
U21 Mahra
U22 Ghara
U23 Ormuz
U24 Al-Haasa
U25 Buriat Horde
U26 Kutei
U27 Banjar
U28 Bahrain
U29 Bali
U30-U35 reserved for Japanese breakaway states
U36 Perak
U37 Siak
U38 Sulu
U39 Bantam
VEN Venice
VIE Vientiane
VIJ Vijayanagar
VOL Dutch East India Company
WAL Walachia
WLS Wales
WUR Wirtemberg
XHO Tlemcen
ZAP Zapotec
ZAP Mixtec
ZEE Zanzibar soon to be ZAN
ZIM Zimbabwe
ZUL Mombasa

Free tags:

ALE
ALI
ALM
ANJ
APA
APU
ART
ASU
AYY
CMG
CNW
CRD
CRE
CUM
FRC
HEI
JER
KIE
KRE
LAN
LEO
LOU
MAG
MLL
MSK
POD
POI
POK
SAR
SHA
SKA
SLZ
SMO
SUZ
THU
TOU
VAL
VER
U10
YOR
ZAN
 
Last edited:
Modding AI files
Since post 6 above is becoming increasingly heavy to read and update, I splitted of this topic and will start updating with details from the threads below.
Paradox have hardly left any information on the details of AI scripting, and the effects of different values and parameters are to a large extent unknown, and not tested. Furthermore, it's still all too common that people claim to know how a certain feature or setting works, without actually doing so. Put all beliefs aside, as this post is made for hard proved fact, nothing else!
If you have anything you want added, please send me a PM.

Expansion: It's a guideline for how many provinces the AI will send colonists to at the same time. Note that the actual number of provinces can differ. With setting 1 it's common to see no colonisation, but I have also seen a French AI get a random conquistador 1529 and set up six TPs in America! The AI wont move it's explorers at all if this is set to 0.


The results we have so far will be listed below (not complete yet..). Source references within [].
  • War. Can have negative values, as proved in a test where the value -500 led to no wars decared at all. [1, post 1]
  • War, Core & Hitlist. A test that give a good feeling for how they combine in the decision of the AI declaring war. It's tested with a strong Ottoman Empire and a weak Byzantium. It seems that the three parameters sum up, with the hitlist adding the most. [1, post 24 & 33]
  • Traders. We have tested how fast the AI send traders with different settings. It seems rather linear: no merchants sent on 0 (the merchants are wasted), and more and more for higher settings. Lower values is more profitable for the AI, at least early on. [4, post 5 & 12-14]
  • Colonisation. The costs of making Spain achieve historical colonisation have been calculated. The problem that some nations can never make it without help was quantified.[5, post 1]
  • Colonists and Colonisation. The net flow of colonists must be above 0, and preferably higher, in order for the AI to send them. A full pool and money is not sufficient.[5, post 134]

Some of the issues that are still not answered by testing:
  • Wether the AI cares about a temporary casus belli in its decision to start a war.
  • Is there a noticable effect in the order of the tags, and IDs of provinces. For example, if the AI can chose to declare a war on four tags, is one of them more likely than the others?

References:
  1. Meet AGCEEP: Scripted nations & AI aggression The influence of cores, hitlists and the war setting. ALL READ
  2. The Effects of Culture, Religion and Cores on AI Tendencies: a controlled experiment NOT READ YET
  3. IDLF's AI Bible NOT READ YET
  4. A new AI system for AGCEEP Test on how the AI send merchants and background for the current AI system AGCEEP use. ALL READ
  5. Why the AI is so bad at colonization? Also about naval exploration, post 40.
 
Last edited:
Formatting events

When posting on Paradox forum, following format for events is highly recommended but not mandatory:

Code:
#(<year> or <startyear-deathyear>) <name of the event>
#By <name of the author> <- modified by ... / with the help of ...>
event = {
	id = <id> #triggered by <TAG>_<corresponding id> <A, B, C or D>
	trigger = {
		...
	}
	random = yes/no
	country = <TAG> or province = <id> #<name of the province>
	name = "EVENTNAME<id>" #<name of the event>
	desc = "EVENTHIST<id>"
	#-#

	date = { day = <> month = <> year = <> }
	offset = <>
	deathdate = { day = <> month = <> year = <> }

	action_a = {
		name = "ACTIONNAME<id>A" #<name of action A>
		command = { ...
	}
	action_b = {
		name = "ACTIONNAME<id>B" #<name of action B>
		command = { ...
	}
	action_...
}
EVENTNAME<id>;<name of the event>;;;;;;;;;;
EVENTHIST<id>;<description on a single line (without carriage return)>;;;;;;;;;;
ACTIONNAME<id>A;<name of action A>;;;;;;;;;;
ACTIONNAME<id>B;<name of action B>;;;;;;;;;;
ACTIONNAME<id>...

*****​

Always use CODE markup (# button in advanced editing) to insert events.

Indentation should be made with tabulations and not spaces.

The id of a new event should be the first free id as found in corresponding events file. Be aware other modders could have already used the first free id... Please be careful.

Use comment "#triggered by ..." only if necessary. If event can be triggered by several events, use / as separator for each event.

Trigger is optional. Never forget to indent inside trigger.

Offset and deathdate are optional but if one of them is used, both are mandatory. A deathdate until the end of the game is deathdate = { year = 1820 }, nothing else...
Never forget day range in EU2 is 0-29 (and not 1-30). See Scripting complements for details.

If no date in the event (triggered event), just have a blank line between #-# and action_a

For commands about provinces, add "#<name of the province>" at the end of the line (without double-quotes)
For commands about monarchs, add "#<name of the monarch>" at the end of the line (without double-quotes)
For commands about leaders, add "#<name of the leader> (<TAG>)" where TAG is the country tag of the leader, at the end of the line (without double-quotes)
For commands about other events, add "#<TAG>: <name of the event>" where TAG is the country tag for the event (or ProvinceSpec), at the end of the line (without double-quotes)
These rules apply to triggers too.

EVENTNAME<id>;<name of the event>;;;;;;;;;;
EVENTHIST<id>;<description on a single line (without carriage return)>;;;;;;;;;;
ACTIONNAME<id>A;<name of action A>;;;;;;;;;;
ACTIONNAME<id>B;<name of action B>;;;;;;;;;;
ACTIONNAME<id>...
These lines must be posted outside CODE markup and are for inclusion in text.csv.

For modified events, use red color to show information to be removed and yellow color to show modifications or added informations.


When new or modified event will have impact on setup of scenarios (province manpower, income, cores, owned or known provinces, policies,...), these effects should be part of submission.


As a conclusion, events are written in a language. It is useful for all modders to write them the same way and this way helps a lot for:
  1. discussion before submission
  2. compilation time and inclusion of texts in text.csv
  3. readability of the event when modification needed in events file

See events files for examples.
 
Last edited:
I thought I should share my experience about modding natives for the posterity. Norrefeldt if you include this info into your essential editing post above (#3) in your own style, I’ll delete this post to keep the thread clean.

Natives are coded by several numbers in the province.csv file. These are:
native combat strengh: This number determines the number of natives multipled by 100. Its value can go from 0 to 400 (40,000 natives).
ferocity: This number determines the tolerance of natives to colonials. A value of 9 will set spontaneous attacks every few years and induced attacks almost every time an army enters the province or a colonization attempt fails. A value of 0 will result in natives that almost never attack.
efficiency of natives in combat: This number determines how good the natives are in battle. In the game you can find preset values between 0.1 and 1.3. Very high values seem to be possible, but a big combat improvement over 1.3 has not been observed. A value of 1 or above makes the natives very tough against low land level player-controlled troops.
natives tolerance value: This is the number displayed in the tooltip box, and goes from 0 to 9. Albeit being labelled as agressivity, from no agressive to highly agressive, this number determines how much damage the natives do (colonists killed) when they succesfully attack the colony. A value of 9 means that one attack can wipe out a level 3 or level 4 colony. As widely known, this number also affects colonization chances. The AI will try to wipe out the natives when this number is 5 or higher.

From the above information, we can mod some curious combinations, like natives that attack often but do no damage to the colony, or natives that are strong enough to seriously damage colonies, and very intolerant, yet the AI does not kill them, effectively hampering AI colonization. It should be noted that the AI cheats on the efficiency in combat, and has as little problem to defeat natives as it has with rebels. This is probably a good thing, as the AI has no memory of how troublesome natives are, and after subduing them, usually moves the troops out, leaving no garrison to protect the colony.
 
Code:
[B]Tag	Events	Monarchs/Leaders	Country[/B]
ABB 	339000		01000		-
ADE 	101000		01500		Aden
AFG 	102000		02000		Afghanistan
AKK 	103000		02500		Ak Koyunlu
ALB 	104000		03000		Albania
ALD 	105000		03500		Algiers
ALE 	340000		04000		-
ALI 	440000		04500		-
ALM 	341000		05000		-
ALT 	342000		05500		-
AMG 	345000		06000		-
AMI 	106000		06500		Lan Xang
ANH 	441000		07000		Angoche
ANJ 	343000		07500		-
ANN 	107000		08000		Annam
APA 	108000		08500		-
APU 	344000		09000		-
AQU 	109000		09500		-
ARA 	110000		010000		Hejaz
ARG 	111000		010500		Aragon
ARK 	112000		011000		Arakan
ARM 	113000		011500		Malindi
ART 	346000		012000		-
ASH 	114000		012500		Ashanti
ASS 	115000		013000		Mongolia
AST 	116000		013500		Astrakhan
ASU 	347000		014000		-
ATH 	117000		014500		Athens
ATJ 	118000		015000		Atjeh
AUV 	119000		015500		Magindanao
AYU 	120000		016000		Ayutthaya
AYY 	348000		016500		-
AZT 	121000		017000		Aztec Empire
BAD 	122000		017500		Baden
BAE 	349000		018000		Kakheti
BAL 	123000		018500		Baluchistan
BAN 	124000		019000		Timbuktu
BAS 	350000		019500		Basrah
BAY 	125000		020000		Bavaria
BEA 	351000		020500		Foix
BEI 	126000		021000		Brunei
BEN 	127000		021500		Benin
BGL 	128000		022000		Bengal
BOH 	129000		022500		Bohemia
BOS 	130000		023000		Bosnia
BOU 	131000		023500		-
BRA 	132000		024000		Brandenburg
BRE 	133000		024500		Bremen
BRI 	134000		025000		Brittany
BRZ 	135000		025500		Brazil
BUK 	352000		026000		Bukhara
BUL 	136000		026500		Bulgaria
BUR 	137000		027000		Burgundy
BYZ 	138000		027500		Byzantine Empire
CAL 	139000		028000		Musha'sha'
CAM 	140000		028500		Cambodia
CAN 	141000		029000		Candar
CAS 	142000		029500		Castile
CAT 	143000		030000		Catalonia
CHA 	144000		030500		Champa
CHE 	145000		031000		-
CHG 	146000		031500		Chagatai Khanate
CHI 	147000		032000		China
CHM 	148000		032500		Chimu
CMG 	353000		033000		-
CNW 	358000		033500		-
COI 	355000		034000		Cochin
COL 	149000		034500		Colombia
CON 	356000		035000		Connaught
COR 	150000		035500		Corsica
CRD 	357000		036000		-
CRE 	151000		036500		-
CRG 	354000		037000		-
CRI 	152000		037500		Crimea
CRO 	153000		038000		Croatia
CUM 	359000		038500		-
CYP 	154000		039000		Cyprus
CYR 	155000		039500		Adal
DAH 	156000		040000		Dahomey
DAI 	157000		040500		Dai Viet
DAK 	158000		041000		Champassak
DAM 	360000		041500		Bijapur
DAN 	159000		042000		Denmark
DAU 	361000		042500		Dauphiné
DEL 	160000		043000		Mogadishu
DLH 	161000		043500		Delhi
DUL 	162000		044000		Dulkadir
EDE 	362000		044500		Madurai
EGY 	363000		045000		Egypt
EIR 	163000		045500		Ireland
ENG 	164000		046000		England
ETH 	165000		046500		Ethiopia
FAT 	364000		047000		Calicut
FEZ 	166000		047500		Sus
FIN 	167000		048000		Finland
FLA 	168000		048500		-
FPR 	169000		049000		Huguenots
FRA 	170000		049500		France
FRC 	365000		050000		-
FRI 	171000		050500		Friesland
FUC 	172000		051000		French Catholics
GEL 	173000		051500		Gelderland
GEN 	174000		052000		Genoa
GEO 	175000		052500		Georgia
GER 	366000		053000		Germany
GOT 	367000		053500		Gotland
GRA 	176000		054000		Granada
GRE 	177000		054500		Greece
GUJ 	178000		055000		Gujarat
HAB 	179000		055500		Austria
HAI 	180000		056000		Haiti
HAM 	368000		056500		Ha Mi
HAN 	181000		057000		Hanover
HAU 	182000		057500		Brabant
HEI 	183000		058000		-
HEL 	184000		058500		Switzerland
HES 	185000		059000		Hesse
HLL 	369000		059500		Hainault
HOL 	186000		060000		Netherlands
HSA 	187000		060500		Habsburg Spain
HUN 	188000		061000		Hungary
HUR 	189000		061500		-
HYD 	190000		062000		Golconda
ICE 	370000		062500		-
INC 	191000		063000		Inca Empire
IRA 	192000		063500		Irak
IST 	371000		064000		Ikkeri
ITA 	193000		064500		Italy
JAI 	194000		065000		Rajputana
JER 	195000		065500		-
JUT 	372000		066000		Jaunpur
KAL 	196000		066500		Theodoro
KAR 	197000		067000		Karaman
KAZ 	198000		067500		Kazan
KHM 	199000		068000		Lan Na
KIE 	333000		068500		Kilwa  
KLE 	200000		069000		Cleves
KNI 	201000		069500		Order of St. John
KOL 	202000		070000		Cologne
KON 	203000		070500		Congo
KOR 	204000		071000		Korea
KRE 	374000		071500		-
KRN 	376000		072000		-
KSH 	205000		072500		Punjab
KUR 	206000		073000		Kurland
KUS 	375000		073500		Kabul
KZK 	207000		074000		Kazakhs
LAN 	377000		074500		-
LAP 	208000		075000		La Plata
LAT 	209000		075500		Teutonic Order
LEI 	379000		076000		Leinster
LEO 	380000		076500		-
LGD 	378000		077000		Lu Chuan
LIT 	210000		077500		Lithuania
LIV 	381000		078000		Livonian Order
LOR 	211000		078500		Lorraine
LOU 	382000		079000		-
LUA 	212000		079500		Luang Prabang
LUX 	213000		080000		Luxemburg
MAA 	214000		080500		Mayas
MAG 	215000		081000		-
MAH 	216000		081500		Maratha Empire
MAI 	217000		082000		Mainz
MAL 	218000		082500		Mali
MAM 	219000		083000		Mamluks
MAN 	220000		083500		Mantua
MCH 	221000		084000		Manchus
MEA 	384000		084500		Meng Yang
MEC 	222000		085000		Mecklenburg
MER 	223000		085500		-
MES 	385000		086000		Sindh
MEX 	224000		086500		Mexico
MIN 	225000		087000		Masovia
MKS 	226000		087500		Makassar
MLC 	227000		088000		Malacca
MLL 	383000		088500		-
MLO 	228000		089000		Milan
MLW 	229000		089500		Malwa
MOG 	230000		090000		Mughal Empire
MOL 	231000		090500		Moldavia
MOR 	232000		091000		Morocco
MOS 	233000		091500		Muscovy
MSK 	386000		092000		-
MST 	387000		092500		Desmond
MTR 	234000		093000		Mataram
MUN 	235000		093500		Berg
MUS 	236000		094000		-
MYA 	237000		094500		Burma
MYS 	238000		095000		Mysore
NAF 	389000		095500		Gondwana
NAP 	239000		096000		Naples
NAT 	240000		096500		-
NAV 	241000		097000		Navarre
NIP 	242000		097500		Japan
NOG 	243000		098000		Ferghana
NOR 	244000		098500		Norway
NRM 	388000		099000		-
NVG 	245000		099500		Novgorod
OHI 	246000		0100000		-
OLD 	247000		0100500		Oldenburg
OMA 	248000		0101000		Oman
ORI 	249000		0101500		Orissa
ORL 	250000		0102000		-
PAM 	252000		0102500		Modena
PAP 	251000		0103000		Papal States
PAR 	390000		0103500		Parma
PEG 	253000		0104000		Mon
PER 	254000		0104500		Safavid Empire
PET 	392000		0105000		Gingee
PEU 	391000		0105500		-
PFA 	255000		0106000		Palatinate
PIC 	393000		0106500		-
PIR 	256000		0107000		-
PIS 	257000		0107500		Siena
POD 	394000		0108000		-
POI 	395000		0108500		-
POK 	396000		0109000		-
POL 	258000		0109500		Poland
POM 	259000		0110000		Pomerania
POR 	260000		0110500		Portugal
PRM 	261000		0111000		Styria
PRO 	262000		0111500		Provence
PRT 	397000		0112000		-
PRU 	263000		0112500		Prussia
PSK 	264000		0113000		Pskov
PUR 	265000		0113500		Puritans
QAR 	266000		0114000		Kara Koyunlu
QUE 	267000		0114500		Quebec
RAG 	268000		0115000		Ramazan
REB 	269000		0115500		-
ROM 	398000		0116000		Romanist Bohemia
ROY 	270000		0116500		Royalists
RUS 	271000		0117000		Russia
RYA 	272000		0117500		Ryazan
SAC 	273000		0118000		Saxony
SAR 	274000		0118500		-
SAV 	275000		0119000		Savoy
SCO 	276000		0119500		Scotland
SEI 	405000		0120000		-
SEL 	399000		0120500		Imereti
SER 	277000		0121000		Serbia
SEV 	400000		0121500		Abkhazia
SHA 	278000		0122000		-
SHL 	279000		0122500		Holstein
SIB 	280000		0123000		Sibir
SIC 	281000		0123500		Sicily
SIE 	282000		0124000		Transylvania
SIL 	401000		0124500		Hussites
SKA 	402000		0125000		-
SLO 	403000		0125500		-
SLZ 	283000		0126000		-
SMO 	404000		0126500		-
SON 	284000		0127000		Songhai
SPA 	285000		0127500		Spain
SPR 	286000		0128000		Morea
STE 	287000		0128500		Golden Horde
STR 	288000		0129000		Strasburg
STT 	406000		0129500		Stettin
SUD 	289000		0130000		Nubia
SUZ 	290000		0130500		-
SWA 	407000		0131000		Bima
SWE 	291000		0131500		Sweden
SYR 	408000		0132000		Haihaya
TAN 	409000		0132500		Travancore
TAU 	292000		0133000		Mu Bang
TEK 	293000		0133500		Ghazi
THE 	410000		0134000		Bahmanid Empire
THU 	294000		0134500		-
TIB 	295000		0135000		Tibet
TIM 	296000		0135500		Timurid Empire
TOS 	297000		0136000		Tuscany
TOU 	411000		0136500		-
TOX 	412000		0137000		Balkh
TRE 	298000		0137500		Trebizond
TRI 	299000		0138000		Tripoli
TUN 	300000		0138500		Tunisia
TUR 	301000		0139000		Ottoman Empire
TVE 	302000		0139500		Tver
TYR 	413000		0140000		Tyrol
U00 	303000		0140500		Khiva
U01 	304000		0141000		Khorasan
U02 	305000		0141500		Ahmadnagar
U03 	306000		0142000		Fars
U04 	307000		0142500		Sirvan
U05 	308000		0143000		Ternate
U06 	309000		0143500		Butung
U07 	310000		0144000		Mossi
U08 	311000		0144500		Hausa
U09 	312000		0145000		Oyo
U10 	313000		0145500		-
U11 	314000		0146000		Da Shun
U12 	315000		0146500		Da Xi
U13 	316000		0147000		Zhou
U14 	317000		0147500		Southern Ming
U15 	318000		0148000		Palembang
U16 	319000		0148500		Meissen
U17 	320000		0149000		Luwu
U18 	321000		0149500		Yemen
U19 	322000		0150000		Lanka
U20 	420000		0150500		Hadramut
U21 	421000		0151000		Mahra
U22 	422000		0151500		Gharra
U23 	423000		0152000		Ormuz
U24 	424000		0152500		Al-Haasa
U25 	425000		0153000		Buriat Horde
U26 	426000		0153500		Kutei
U27 	427000		0154000		Banjar
U28 	428000		0154500		-
U29 	429000		0155000		Bali
U30 	430000		0155500		-
U31 	431000		0156000		-
U32 	432000		0156500		-
U33 	433000		0157000		-
U34 	434000		0157500		-
U35 	435000		0158000		-
U36 	436000		0158500		Perak
U37 	437000		0159000		Siak
U38 	438000		0159500		Sulu
U39 	439000		0160000		Bantam
UKR 	323000		0160500		Ukraine
ULS 	414000		0161000		Ulster
USA 	324000		0161500		United States
UZB 	325000		0162000		Uzbeks
VAL 	415000		0162500		-
VEN 	326000		0163000		Venice
VER 	416000		0163500		-
VIE 	327000		0164000		Vientiane
VIJ 	328000		0164500		Vijayanagar
VOL 	417000		0165000		-
WAL 	329000		0165500		Wallachia
WLS 	330000		0166000		Wales
WUR 	331000		0166500		Wirtemberg
XHO 	332000		0167000		Tlemcen
YOR 	418000		0167500		-
ZAN 	373000		0168000		Zanzibar
ZAP 	334000		0168500		Zapotecs
ZEE 	419000		0169000		-
ZIM 	335000		0169500		Zimbabwe
ZUL 	336000		0170000		Mombasa
First free id for Events ids should be found in each events file, but not always...

Range for Monarchs/Leaders is divided into two groups: the 300 first are for monarchs and 200 last for leaders. If more than 200 leaders for a country, it is always possible to use first 300 for same tag beginning with 299.
First free id is available for each monarchs/leaders file at the end of the file (but not for empty files, because, in this case, first free id is the first of the range).
All Monarchs/Leaders ids are always prefixed with 0 for search/replace purpose.


Other Events used ranges:
Code:
[B]Type				Range[/B]
DP Sliders  			22150-22190  
Dutch revolts  			337000-337099  
Mines  				337500-337799  
CoTs  				337800-337999  
Province events  		338000-338999  
AI files  			600000-600499  
HYW files  			1000000-2999999  
Fantasy Resurgant Granada  	3000000-3000999  
Random  			90000000-99999999  
Reformation  			717000000-717999999
Maps:
Orionis' maps (EU2 vanilla provinces with ids and sea zones)
 
Last edited:
More clarifications and corrections

Triggers Errors, clarifications and additional information
  • Neighbour. Neighbour condition doesn't work in a triggered event of a country that is released in triggering event. Neighbour condition doesn't work in a triggered event for any country that targets a released country in triggering event neither.
  • Event. Event condition in event A ends in a CTD when used as condition with the id of an event B that triggers event A.
    Event condition in event A used as condition with the id of an event B doesn't wait for the result of the choices made in event B when event A uses dates and offset. Event condition only checks event B firing (displayed), not event B happened. Be careful when event B sleeps event A in some of its actions and use a more elaborated sequence. Otherwise, event A can fire before the choice is made in event B.

Commands Errors, clarifications and additional information
  • Fortress. All values above +1 are not taken in account (only +1 effect) but it is possible to add several +1 commands for the same province in the same action.

    Example:
    Code:
    		command = { type = fortress which = 426 value = 2 } #Roussillon
    should be replaced with (including the comment as a reminder):
    Code:
    		#Roussillon fortress +2
    		command = { type = fortress which = 426 value = 1 } #Roussillon
    		command = { type = fortress which = 426 value = 1 } #Roussillon
  • Population. TPs have no population. Command will be ignored and not even displayed. As the result of a population decrease, population of the city in a province can't be lower than 1,000. For colonies, population decrease is displayed but will have no effect.
  • secedeprovince. A capital can be seceded. Capital will be relocated in this case. It will end in a CTD only if the capital province was the last province.
  • inherit. Provinces owned by a country that is inherited are not already owned by the country that inherits in a triggered event of the event that includes the inherit command. Conditions of ownership or control in the triggered event will be false and related commands will be ignored and not displayed in tooltip of actions.
    Each province gives 0.25 badboy point to the country that received the inherit command, even for the provinces it will not own in the end. If some provinces are controlled by another country, provinces will be owned by this country and not the country that received the inherit command. Controller country will have no BB penalty (exploit).

Additional information about colonization
Natives population level has an impact on AI colonization.

Not sure if it is tied to values in AI files but Spain will not try to colonize (TP or colony) provinces with natives population of 3,000 (30 in province.csv) or above.
This is not the case for other countries.


Trading Posts are owned provinces but command related to provinces (fortress, population, provincetax, provincemanpower, revolt, etc...) don't apply and are not displayed in tooltip of actions.
 
Last edited: