europa universalis 4 как запустить мод

Установка мода

Установка [ ]

Правильная установка занимает всего три шага:

1. Распаковать архив

2. Извлечь оттуда все файлы по адресу C:\Users\Имя пользователя\Documents\Paradox Interactive\Europa Universalis IV\mod (если папки mod нет, то создайте её)

3. При запуске игры в появившемся окне в колонке «Mod» выбрать «ETRus»

Также есть видео по установке мода:

Советы [ ]

Также есть несколько советов по установке и использованию мода и инструментов:

1. На карте неправильно расположены страны (Мин в Африке, Ойраты в Сибири). Решение: Почистите кэш. Сделать это нужно так: удалите все папки в Мои документы/Paradox Interactive/Europa Universalis 4, кроме mod, dlc signature, settings и сейвов/скриншотов. Если не помогло, то внимательно прочитайте установку мода.

2. Лаунчер не видит мод. Решение: Установите мод в Мои документы/Paradox Interactive/Europa Universalis IV/mod. Установите не сам архив с модом, а только то что в нем расположено

3. Вылетает на загрузке флагов. Решение: Установите мод в Мои документы/Paradox Interactive/Europa Universalis IV/mod.

7. Вылетает через какое-то время. Решение: Слабый компьютер.

8. На какую версию игры пойдет мод? Ответ: 1.15.x

9. Как почистить кэш? Ответ: Удалите все папки в Мои документы/Paradox Interactive/Europa Universalis 4, кроме mod, dlc signature, settings и сейвов/скриншотов.

10. Мод не работает с русификатором. Решение: Отключайте русификатор.

12. Не работает русская клавиатура. Решение: Включайте другую версию.

13. Как запускать русскую клавиатуру? Ответ: Запустите русскую клавиатуру, а после игру.

14. В контакте пишутся непонятные символы. Решение: Отключите русскую клавиатуру.

15. Мод будет работать с другими глобальными модами? Ответ: Вероятнее всего нет.

16. Установил мод со стима, а он не работает. Решение: Качайте вручную отсюда https://vk.com/topic-91316754_32414290

17. Я чайник и не понял как установить мод. Решение: https://www.youtube.com/watch?v=3YMKk9k9Uug

18. Игра вылетает 1 января. Решение: Отключите автосохранение.

19. Пойдет ли мод, если игра скачена не со стратегиума? Ответ: Может не пойти, качайте со стратегиума, работоспособность проверена.

20. Вылетает с ошибкой: runtime error microsoft visual c++ runtime library. Решение: Обновите Microsoft Visual C++ до последней версии. Откуда скачать ищите сами.

21. Ответа на мой вопрос нету в этом списке. Решение: Пишите сюда: https://vk.com/topic-91316754_31499232

24. Все флаги в игре черные. Решение: Аналогично, что и в пункте №1

25. Пишет Failed to create a graphics device, когда заходишь в игру Решение: Установите новейшие драйвера на видеокарту на сайте производителя Если каких либо вопросов здесь нет, то пишите в комментарии к этому посту

Источник

Europa universalis 4 как запустить мод

1. На карте неправильно расположены страны (Мин в Африке, Ойраты в Сибири).
Решение: Почистите кэш. Сделать это нужно так: удалите все папки в Мои документы/Paradox Interactive/Europa Universalis 4, кроме mod, dlc signature, settings и сейвов/скриншотов. Если не помогло, то внимательно прочитайте установку мода.

2. Лаунчер не видит мод.
Решение: Установите мод в Мои документы/Paradox Interactive/Europa Universalis IV/mod. Установите не сам архив с модом, а только то что в нем расположено

3. Вылетает.
Решение: Установите мод в Мои документы/Paradox Interactive/Europa Universalis IV/mod.

8. Вылетает через какое-то время.
Решение: Слабый компьютер.

9. На какую версию игры пойдет мод?
Ответ: 1.17.x

10. Как почистить кэш?
Ответ: Удалите все папки в Мои документы/Paradox Interactive/Europa Universalis 4, кроме mod, dlc signature, settings и сейвов/скриншотов.

11. Мод не работает с русификатором.
Решение: Отключайте русификатор.

13. Не работает русская клавиатура.
Решение: Включайте другую версию.

14. Как запускать русскую клавиатуру?
Ответ: Запустите русскую клавиатуру, а после игру.

15. В контакте пишутся непонятные символы.
Решение: Отключите русскую клавиатуру.

16. Мод будет работать с другими глобальными модами?
Ответ: Вероятнее всего нет.

17. Установил мод со стима, а он не работает.
Решение: Качайте вручную отсюда https://vk.com/topic-91316754_32414290

19. Игра вылетает 1 января.
Решение: Отключите автосохранение.

20. Пойдет ли мод, если игра скачена не со стратегиума?
Ответ: Может не пойти, качайте со стратегиума, работоспособность проверена.

21. Вылетает с ошибкой: runtime error microsoft visual c++ runtime library.
Решение: Обновите Microsoft Visual C++ до последней версии. Откуда скачать ищите сами.

22. Сделайте НАТО по типу СРИ.
Ответ: Игра не позволяет сделать что-то подобное СРИ.

23. Все флаги в игре черные.
Решение: Аналогично, что и в пункте №1

24. Пишет Failed to create a graphics device, когда заходишь в игру
Решение: Установите новейшие драйвера на видеокарту на сайте производителя

25. Не работают сохранение,файлы не появляются,что делать?
Ответ: Минимальные требования у игры: 3 гигабайта оперативной памяти! Если у вас свыше трёх гигабайтов и 32-х битная система, попробуйте следующий способ (WindowsVista и выше):
Решение:
1)Открыть командную строку (cmd.exe) от имени администратора.
2)Вставить в командную строку это: bcdedit /set increaseuserva 2560
3)Нажать ENTER и перезагрузить компьютер.
4)Вернуть обратно (если понадобится): bcdedit /deletevalue increaseuserva

26. «Превышен лимит на скачивание файла. Вы можете сохранить его только на Яндекс.Диск.»
Решение: Зарегистрируйтесь на яндекс почте, сохраните на яндекс диск и скачайте оттуда.

Источник

Так как информация сейчас часто разрознена или, частично, не актуальна, а вопросы по данной теме вновь и вновь возникают в сообществе игроков, я составил и сделал для вас несколько Гайдов, чтобы вам было удобно и легко найти ответы на свои вопросы.

В первом видео-гайде я расскажу о самих способах установки модов, а также где вы можете найти эти самые моды.

2) Как скачать модификации из Paradox Plaza

3) 4 способа установки модификаций (они же являются базой для второго видео-гайда):

1) Подпиской на модификацию в Steam и Paradox Plaza

2) Как локальный мод

3) Вручную через правку файлов

4) Прямо в корневую папку с игру

Во втором видео-гайде я расскажу больше о первых двух способах: Подписке и Локальном моде, а также о решении различных проблем с запуском модификаций, игры и лаунчера.

1) Как подписаться на модификаций в Paradox Plaza играя на пиратке (пиратской версии игры)

3) А также решение следующих проблем и вопросов с лаунчером, игрой и модами

1) Решение проблем – Мод не появился в списке модификаций

2) Решение вопросов – Сборники модификаций

3) Решение проблем – Ошибка связи со Steam ( пиратка и лицензия )

4) Решение вопросов – Подключение модов без запуска игры из лаунчера

5) Решение проблем – Не запускает игру через лаунчер ( лицензия – Gog и Steam и пиратка )

Если ответ вы не найдёте, то вы можете оставить свой вопрос там же, под видео в комментариях, либо здесь, на форуме.

И ещё важный момент:

Источник

Europa universalis 4 как запустить мод

I’ve had this problem for some time, though moving to my new computor has made it far more noticeable. I have subscribed to mods on the workshop, waited for them to finish downloading, and then they don’t appear in the launcher. I’ve been trying direct downloads but I’ll be the first to tell you that I’m not very good with files and such. And consequently I’m not sure whether I’ve put directly downloaded files in the correct places or not. And since I cna’t isolate the variables I’m not entirely sure what exactly the problem is.

I’m reminded of a similar problem from Civ V that I often dealt with. Though I did have a solution for that issue: deleting a folder labeled «chache» would force the games mod launcher to recaculate. And consequently make the mods appear. I don’t know if there is a similar fix for this or even if it is the same problem. But I figure more data is better than less for anyone out there who wants to give me some adviece.

/.local/share/Paradox Interactive/Europa Universalis IV/mod/ For Windows it’s

\Documents\Paradox Interactive\Europa Universalis IV\mod\ and for Mac it’s

bri: Yes I am restarting the launcher, though many of the mods I downloaded aren’t compatible with my current version. I never thought to rollback and see if that worked. I assumed they would appear in the launcher with the accompaning message: «This mod is compatible with version X». However I have downloaded several mods that are up-to-date, and none of them downloaded either.

Manatee Lampost: I appreciate your willingingness to help, so I hope you don’t take this the wrong way, but. I didn’t understand that at all. This is less a reflection of the clarity of your instructions as it is a reflection of one crucial fact:

To elaborate, when it comes to code and folders I am exceptionally. challenged. I am exceptionally ignorant and not for lack of effort on the part of my friends who are more informed than I. But I am exceptionally thick, so I ask. With utmost sincerity and humility: That you explain this to me as you would an exceptionally stupid child, or a golden retriever, or an exceptionally stupid golden retreiver.

The part of your instructions which are bothering me the the most right now: What exactly is a zip file? And how am I to differentiate it with other such files.

I ask this because, having a paradox account I attempted a direct download of a mod I wanted from Paradoxplaza (as I have heard that this fixes the issue). However it still isn’t showing up, despite me placing it in: «Documents/Paradox Interactive/Europa Universalis IV/ mod» (I run on windows)

Interestingly, it’s labeled as a «Compressed (zipped) Folder» (Whatever that means) the exact same classification of a mod I donwloaded off the workshop which appeared in the launcher just fine (Though it seems to be the exception)

So, something has happened:

I have no idea what.

After sending my previous message I began looking at my list of subscribed mods, I noticed a discrepency between the mods in my subscribbed list, and the the list of mods in my programs folder (neither of which corresponded (entirely) with the launcher. (Though the documents was closer) Some of these mods simply no longer existed, deleted from the workshop. But many were not only still there. But also with versions far more current that my own. And so I admit that I preformed something which has gotten me in trouble many times:

I made a split decision to do something and assumed nothing would come of it.

Namely: I began unsubscribing from mods which had been deleted, had gone updated for several years, or that I simply had no interest in ever actually using. I cut my number of mods down signifigantly, and could potentially cut it down more. But then your message arrived and I attempted to follow your instructions.

I must confess I am unconfident that I have adequately followed your instructions after much trying I managed to find a way extract the files, however I have yet to move them in any way, as I wanted to confirm where exactly to move it. Before I did that however, for the sake of data if nothing else, I decided to boot up the launcher to see what came of it. And then something unexpected happened.

My mods started downloading.

Notably not the one I attempted to manually download and then extracted. And I do not think that it is all the mods to which I am subscribed on thw workshop (I am considering assembling a list in notepad, and then making a list comparing to the mods I hactually have in my mods folder, and in my launcher, unless you deem the endeavour unecesary) However mods were definetively downloading, both ones that hand’t appeared before and ones which only had outdated versions in the launcher. I am scared to close the launcher again for fear that it will not work the next it is booted up. Though it appears to have stopped. So I will probably close it soon.

I thank you for your time, and humbly await your instructions.

Источник

Europa universalis 4 как запустить мод

This tutorial will go over how to add custom 3D models into Europa Universalis 4.

Big thanks to Joror for creating the JoroDox app. You can access the app through Chrome here.

Blender/Maya
Photoshop/GIMP
JoroDox
Notepad++
Finding a Model

Exporting this model created these files:
¨

I also created the normal files for each of the textures, which you can do in Photoshop with the NVIDIA Texture Tools.

Converting the Model

To prepare the model for JoroDox, you will need to convert the model into the Collada format. I’ve found Blender does this without issue, whereas Maya appears to cause an issue with the UV count.

Converting the Model, again

I also recommend you copy the nospec.dds from the vanilla game files (under gfx/models somewhere) and copy it next to your model. Then in JoroDox assign nospec.dds for every instance that calls for a specular map. This is obviously not needed if you’ve created your own specular map, but I find that an imported model will look too bright if it lacks a proper specular map.

Another thing to note is that any textures that utilise transparency should use the PdxMeshAlpha shader, not PdxMeshStandard.

Seeing your Model ingame

You’ve now added a custom model to your mod. But you’ll need to setup a few files before it can be seen ingame.

You’ll need to create a file to assign the meshes to a mesh name. This is done in interface/assets/. I named my file wow_units.gfx. Within your file you should have something like this (modified to suit your naming scheme and the name of your files):

objectTypes = <
pdxmesh = <
name = «mesh_brown_orc»
file = «gfx/models/wow/units/brown_orc.mesh»
scale = 2.0
>
>

You’ll also need to create a file to assign the mesh names to a entity name. This is done in gfx/entities. I named my file wow_units.asset. Within your file you should have something like this (modified to suit your naming scheme and the name of your files):

entity = <
name = «brown_orc»
pdxmesh = «mesh_brown_orc»
>

Now you can test your model in game by adding an entry in the ambient_objects.txt to load the model somewhere on the map. Here is what I did:

type= <
type=»brown_orc»
use_animation=no
time_duration=300.000000
always_visible=yes
visible_in_all_map_modes=yes
object= <
name=»unit01″
hidden_on_start=no
position= <
3932.000 0.000 1188.000
>
rotation= <
0.000 180.000 0.000
>
>
>

Ingame I saw this:
Hopefully this helped you import your own models.

Step One – Creating the Mod Structure

Since we know what we are going to change, let us construct the mod structure now. Create these folders within your mod folder:

Step Two – Defining our country

I will be creating the country of Boop. First, we need to define Boop. Copy the countries.txt from the common in your base install into your mod.

Open countries.txt and add this line under the REB = “countries/Rebels.txt” definition:

X01 = «countries/Boop.txt»
This tells the game that the country file for Boop is called Boop.txt, and that the internal tag is X01.

Step Three – Adding our country file

The game is now expecting a country file in common/countries, with the title Boop.txt. I recommend copying one of the original country files (Algeria in this tutorial) and re-naming it Boop. Within this file you can define the country colour, graphical culture and the various names for ships, armies and fleets. We will be changing the colour to a bright pink, so change the RGB values within the color = < >clause to 228 128 216.

I will also change the names to match my new nation’s theme. Simply make sure any entries are within two quotation marks. This is what I ended up with:

Step Four – Adding a brigade

Now we want to tell the game which units are available for recruitment. Go to common/brigades, and copy Algeria.txt into your mod, matching the structure. Re-name it Boop.txt

Land units use brigade = < >, whilst naval units use squadron = < >. The structure of the clause is as follows:

Name: used by the localisation file to name your unit. i.e. ALG_Janissary_Brigade_1805. Generally you just want to change the pre-fix to match your country tag.

Type: the type of unit. References common/units.

Count: Number of soldiers. Should match the value for the type used in common/units.

Picture: Image used if the unit is walking around. Graphics can be found in gfx/brigades.

This is what I ended up with:

X01 = <
brigade= <
name=»X01_Janissary_Brigade_1805″
type=infantry_brigade
count=1000
picture=»Army_ALG_Janissary»
>
squadron= <
name=»X01_Troop_Transport_1805″
type=transport_brigade
count=1
picture=»Fleet_CMN_Transport»
>
>

Step Five – Adding Leaders

Go to common/leaders and copy the ALG.txt into your mod’s common/leaders. Re-name it X01.txt

The leader = < >clause uses this structure:

ID: Unique number. In this case we will start with 680001.

Name: Name of the leader. Whatever you want.

Type: Either land or sea

Maneuver: Leader’s maneuver skill

Offensive: Leader’s offensive skill

Defensive: Leader’s defensive skill

Picture: Portrait of the leader used by the game. We will use a generic portrait in this case, Unit_TUR_General1

Other generic portraits can be found in gfx/portraits/, and are simply called Unit_TAG_admiral/Unit_TAG_artgeneral/Unit_TAG_cavgeneral/Unit_TAG_general. Obviously, TAG is simply each of the countries in the base game.

I ended up with this:

leader = <
> name=»Boy-o Boop»
type=land
maneuver=4
offensive=4
defensive=4
picture=»Unit_TUR_General1″
enable=yes
>

Here is mine:

Step Seven – Adding our country on the map

Now we need to create a country history file. Go to history/countries, and copy over the ALG – Algeria.txt file. Re-name it X01 – Boop.txt

primary_culture = berber # Makes the primary culture of Boop berber. Can be any of the cultures found in common/cultures.txt
add_accepted_culture = maghreb_arabic # Allows our country to accept Maghreb Arabic. Let’s use get full value from provinces of this culture, as if it was our primary culture.

capital = 2041 # Sets our capital to province 2041. We will be changing this to make the province we edit.

government = feudal_monarchy # Makes our government Feudal Monarchy. Can be any of the governments found in common/governments.txt

oob = «ALG_1805.txt» # Defines our OOB file. If you want different OOBs, you will need to edit this file.

For now, don’t change anything within this file, apart from the first monarch = < >entry. This is what I ended up with:

#Country Name: Please see filename.

capital = 3 # Belfast

monarch = <
name = «Lord Boop»
adm = «6»
dip = «6»
mil = «6»
monarch_picture = «ALG_Osman_Bey»
>
>

Go to history/provinces, and copy 3 – Belfast.txt into your mod. We will be changing this province, making it the province of Boop rather than of Great Britain. This is what it should look like when done:

owner = X01
controller = X01
add_core = X01

transport3 = yes
development2 = yes

1805.1.1 = <
minorport = yes
>

Step Eight – Adding localisation

CODE;ENGLISH;FRENCH;GERMAN;POLSKI;SPANISH;ITALIAN;SWEDISH;CZECH;HUNGARIAN;DUTCH;PORTUGESE;RUSSIAN;FINNISH;x
#xxxxxxxxxxxx;You have to use ‘\’n to set manual line breaks in the\n text. And use no more than 110 characters.;;Zeilenumbrüche erfordern ein vorangestelltes ‘\’n im\n-Text. Verwendet maximal 110 Zeichen.;;;;;;;;;;;x
X01;Boop;;;;;;;;;;;;;x
X01_ADJ;Boopian;;;;;;;;;;;;;x
X01_Infantry_Brigade_1805;Infantry Brigade;;;;;;;;;;;;;x
X01_Galley_1805;Galley;;;;;;;;;;;;;x

Go ingame, and you should now see Boop in the province of Belfast.

Step 1 – Creating the folder

All mods must be placed or created at this location: C:\Users\Name\Documents\Paradox Interactive\March of the Eagles\mod

This would be placed in C:\Users\Name\Documents\Paradox Interactive\March of the Eagles\mod and would tell the game to look in C:\Users\Name\Documents\Paradox Interactive\March of the Eagles\mod\my_mod when the mod is enabled.

If you want to totally override the game reading a folder, and only read your mod’s version of the folder, you need to use replace_path. For example, if I wanted to override the events folder, I would do this:

Likewise, if I wanted to override a folder within another folder, such as the leaders folder in common, I would do this:

An optional command is to tell the game to create a new user directory for your mod. This would save the settings.txt, map cache and save games in a seperate location away from the original files.

Remeber that the mod folder MUST mirror the base game’s structure (although you don’t have to include the files and folders if you are not changing them). For example:

This tutorial will teach you how to add a new culture to EU4 in a step by step manner.

I recommend that you use Notepad++ for coding, although most text editors will work.

First, you need to create a mod. To do this, go to C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\ and create a folder. I will be calling this mod adding_a_culture, but you can call the folder whatever you want.

Once we have created the adding_a_culture folder, we need to create a adding_a_culture.mod. This is what the game will read to detect your mod.

name=»Adding a Culture»
path=»mod/adding_a_culture»
supported_version = «1.15.*.*» # This number should match to current game version

Now that we created our adding_a_culture.mod file, we need to place it in C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\.

Next, navigate to C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\adding_a_culture, and create these folders:

common
cultures
localisation
history
countries
Step 2 – Creating your Culture

In this tutorial I will be adding the Roman culture. Go to your cultures folder and create a new text file called roman_cultures.txt. Within this file add the code below.

culture_group_ancient = <
graphical_culture = westerngfx

culture_roman = <
primary = BYZ

male_names = <
Caesar
>
female_names = <
Abelia
>
dynasty_names = <
«Acidinus»
>
>
>
I will now explain each part of the code above:

culture_group_ancient
This is the name of the culture group for the new roman culture. Each culture group can contain as many cultures as you like. This is what the game will look for when you use the culture_group_union command.
graphical_culture = westerngfx
This sets the default graphical culture for any countries using a culture within this culture group. Graphical cultures are used to set the type of models each country has. i.e. Muslim countries use more arabic-style buildings, which are held within the muslimgfx graphical culture. You can find the list of graphical cultures in common\graphicalculturetype.txt. It is possible to add more, but that will be outlined in another tutorial.
culture_roman
The name of the culture. What is used within the country file to define the culture. i.e.primary_culture = culture_roman
male_names
This list is what defines what male names will be given by this culture. These names are used by the country’s leaders, advisors and rulers. You can add as many as you like. If you do not include this part, the culture will default to using Adam for all male names. These will be superseded by the names in the country file.
female_names
This list is what defines what female names will be given by this culture. These names are used by the country’s leaders, advisors and rulers. You can add as many as you like. If you do not include this part, the culture will default to using Eve for all female names. These will be superseded by the names in the country file.
dynasty_names
This list is what defines the surnames within this culture. These names are used by the country’s leaders, advisors and rulers. You can add as many as you like. If you do not include this part, the culture will default to not using surnames. These will be superseded by the names in the country file.
That is basically all there is to do when adding a culture. You can add as many as you like, and as many culture groups as you like.

Used when a name contains a space

Used when a name changes through time but you want a regnal number to continue. Essentially it associates the two names together, although it will only show Caesar when the name entry is picked.

Step 3 – Localisation

Of course, you will need to localise your culture/culture group names.

To do this, go to localisation and create a localisation file called adding_a_culture_l_english.yml.

Within this folder, add the localisation keys. Below is what I added for this mod:

l_english:
culture_group_ancient: «Ancient»
culture_roman: «Roman»

It is important you follow the formatting above exactly. If you do not have a space before each key, or you are missing a double quote or colon, then the localisation file will not be read at all.

Step 4 – Testing your Culture

To test my new Roman culture, I will be making Byzantium Roman cultured, rather than Greek.

To do this, go to history/countries. Copy in the BYZ – ByzantineEmpire.txt file from the base game and edit it like so:

government = feudal_monarchy
government_rank = 3
primary_culture = culture_roman # Country’s culture
culture_group_union = culture_group_ancient
religion = orthodox
technology_group = eastern
historical_rival = TUR
capital = 151 # Constantinople
fixed_capital = 151 # Cannot move capital away from this province & no power cost to move to it
# History was also included, but omitted in this snippet due to it’s large size.

Go ingame and you should see this:

In patch 1.14, Paradox introduced a new method to define regions within the game.

The province to region mapping is now controlled in area.txt, which mostly mirrors the original regions.txt, albeit with _area appended to each name rather than _region.

So, let’s say you wanted to add a new area called the North, to a new continent called Westeros, which is part of the World. To do this, you’d first need to add the North as an area in area.txt.

the_north_area = <
9001 9002 # Example IDs
>

This tells the game that the_north_area contains the provinces 9001 and 9002.

Now, this area needs to belong to a region to work properly. To create our region of Westeros, you’ll need to open the region.txt. In this file to create the region of Westeros, you’ll need to do this:

This tells the game that the area, the_north_area belongs to the Westeros region.

Likewise with the superregion file, open superregion.txt and add Earth as a superregion.

This covers the basics of using the new area/region/superregion system.

Paradox have changed the way the El Dorado mission-based exploration works. Before the missions were based on tradenodes, now they’re controlled within the region.txt.

Land-based exploration uses the regular regions which should be setup already, so they’re is nothing suprising about that. However, sea-based exploration now requires it’s own areas and regions.

For example, in area.txt you can see the North Pacific area defined like so:

north_pacific_area = <
1683 1684 1685 1686 1687 1688 1689 1690 1693 1694 1695 1696 1699
1714 1715
>

This is then added to the North-west Pacific region in region.txt:

north_west_pacific_region = <
north_pacific_area
north_pacific_coast_area
berring_sea_area
gulf_of_alaska_area
>
This is read by the game to create the sea exploration missions, for example this region would be explored by using the Explore the waters of the North-West Pacific option ingame.

Step 1 – Creating the folder

All mods must be placed or created at this location: C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod

picture=»my_image.jpg»
my_image.jpg would be placed in C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\my_mod. This image would then appear as the picture for the mod on the Steam Workshop.

You can also add tags for Steam Workshop, like so:

tags=
<
«Balance»
>
The available tags are:

Alternative History
Balance
Events
Expansion
Fixes
Gameplay
Graphics
Guide
Historical
Loading Screen
Map
Military
Missions And Decisions
National Ideas
New Nations
Religion
Sound
Technologies
Trade
Translation
Utilities
Any combination is allowed.

Finally, if you are doing a major overhaul to the base game, then it is very useful to use the replace_path command, like so:

replace_path = «missions»
This would override the missions folder of the base game with your folder, which means if your missions folder was empty, then no missions would be available at all. This is very useful when you want to do a total conversion. You can also include sub-folders, like common/buildings.

Modding the map in Europa Universalis can be very difficult, especially when you run into errors. Hopefully the information contained here will help.

Opening the map files

Several files, such as colourmap_autumn.dds and such use the dds format. To open and save these images, you need to use NVIDIA Texture Tools.

The tools are easy to install if you have Photoshop. If you are using GIMP or PaintNET, I am unsure whether or not they have an equivilant plugin.

The smallest possible map is 256 by 256. However, using widths smaller than 2048 causes the game to look very buggy, since the map will tile multiple times.

The largest possible map generally is 5632 by 2048, or the vanilla map size. You can go slightly above these values, but any drastic increase tends to not work.

I recommend you make the map width 2048 no matter what. Having a map smaller than that width will cause tiling.

Whilst a square map is possible, due to the lack of borders (ala CK2) the map tends to look bad. If you managed to import your own border models, then I surpose that using a square map could look good.

Common Crash Causes

The most annoying thing with modding the map is the complete lack of error messages.

Although you can logically work out why parts may be crashing, the game will almost never output any useful information about the map when it crashes. Hopefully these list below will help you debug any crashes:

Crash: Clicking on a province
Cause: Missing province ID in the continent.txt
Crash: CTD at Startup
Cause 1: Bad reference to a province ID that no longer exists.
Cause 2: default.map province limit is not higher than the highest used province ID
Cause 3: terrain.bmp is missing or has a bad colortable
Cause 4: rivers.bmp is missing or has a bad colortable
Cause 5: trees.bmp is missing or has a bad colourtable
Cause 6: Map dimensions are not divisible by 256
Cause 7: provinces.bmp is larger than 50MB (the exact value might be smaller/bigger)

Crash: Calculating Neighbour paths (found in the exceptions.log)
Cause 1: provinces.bmp contains provinces that are too big
Cause 2: A lake is referenced in default.map that does not exist
Cause 3: A sea is referenced in default.map that does not exist (untested)

Whilst not as serious as crashes, these issues can alter the graphical look/usability of the map.

Issue: The world has a neon glow effect
Cause 1: world_normal.bmp is not exactly half the resolution of the resolution defined in default.map
Cause 2: colormap_autumn.bmp (or any of the others) are not exactly half the resolution of the resolution defined in default.map
Issue: Provinces have an alias effect around them
Cause: You resized the image with the incorrect method, you must use Nearest Neighbour to maintain pixel-perfect accuracy.

Issue: Heightmap is not working correctly
Cause: You have an gradient that is too extreme. Don’t go from 100 to 200 without steps in between.

When using the Magic Wand or any other tool, make sure Anti-Alias is turned off.

When using the Magic Wand or the Fill Bucket, make sure the Tolerance is set to 0.

Text
adjacencies.csv: controls the strait crossings ingame.
ambient_object.txt: controls the ambient models, like the seagulls and the map frame.
area.txt: controls the areas provinces belong to.
climate.txt: controls the climate of a province, level of winter experienced in a province and whether or not a province is a wasteland
continent.txt: controls which provinces belong to which continent.
definition.csv: maps the province IDs and RGB values used in the provinces.bmp together.
default.map: controls the maximum province limit, which provinces are seas or lakes, and which other map files to load.
positions.txt: controls the location of the unit models, the city/port models, the tradenode models and the name of a province.
provincegroup.txt: similar to area.txt, these groups are for code-reference only, and will not appear ingame.
region.txt: controls which areas belong to which region.
seasons.txt: controls the dates on which season changes and the colour variance used in each season.
superregion.txt: controls which regions belong to which superregion.
terrain.txt: forces the terrain type of provinces, controls what each terrain type does, maps the colortable in terrain.bmp to each terrain type.
trade_winds.txt: controls which provinces have tradewinds and the strength of the wind.

Image
heightmap.bmp: greyscale, controls the height of the world. Used with the world_normal.bmp to give the map a 3D look.
minimap_base.bmp: the base image used for the minimap. The provinces are superimposed on this image ingame.
provinces.bmp: rgb, controls the shape and location of provinces used ingame.
rivers.bmp: indexed, controls the the location of rivers ingame.
terrain.bmp: indexed, controls the usage of the terrain textures and used to automatically assign terrain types if a province is not set within terrain.txt
trees.bmp: indexed, controls the location of trees ingame. The resolution of this file is (map resolution / 7)
world_normal.bmp: rgb, controls the bump mapping for the world.
colormap_spring.dds, rgb, this image is superimposed on the terrain map textures during spring.
colormap_summer.dds, rgb, same as above during summer.
colormap_autumn.dds, rgb, same as above during autumn.
colormap_winter.dds, rgb, same as above during winter.
colormap_water.dds, rgb, this image is superimposed on the terrain map on all parts underwater.

This document will describe the meaning of each number block found within the positions.txt. This is mainly for reference, and should be useful if you need to manually change the co-ordinates without using the Nudge tool.

Example:
#Prince’s Shore
407=
<
position=
<
2777.000 1287.000 2783.000 1287.000 2777.000 1287.000 2764.000 1288.000 2777.000 1287.000 2783.000 1285.000 2777.000 1287.000
>
rotation=
<
0.000 0.000 0.000 0.785 0.000 0.000 0.000
>
height=
<
0.000 0.000 1.000 0.000 0.000 0.000 0.000
>
>

If you are manually adding positions, then the mappings for each co-ordinate on the provinces.bmp (or any of the standard sized images) are as follows:

X – Maps 1:1. i.e. In CS4 the X co-ordinate will match the co-ordinate you put in the positions.tt
Y – From the width of your map, take the position within your image editor and subtract it from the width (i.e. 2048 – 755). This will give you the value you need to add to the positions.txt (1293). Essentially the y co-ordinate is flipped.

This tutorial will teach you how to add a new province to the EU4 map in a step by step manner.

I recommend that you use Notepad++ for coding, and Photoshop CS4 or above for editing the image files. GIMP and PaintNET will work with the files used in this tutorial, but I will not be including specific instructions for them.

Now that we created our new_provinces.mod file, we need to place it in C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\.

Navigate to C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\new_provinces, and create these folders:
map
localisation
Now go to your game installation, which for me is J:\SteamLibrary\SteamApps\common\Europa Universalis IV\. Copy the files specified below into C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\new_provinces\map:
provinces.bmp
default.map
positions.txt
definition.csv
continent.txt
area.txt
Only the first four are vital, but you will probably want to assign any new provinces to a continent (otherwise clicking on the province will cause a crash to desktop) and area.txt is used to add provinces to specific areas within the game (i.e. the Scottish Highlands)

Go to J:\SteamLibrary\SteamApps\common\Europa Universalis IV\localisation and copy these files into C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\new_provinces\localisation

prov_names_l_english.yml
Go to C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\new_provinces\history and create a provinces folder. We will return to this folder once we have added the new province to the map files.

Step 2 – Editing the map

Now open default.map and change max_provinces to 4021 or higher. This number must be higher than the highest province id you are using, otherwise the game will not load any new province id definitions.

Open definitions.csv. Scroll to the bottom and you should see this:
4010;100;14;110;RNW
4011;100;14;111;RNW
4012;100;14;112;RNW
4013;100;14;113;RNW
4014;100;14;114;RNW
4015;100;14;115;RNW
4016;100;14;116;RNW
4017;100;14;117;RNW
4018;100;14;118;RNW
4019;100;14;119;RNW
The format following this pattern: province_id, red, green, blue, reference name. So, if I wanted to add a new province, I would do this:

4020;255;20;33;My province;x
I have added a new province definition for the province id of 4020, telling the game to look for the province with the colour (255, 20, 33) in provinces.bmp and to assign it the id of 4020.

We have now told the game to accept province IDs up to 4021 and added a province definition to for the province 4020.

Now open provinces.bmp in Photoshop. You should see a image very similar to this:
Now, I want to add this new province to Iceland, so I will zoom in on the area containing the Icelandic provinces:

Now, remember the colour code I set earlier for province ID 2026? It was 255, 20, 33.

So click on the Palette Picker and enter these values:
Now to add this new province, use the Pencil Tool set to 1 pixel and draw it in, as below. If you use the Paint Bucket tool, ensure that Anti-alias is disabled and Contiguous is enabled. Otherwise you will get feathering which will break the provinces.bmp.

Save provinces.bmp. You have now added the province ID 4020 to the province map, and will appear ingame like so:

This is obviously not we want, so what we need to do now is add the actual province information.

Step 3 – Adding province information

Navigate to C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\new_provinces\history\provinces.

Copy this file into that folder: J:\SteamLibrary\SteamApps\common\Europa Universalis IV\history\provinces\370 – Reykjavik.txt.

Now copy it and rename it 4020 – Province Name. You can name the province anything you want after the hyphen.

Now open this new file and edit it so it looks like this:
#4020- Cold Place
owner = NOR
controller = NOR
add_core = NOR
is_city = yes
base_tax = 1
manpower = 1
culture = norwegian
religion = catholic
trade_goods = fish
hre = no
capital = «Chilly Capital»
discovered_by = western
This will give the new province to Norway and give it the Norwegian culture and the Catholic religion. Now launch your game with the mod enabled and you should see:
Almost there! We will now add the province to continent.txt and region.txt.

Then open area.txt and under subarctic_islands_area = < and add 4020 to the list there.

Which area a province belongs to is dependent on where you are adding new provinces, and if you have created a new area, in which case you might want to make a new area. To do so, you’d add this to the bottom of area.txt:

my_new_area = <
4021 4022 4023 # Provinces within this area
>

Step 4 – Adding localisation

We have now added a new province to Iceland, but the province name is PROV4020. This means that province does not have an entry in prov_names_l_english.

Therefore we need to add one. Go to C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\new_provinces\localisation\prov_names_l_english and open it with Notepad++.

Now scroll to the bottom and add a new entry:

PROV4020: «Cold Place»
Make sure you have a space in front of this new entry to maintain the correct format.

Save this file and in game you should see:
Step 5 – Adding new positions

We will now add the new province to positions.txt. Launch EU4 and once in game, use the nudge command in the console to open up the positions editor. Below is an example of me using the positions editor.

Have an experiment with the various modes to ensure the province matches your desires.
Once you have modified the information, click Save.

The game will generate a new file in C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\map\ called positions.txt.

Copy it to C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\new_provinces\map and overwrite the current positions.txt within your mod.
Return to C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\map\ and delete the positions.txt, otherwise the game will load this version over the version within your mod.

You have now added a new province to the Europa Universalis 4 map. In addition to the steps above, you may need to add new province IDs to these files found in the common folder:

00_colonial_regions.txt – Assigns the province id to a specific colonial region for use with colonial nations.
00_tradenodes.txt – Assigns the province to a trade region. Without adding a new province here the province will belong to no region.
00_trade_companies.txt – Assigns the province id to a specific trade company region.
00_natives.txt – Controls which natives, if any appear in a province. If your province is not found in this file and is colonisable, then the Kill Natives button with Armies will fail to work.

This tutorial will teach you how to add a new country to EU4 in a step by step manner.

I recommend that you use Notepad++ for coding, although most text editors will work.

First, you need to create a mod. To do this, go to C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\ and create a folder. I will be calling this mod my_new_country, but you can call the folder whatever you want.

Once we have created the my_new_country folder, we need to create a my_new_country.mod. This is what the game will read to detect your mod.

Navigate to C:\Users\Name\Documents\Paradox Interactive\Europa Universalis IV\mod\my_new_country, and create these folders:

common
countries
country_tags
gfx
flags
localisation
history
countries
provinces
Step 2 – Creating your Country

First, you want to think up a name for your country. In this tutorial, I will be making Rome. So, copy the 00_countries.txt from country_tags into your mod. Open it.

Inside this file, you will see the definitions of each country. Since we are only adding a country, we should create a uniquely named 00_countries.txt so we don’t conflict with the base game. Rename the 00_countries.txt to mymod_countries.txt

Now we have a unique country definitions file, we can remove all the old definitions. You should end up with this:

X01 = «countries/Rome.txt»
This tells the game that this tag, X01 is assigned to the country file of Rome.txt. This file is found in common/countries, which we will now create.

Since we are making Rome, we will want to copy the contents of the ByzantineEmpire.txt country file to save time. Copy the ByzantineEmpire.txt country file from common/countries and rename it Rome.txt. Open it.

Within the file, you will see various different clauses. This is what each are for and how you can add/edit them.
graphical_culture # Used to define which graphics the country will get. The graphical cultures are found in common/graphicalculturetype.txt. This entry is required.

color = < 0 0 0 ># This is used to define the color of the country. It uses RGB. This entry is required.

historical_idea_groups = < ># This is used by the AI of the country to decide which idea groups it will take. The AI will follow this order. ADM/DIP/MIL, so adding multiple ideagroups of the same type does not work, the AI will skip over them. This entry is not required.

historical_units = < ># This is used to define which unit models the country’s units will use. The country will only use one set for each sprite level. This entry is not required, the country will default to the models of the unit types it is given.

leader_names = < ># This is used to define which surnames the country’s monarchs/advisors/generals will use. Names do not have to have quotation marks around them, although you do need them if the name has any spaces. e.g. «Double Name».

ship_names = < ># Defines what names the country’s ships will use. The names will be used in the order they appear, and once they run out the game will just use roman numerals.

army_names = < ># Defines what names the country’s armies will use. The names will be used in the order they appear, and once they run out the game will just use province names.

fleet_names = < ># Defines what names the country’s fleets will use. The names will be used in the order they appear, and once they run out the game will just use province names.

You should end up with this:
#Country Name: Please see filename.

historical_idea_groups = <
maritime_ideas
religious_ideas
defensive_ideas
administrative_ideas
trade_ideas
quality_ideas
innovativeness_ideas
diplomatic_ideas
>

historical_units = <
eastern_medieval_infantry
eastern_knights
slavic_stradioti
eastern_militia
ottoman_spahi
ottoman_sekban
ottoman_reformed_spahi
ottoman_reformed_janissary
ottoman_toprakli_hit_and_run
ottoman_nizami_cedid
ottoman_toprakli_dragoon
eastern_skirmisher
eastern_uhlan
eastern_carabinier
ottoman_new_model
ottoman_lancer
>

leader_names = <
Akropolites Angelos Aoinos Apokaukos Argyros
Basileous Batatzes Botaneiates Boumbalis
Choniates Choumnos
Diasorenos Diogenes Doukas
Gabras
Iagaris
Kantakuzenos Kaukadenos Komnenos
Laskaris
Melissinos Melisurgos Mikrulakes Monomakos Mouzalon
Nestongos
Palaiologos Paraspondylos Phocas Phouskarnaki Phrangopoulos Psellos
Rhadinos Rhangabe Rhodocanakis Romanos
Syropoulos
Tornikes
Zarides Zimisces
>

ship_names = <
Achilleus Adrianoupolis Aetos «Aghia Eirene» «Aghia Helene» «Aghia Magdalene» «Aghia Sophia»
«Aghia Thekla» «Aghion Oros» «Aghios Athanasios» «Aghios Eusebios» «Aghios Ioannes»
«Aghios Markos» «Aghios Maximos» «Aghios Menas» «Aghios Nikolaos» «Aghios Philippos»
«Aghios Sergios» «Aghios Stephanos» «Aghios Theodoros» Aigaion Aigyptos Amphitrion
Angeliophoros Aniketos Apokalipsis «Apostolos Andreas» «Apostolos Pavlos» «Apostolos Petros»
«Archangelos Michael» «Archangelos Gabriel» Athenai Atrotos «Autokrator Rhomaion» Axiomachos
«Basileus Alexios» «Basileus Andronikos» «Basileus Basileios» «Basileus Basileon»
«Basileus Herakleios» «Basileus Ioannes» «Basileus Ioustinianos» «Basileus Isaakios»
«Basileus Konstantinos» «Basileus Leon» «Basileus Manuel» «Basileus Michael»
«Basileus Nikephoros» «Basileus Rhomaion» «Basileus Romanos» «Basileus Theodoros»
Basilevousa «Basilissa Eirene» «Basilissa Theodora» «Basilissa Zoe» Belisarios Bosporos Byzantion
Chios «Christos Soter» Christophoros Chronos
Demetra Despotes «Despotes Moreos» «Dikephalos Aetos» «Doxa Theou» Drakon
Endoxos Eperos Epos «Euxinos Pontos»
Galaxias Gorgona Gorgopleustos
Hades Hektor Hellas Hellespontos Hephaistos Herakles Hermes Heroas Hydra Hygeia
Iason Ikaria Imvros Indikopleustes Ionia Ionion
Kaisar Kentavros Keravnos Keratios Kerkyra Kyriarchos «Konstantinou Polis» Korinthos Krete Kypros
«Leon Skleros» Lemnos Lesbos Lykia «Lykos Thalasses»
Makedonia Megaleion «Megas Alexandros» «Megas Konstantinos» «Mikra Asia» Morpheas
Naxos Nike Nikephoros
Odysseus Okeanos Orestes «Orge Theou» Orthodoxia «Osios Loukas» Ouranos
Panaghia Panther Pantokrator Panteleimon Pantodynamos Paphlagonia Pegasos Pelagos
Peloponnesos Pegasos Perseus Polydynamos Pontos Poseidon Propontis
Rhodos Rhomaios Romanos
Samos Samothrake Sebastokrator Sikelia Soter Stratelates
Taxiarchis Theophilos Theophylaktos Thessalia Thessalonike Thalassokrator Thrake Thrylos Triton
Xiphias Xiphomachos
Zakynthos Zoodotis
>

fleet_names = <
«Thema Cibyrraeoton» «Thema Cypriakon» «Thema Aigaeou Pelagous» «Thema Sicelias»
>
Step 3 – Rounding out your Country

You now need to define the ingame state of your country. This is handled by the country file in history/countries. The game checks for the country’s tag here, so create a file called X01 – Rome.txt

Within this file you define ingame variables for your country, e.g. government, culture, religion, etc. This is a list of valid entries and how you can add/edit them:
government = imperial_government # Used to define the country’s government. Must be a valid government found within common/governments/00_governments.txt

mercantilism = 0.1 # Defines how much mercantilism the country starts with. 0.1 = 10%. Most countries start with 0.1, whereas merchant republics start with 0.2.

primary_culture = greek # Defines the country’s primary culture. Must be a valid culture found within common/cultures/00_cultures.txt

add_accepted_culture = greek # Adds an accepted culture for the country. Must be a valid culture found within common/cultures/00_cultures.txt

culture_group_union = byzantine # Adds a cultural union for the country. Must be a valid culture group found within common/cultures/00_cultures.txt

religion = orthodox # Defines which religion the country has. Must be a valid religion found within common/religions/00_religion.txt

technology_group = eastern # Defines which technology group the country uses. Must be a valid technology group found within common/technology.txt

historical_rival = TUR # Adds a historical rival for the country. This cannot be removed whilst ingame, so only use it for long-term rivalries.

historical_friend = ATH # Adds a historical friend for the country. This cannot be removed whilst ingame, so only use it for long-term friendships.

capital = 151 # Defines which province ID is the country’s capital. If the province isn’t owned by the country at game start, the game will log an error, although there is no gameplay effect.

fixed_capital = 151 # Means the country cannot move their capital away from this province, and has no power cost to move it’s capital to it. This will not affect the player in 1.10

These are the main variables you can define for your country. However, you may have noticed that there are various monarchs and heirs defined below these variables. These require you to define the year before using either clause.

1000.1.1 = < ># This is a standard year clause. You need this to use the monarch or heir clause.

monarch = <
name = «Manuel II» # This defines the name of the ruler
dynasty = «Palaiologos» # This defines the dynasty of the ruler. This isn’t required however.
birth_date = «1350.6.27» # Defines the birth date of the ruler. Used by the game to work out the age of the monarch.
death_date = «1392.12.18» # Defines the death date of the ruler. Used by the game when displaying the ruler history. Not actually required to change the ruler, simply adding a more recent monarch clause will do that.
adm = 1 # Defines the ADM skill of the ruler
dip = 1 # Defines the DIP skill of the ruler
mil = 1 # Defines the MIL skill of the ruler
>

heir = <
name = «Ioannes» # Defines the name of the heir.
monarch_name = «Ioannes VIII» # Defines the name of the heir on ascension to the throne.
dynasty = «Palaiologos» # Defines the dynasty of the heir.
birth_date = 1392.12.18 # Defines the birth date of the heir. Must match the year clause the heir clause is within.
death_date = 1448.10.31 # Defines the death date of the heir.
claim = 95 # Defines the claim of the heir. 100 is strong, whilst adm = 2 # Defines the ADM skill of the heir
dip = 2 # Defines the DIP skill of the heir
mil = 2 # Defines the MIL skill of the heir
>
I ended up with this for X01 – Rome.txt
government = absolute_monarchy
mercantilism = 0.1
primary_culture = greek
culture_group_union = byzantine
religion = orthodox
technology_group = western
capital = 151

culture = greek
religion = orthodox
capital = «Constantinople»
trade_goods = grain
hre = no
base_tax = 9
manpower = 5
temple = yes
fort1 = yes
fort2 = yes
discovered_by = western
discovered_by = eastern
discovered_by = muslim
discovered_by = ottoman
discovered_by = nomad_group

Name the flag file X01.tga, and place it in gfx/flags

Step 5 – Adding Localisation

If you want a country’s name to show up, you will need to add a localisation statement to tell the game to display the tag, in this case X01 as Rome.

In localisation, copy the achievements_l_english.yml into the mod’s localisation folder. Rename it mymod_l_english.yml. You can create this file manually, but I find it faster to copy over a previous file and edit it.

Open mymod_l_english.yml and remove all the content below l_english. We now want to add the X01 statement, and X01_ADJ statement. You should end up with this:

l_english:
X01: «Rome»
X01_ADJ: «Roman»

Ensure you have the formatting exactly the same, otherwise the YML file will not work correctly. The X01_ADJ is used to define the adjective for the country, whereas X01 is used to define the name.

Everything should now be in order for a new country to appear, in this case for Rome to appear in Constantinople.

Источник

Читайте также:  чем опасны беспроводные наушники airpods
Компьютерный онлайн портал