Europa universalis 4 увеличение интерфейса

Обновлено: 07.07.2024

This article is timeless and should be accurate for any version of the game.

In Europa Universalis IV, the interface refers to the user interface the player uses to interact with the game.

scrollbarType

The scrollbarType is used to define which elements a scrollbar is composed of.

The following attributes are used:

  • name - The scrollbar name.
  • slider - The button element to use as the scrollbar slider.
  • track - The button element to use as the scrollbar tracker.
  • leftbutton - The button element to use as the scrollbar left increment button.
  • rightbutton - The button element to use as the scrollbar right increment button.
  • position - The screen position of the scrollbar.
  • size - The bounding box for the scrollbar.
  • priority - The priority the scrollbar has over other elements.
  • borderSize - The bounding box for border of the scrollbar.
  • maxValue - The maximum value the scrollbar moves to (used to control the increments).
  • minValue - The minimum value the scrollbar moves to (used to control the increments).
  • stepSize - The size of increments using the increment button.
  • startValue - The initial size the slider for the scrollbar starts at.
  • horizontal - Sets whether the scrollbar is horizontal (1) or vertical (0).

Containers

Containers are used to group together elements and associate them with an internal function.

You cannot add new containers except in some very specific circumstances. This is because the name attribute of a container is linked internally to whatever data the container requires. The exceptions are for Ages in ages_view.gui, where you can add new containers for custom Ages and for custom technology tables in countrytechnologyview.gui.

The order and nesting of container definitions affects how they are displayed.

For example, countryreligionview in countryreligionview.gui contains all the specific containers for each religion mechanic. Nested within, orthodox_specific_window is a container for the Orthodox interface. Below this is the muslim_specific_window, which is a container for the Piety interface.

Therefore, if you added both mechanics to a religion, you as a player would only see the Orthodox interface.

guiButtonType

The guiButtonType' element is used to add buttons to the interface. Buttons are composed of an image and text, so they operate in a similar manner to iconType and instantTextBoxType.

The following attributes are used:

  • name - The button name.
  • position - The screen position of the button.
  • orientation - Sets the orientation origin for the position attribute.
  • spriteType - The image to use for the button. Refers to a spriteType definition.
  • quadTextureSprite - The image to use for the button. Refers to a dynamic spriteType definitions (i.e. flags) or multi-frame spriteType definitions.
  • frame - Which frame to use for the button when using a multi-frame image.
  • alwaystransparent - Forces the button to allow click through, i.e. clicking on an element behind another element.
  • buttonText - The text displayed by the button.
  • buttonFont - The font to display the button text in.
  • shortcut - The shortcut to add for this button.
  • clicksound - The sound to use when clicked.
  • hint_tag - Set the hint key the icon uses to display a hint tooltip with when hovered over.
  • pdx_tooltip - Set the short tooltip this button uses.
  • pdx_tooltip_delayed - Set the full tooltip this button uses.
  • scale - Scales the button size.

The following attributes are rarely or never used:

  • tooltip - Never used.
  • tooltipText - Never used.
  • delayedTooltipText - Never used.

windowType

The most common container type, used to hold any group of elements.

The following attributes are commonly used:

  • name - The container name.
  • background - An element to use as the container background.
  • position - The screen position of the container.
  • size - The bounding box for the container.
  • moveable - Sets whether the container can be dragged around.
  • fullscreen - Sets whether the container is considered to obscure the whole screen.
  • orientation - Sets the orientation origin for the position attribute.

The following attributes are used for animated containers:

  • show_position - The screen position the container moves to in show mode.
  • hide_position - The screen position the container moves to in hide mode.
  • animation_type - The animation type used to move the container (always decelerated).
  • animation_time - The animation time (always 300).
  • upsound - The sound to play when container moves to show position.
  • downsound - The sound to play when container moves to hide position.

The following attributes are rarely or never used:

instantTextBoxType

The instantTextBoxType element is used to add text to the interface. In some instances, the text for the element is generated internally (i.e. regiment_count). In these instances you cannot edit the text unless it is exposed in an localized string.

The following attributes are used:

  • name - The textbox name.
  • position - The screen position of the textbox.
  • orientation - Sets the orientation origin for the position attribute.
  • text - The text displayed by the textbox.
  • font - The font to use for the text.
  • maxWidth - The total width in pixels at which text is displayed.
  • maxHeight - The total height in pixels at which text is displayed.
  • format - How the text is aligned.
  • fixedsize - Whether the textbox should truncate text that exceeds its limits.
  • borderSize - The bounding box for the border of the textbox.
  • alwaystransparent - Forces the text to allow click through, i.e. clicking on an element behind another element.

The following attributes are rarely or never used:

Valid format values:

editBoxType

The editBoxType element is used to add editable textboxes to the interface.

The following attributes are used:

  • name - The textbox name.
  • position - The screen position of the textbox.
  • orientation - Sets the orientation origin for the position attribute.
  • text - The text displayed by the textbox.
  • font - The font to use for the text.
  • maxWidth - The total width in pixels at which text is displayed.
  • maxHeight - The total height in pixels at which text is displayed.
  • format - How the text is aligned.
  • fixedsize - Whether the textbox should truncate text that exceeds its limits.
  • borderSize - The bounding box for the border of the textbox.
  • alwaystransparent - Forces the text to allow click through, i.e. clicking on an element behind another element.
  • ignore_tab_navigation - Makes the element ignore tab navigation.

checkboxType

The checkboxType element is used to add checkboxes to the interface. The actual effect of the checkbox is defined internally.

The following attributes are used:

  • name - The checkbox name.
  • position - The screen position of the checkbox.
  • orientation - Sets the orientation origin for the position attribute.
  • spriteType - The image to use for the checkbox. Refers to a spriteType definition.
  • quadTextureSprite - The image to use for the checkbox. Refers to a dynamic spriteType definitions (i.e. flags) or multi-frame spriteType definitions.
  • frame - Which frame to use for the checkbox when using a multi-frame image.
  • alwaystransparent - Forces the checkbox to allow click through, i.e. clicking on an element behind another element.
  • buttonText - The text displayed by the checkbox.
  • buttonFont - The font to display the checkbox text in.
  • shortcut - The shortcut to add for this checkbox.
  • clicksound - The sound to use when clicked.
  • hint_tag - Set the hint key the checkbox uses to display a hint tooltip with when hovered over.
  • pdx_tooltip - Set the short tooltip this checkbox uses.
  • pdx_tooltip_delayed - Set the full tooltip this checkbox uses.
  • scale - Scales the checkbox size.

The following attributes are rarely or never used:

  • tooltip - Never used.
  • tooltipText - Never used.
  • delayedTooltipText - Never used.

smoothListboxType

The smoothListboxType element is used to define a listbox, which is a scrollable list that is populated with entries. Typically these elements are internally linked with another container, which composes the actual entry used in the list box.

The following attributes are used:

  • name - The listbox name.
  • position - The screen position of the listbox.
  • orientation - Sets the orientation origin for the position attribute.
  • size - The bounding box for the listbox.
  • spacing - The spacing to use between listbox entries.
  • horizontal - Whether the listbox is horizontal (1) or vertical (0).
  • scrollbartype - The scrollbar to use for the listbox.
  • bordersize - The bounding box for the border for the listbox.
  • alwaystransparent - Forces the listbox to allow click through, i.e. clicking on an element behind another element.

The following attributes are rarely or never used:

listboxType

The listboxType element is used to define a listbox, which is a scrollable list that is populated with entries. Typically these elements are internally linked with another container, which composes the actual entry used in the list box.

The following attributes are used:

  • name - The listbox name.
  • position - The screen position of the listbox.
  • orientation - Sets the orientation origin for the position attribute.
  • size - The bounding box for the listbox.
  • spacing - The spacing to use between listbox entries.
  • horizontal - Whether the listbox is horizontal (1) or vertical (0).
  • scrollbartype - The scrollbar to use for the listbox.
  • bordersize - The bounding box for the border for the listbox.
  • alwaystransparent - Forces the listbox to allow click through, i.e. clicking on an element behind another element.

The following attributes are rarely or never used:

Position and Orientation

Understanding how the position coordinates work is important to understanding how to edit interfaces correctly.

The orientation attribute used by an element (or container) informs you where the anchor point for the element is. For example, UPPER_LEFT means the ( 0, 0 ) position is in the top left corner of the screen, whereas LOWER_RIGHT is the bottom right.

The position attribute then works from this origin position. Therefore, if you want an element to be on the opposite side of the screen, you'd want to change the orientation first.

This is system is used because it allows the interface to adapt to different resolutions. Because all positions are tied to a specific origin that is dynamically calculated from the player's screen resolution, the placement of containers and elements are kept consistent.

So, if you want to ensure your interface edits are consistent, you must use the orientation attribute properly.

An mistake would be to edit the position solely, for example position = < x = 1800 y = 200 >. This would look fine for anybody with a screen width greater than 1800px (i.e. 1900 x 1200 upwards), but the element would be off screen for those with smaller screens.

Valid orientation values:

  • CENTER
  • UPPER_LEFT
  • LOWER_LEFT
  • UPPER_RIGHT
  • LOWER_RIGHT

Resolution Checks

By using the if_resolution scope within containers and elements, you can change how they are displayed depending on the screen width and height.

nextsong - переключает текущую композицию саундтрека
date [дата в формате гггг.мм.дд] - устанавливает текущую дату
time - показывает в консоли текущее время
combatsound - устанавливает частоту проигрывания боевой композиции (значение от0 до 50)
reload [имя файла] - перезагрузка gui или lua файла
reloadinterface - перезагрузка всего интерфейса
reloadfx [map/mapname/postfx или *.fx имя файла] - перезагружает шейдеры
reloadtexture [имя файла текстур] - перезагружает указанные текстуры
reloadloc - перезагрудает локализацию(т.е. текст)
event [номер эвента] [тэг страны, которая получит данный эвент] - запускает эвент
die(kill) [тэг страны] - смерть монарха
add_heir [тэг страны] - добавляет наследника
kill_heir [тэг страны] - смерть наследника
siege [ID провинции] - окончание осады в указанной провинции(победа осаждающих)
annex [тэг страны] - Начинает процесс аннексии указанного государства(это государство должно быть вассалом)
integrate [тэг страны] - Начинает процесс интеграции указанного государства(государство должно быть младшим партнером в унии)
vassalize [тэг страны] - Вассализация указанного государства
discover [тэг страны] - Открывает столицу указанного государства
winwars - Устанавливает максимальное количество очков войны(для всех ведущихся государством войн)
spritelevel [] - Устанавливает внешний вид войск(для всех государств)(значение от 0 до 4, 0-сбрасывает внешний вид войск по умолчанию)
kill_cardinal - смерть кардинала
clear - Очищает консоль
validateevents - проверяет все события не вызывая их
testevent [] [] - проверяет событие без его вызова
testmission [] - проверяет задание без начала его выполнения
cash [значение] - добавляет золото
population [ID провинции] [значение] - добавляет население в провинцию
setmissionaryprogress [ID провинции] [значение] - устанавливает процесс обращения веры в провинции
manpower [значение] - добавляет мэнпауэр игроку(без ввода значения 50000, если использовать значение, то оно умножается на 1000)
add_natives [ID провинции] [значение] - добавляет аборигенов в указанную провинцию
add_reformlevel [значение] - добавляет уровень реформ для СРИ
add_opinion [Тэг страны] - добавляет очки отношения для указанной страны
add_pi [Тэг страны] - добавляет очки влияния на Папу Римского для указанной страны
add_pa [Тэг страны] - добавляет авторитет патриарха для указанной страны
add_cb [Тэг casus belli] [Тэг страны] - добавляет повод для войны на указанную страну
remove_cb [Тэг casus belli] [Тэг страны] - удаляет повод для войны на указанную страну
tag [Тэг страны] - переключает управление на указанную страну
remove_defender_faith - удаляет защитника религии для той религии к которой принадлежит государство игрока
add_missionary [Тэг страны] - добавляет миссионера для указанной страны
add_colonist [Тэг страны] - добавляет колониста для указанной страны
add_diplo - не разобрался
add_idea_group [] - добавляет указанную группу идей
power [] - Adds the specified idea group
powerpoints [значение] - добавляет очки монарха(без указания значения повышает их количество до максимального значения)
adm [значение] - добавляет административные очки(без указания значения повышает их количество до максимального значения)
dip [значение] - добавляет дипломатические очки(без указания значения повышает их количество до максимального значения)
mil [значение] - добавляет военные очки(без указания значения повышает их количество до максимального значения)
piety [значение] - добавляет благочестие(без указания значения повышает их количество до максимального значения)
stability [значение] - повышает стабильность(без указания значения повышает до максимума)

imperial_authority [значение] - повышает имперский авторитет
prestige [значение] - повышает престиж
fow(debug_fow) [ID провинции] - убирает туман войны для провинции или без ее указания - для всего мира
ti(debug_ti) - открывает все неисследованные земли(при повторном вводе возвращает к исходному состоянию до ввода)
savegame - сохраняет игру
IP - показывает ваш IP
requestgamestate - запрос игровой статистики от хоста(насколько понял)
revolt [Тэг страны] - восстание в указанной провинции
pirate [Тэг страны] - появление пиратов в указанной провинции
legitimacy [значение] - устанавливает легитимность правителя
fullscreen - переключение полноэкранного режима
own [ID провинции] - моментальная передача провинции игроку
controll [ID провинции] - даёт возможность получить контроль над провинцией, будто её захватили войсками
selflearningai - включает/выключает самообучение AI(не понял что это значит)
helplog - выводит все консольные команды в game.log файл
help [имя команды] - выводит в консоль все команды или все что связано с той или иной командой.

Чит-эвенты
_____________________________________________________________________________________
4021 +1 / +50 престижа
4022 -10% стоимости ADM технологий
4023 -10% стоимости MIL технологий
4024 -10 % уменьшение DIP стоимости технологий
4025 -20% уменьшение стоимости стабильности
4026 Инвестиционные -10 % падение стоимости технологий
4027 +2% миссионерской прочность
4028 -10% стоимости ADM технологий
4029 +10% глобальные налоги
4030 +15% к шпионской атаке/защите
4031 DIP мощность бонус +50 DIP Power Point
4032 DIP мощность бонус +25 DIP Power Point
4104 0,1 ежегодной снижение инфляции
4110 Navigator +10% к колониальному диапазону
4114 0,25 мораль армии
4115 +10% модификатора земли forcelimit
4116 +10% дисциплины
4117 +15% усиление скорости подкрепленний
4118 +10% к manpower
4119 +25% обороне фортов
4120 +10% национальной защите от шпионов
5015 +10 армейских / флот традиции
5019 +50 % налог с модификатором
5023 +1 купец
5024 +30 мнения случайных страны
5027 +20 традиции армии / +50 MIL власть
5039 +базовый налог/рекруты в провинции
6418 +manpower
6419 -5% местного риска восстания
6423 +2 традиции военно-морского флота
6426 -5% цены на тяж.корабли
9469 Наследник родился " под звездой " дает выбор между Александром (6 MIL ) , Цезарь (6 ADM) , или Йохан (6 DIP )
event 4022, event 4033 - +10% налог
event 6002 - +10% боевой дух
event 4022, event 4028 - 10% к админ. технологиям
event 4023 - 10% к воен. технологиям
event 4024, event 4026 - 10% к дип. технологиям
event 4027 - +2% к успеху миссионера
event 4029 - доход от пошлин
event 5015 - повышение морских и военных традиций
event 5022 - колонисты
event 862 - +5 поселенцев
event 5024, event 5056 - улучшить отношения рандом с соседями
event 5057 - +10% защита крепости
event 5070 - +15 эффективность торговли
event 5099 - выбор повышения\понижения меркантилизма
event 718 - усталость от войны
event 737 - укрепление крепости рандом
event 742 - рекруты
event 853 - инфляция
event 857 - +10% прирост дип. отнашений
event 881 - в любой момент игры дает исследователя и карабль
6502 даёт 3 полка (2 пехота 1 конина)
881 даёт корабль
4021-4032 даёт стабильность или престиж
4033 снимает 2 стабильности но взамен даёт другие ачивки
9467 даёт рекрутов и лидерские очки какие то
9465 даёт денег или престиж
850 даёт легитимность или престиж по выбору

Смена формы правления на Республику, Монархию, Теократию.
_____________________________________________________________________________________
Event (ID)
id = revolution.10 - Форма правления меняется на Рев. республику.
id = flavor_hol.3502 - даёт выбор сменить форму правления на Голландскую Респ. или Административную.
id = flavor_tib.1 - Формой правления станет Теократия
id = flavor_mng.17 - Феодальная монархия

Некоторые интересные события.
_____________________________________________________________________________________
id = flavor_mch.6 - -20% к стоимости тех.
id = flavor_mch.3 - 20% армейский традиций
id = flavor_mng.04 - меняет рандомно в любой провинции ресурс на фарфор
flavor_jap.1 - меркантилизм +10
flavor_jap.39 - меняет ресерсы в провах на чай.
flavor_jap.51 - 5 военных традиций

Так же вас могут заинтересовать другие материалы по Europa Universalis 4, которые вы сможете найти в нашем архиве читов.

Данная модификация расширяет доступные игрой временные рамки. Сотни новых стран. Десятки новых сценариев. Возможность играть фактически бесконечно вплоть до 9999 года. С этим модом теперь можно погрузиться во времена расцветающей Римской Империи, или стать свидетелем её падения, можно посетить времена раннего средневековья, когда новые королевства только начали зарождаться, или можно устроить крестовый поход на Святой Город, ну если уж прям совсем прижмёт, то можно и Мировый Войны пережить, или и вовсе повидать наши дни и взяв под управление одну из лидирующих стран современности, развязать Третью Мировую.



Должен предупредить, что мод не лишён багов, хотя это простительно учитывая тонны работы над всеми существующими в моде сценариями, хотя иногда будет очень странно выглядеть то, как на теле большой Римской Империи будут единичные провинции принадлежащие вовсе левым странам, хотя должны быть Римскими

Мод проверен на версии 1.28, не русифицирован

Установка:
1. Распаковать архив
2. Скопировать файлы из распакованного архива и кинуть их в корневую папку игры - D:\Games\Europa Universalis IV\mod\
3. Поставить галочку в лаунчере и играть!

30 июл. 2013 в 11:47

Hey everyone, I was just wondering if anyone, especially people in the beta, knew of an option to increase the UI or text size of any aspects of the game. I do have worse eyesight than most people (legally blind), but I am worried the game will be unplayable.

For some reference, I can read Civ 5 text with a little bit of effort. Rome Total War is pretty easy, but Shogun Total war 2 is absolutely tiny. It is playable, but not comfortably, and that really discourages me from playing, unfortunately. AI Wars was the worst by default, but you could increase the text size a ton, which was great.

I have been watching Quill18's gameplay videos, and noticed that I haven't had trouble with reading numbers, but the text in menus is tough. I realize that the resolution will be better and therefore clearer on the actual game versus a video playback, but I was just thinking about size ratio. I have also noticed that pop up text is much easier to read than in menu (like Stability and Expansion, Ideas, etc.). Paradox may have also improved base UI size and in-menu text since Quill's build version, which could solve my problem.

So please just let me know if you have any insight! Thanks! Can't wait for release.

Europa Universalis 4 / Европа Универсалис 4

Любава Серова запись закреплена

Владимир Волков

Владимир, если я все правильно сделала конечно. в строке х поставила 1920,а в у 1080.
Ничего ровным счетом при загрузке не изменилось((

Владимир Волков

Любава, удали его тогда, а чтобы был русский язык, пропиши ту строчку как на скрине. Если англ запуститься норм

Владимир Волков

Владимир, подскажите еще один момент. как можно полностью снести все русификаторы,так чтобы быть уверенной что все старые и новые. вообще все удалены?

Владимир Волков

Владимир Волков

Владимир Волков

Любава, если сейвы там нужные есть, просто переименуй её (сейв перекинешь потом), игра сделает новую, если нет нечего ценного, удали

Владимир Волков

Владимир Волков

Владимир, тут такая штука. я название папки Paradox Interactive изменила,зашла в папку с игрой,открылось окно,которое ты скинул постом выше,только выбор модов недоступен,я нажала играть и все шикарно,размер тот,музычка новая,из 4х языков предложил мне выбрать,вообщем все ШИКАРНО. только на английском((

Владимир Волков

Владимир Волков

Владимир Волков

Владимир Волков

Владимир Волков

Любава, разархививуй игру в любую папку и перемещай куда хочешь) это уже твоё дело. Там установка не нужна.

Владимир, как так. ))Немыслимо. я отстала от жизни.
Вот по этому я выбрала друю ссылку походу без русика,там качаешь,открываешь. старый добрый мастер установки. и все понятно. а тут фиг поймешь((

Владимир Волков

Любава, ну по другим ссылкам, тех. помощи не даём) кому удобнее геморойнее, это их выбор)

Владимир Волков

Любава, разрешение игры всегда в документах в settings.txt, дальше уже экспериментируй

Владимир, я вот папку eu4.exe нажала,она распаковалась. открылась стартовая страничка,с модами и патчами. вроде все нормально. но после закрытия все исчезает. ни иконки,ничего. ее каждый раз так открывать надо чтоли?

Владимир Волков

Владимир Волков

Любава, там галочка есть, активировать все, по умолчанию вроде все и активны) хорошей игры

Владимир Волков

Владимир, я понимаю. достала наверно жутко. но один маааленький вопросик позволь. я тут посмотрела. что всюду уменьшили количество дип отношений. для меня в старой версии 11-14 отношений мало было. а сейчас просто смерти подобно.
Возможно ты знаешь,в каком документе можно подкрутить исходное количество дип отношений (+4;5) или добавляемое с помощью идей. Мне бы их до 15-20 увеличить)))

Владимир Волков

Любава, практики в этом нету) вообще лучше приучатся к новым реалиям и балансу игры) если игра становится сложнее, это же хорошо) больше интереса игроку

Владимир Волков

Overview

The components of an interface file can be broken into two groups: containers and elements. For example, windowType is a container, whereas iconType is an element.

An interface file uses the .gui filetype. All interface files are found in /Europa Universalis IV/interface/ .

When internal is used here, it is referring to the source code that only Paradox can edit. In short, it means the subject it refers to is not modifiable.

Содержание

Elements

There are multiple element types used within containers. All elements must be used within containers, they will not work outside of one.

Elements will inherit the orientation of the containers they are located in unless the orientation is specified for the element itself.

The following elements do not rely on internal code, and can be freely added:

  • iconType - Used for static images.
  • instantTextBoxType - Used for text.

The following elements do rely on internal code. You can add new elements, but they will not be populated with data, making such usage very limited.

  • guiButtonType - Used for buttons.
  • smoothListboxType - Used for smooth scrollable lists.
  • listboxType - Used for scrollable lists.
  • checkboxType - Used for checkboxes.
  • OverlappingElementsBoxType - Used for overlapping many elements.
  • editBoxType - Used for editable textboxes.
  • shieldtype - Used for to display country flags.

The following elements are legacy:

  • textBoxType - Same as instantTextBoxType.
  • eu3dialogtype - Same as windowType.
  • shieldtype - Only used within eu3dialogtype. Different elements are used for flags in more recent files.

iconType

The iconType element is used to add images to the interface. It's usage overlaps with guiButtonType, which is similar but operates as a button.

The following attributes are used:

  • name - The icon name.
  • position - The screen position of the icon.
  • orientation - Sets the orientation origin for the position attribute.
  • spriteType - The image to use for the icon. Refers to a spriteType definition.
  • quadTextureSprite - The image to use for the icon. Refers to a dynamic spriteType definitions (i.e. flags) or multi-frame spriteType definitions.
  • frame - Which frame to use for the icon when using a multi-frame image.
  • alwaystransparent - Forces the icon to allow click through, i.e. clicking on an element behind another element.
  • hint_tag - Set the hint key the icon uses to display a hint tooltip with when hovered over.

OverlappingElementsBoxType

The OverlappingElementsBoxType element is used to define a special kind of listbox that dynamically overlaps sub-elements within itself.

The following attributes are used:

  • name - The listbox name.
  • position - The screen position of the listbox.
  • orientation - Sets the orientation origin for the position attribute.
  • size - The bounding box for the listbox.
  • spacing - The spacing to use between listbox entries.
  • horizontal - Whether the listbox is horizontal (1) or vertical (0).
  • bordersize - The bounding box for the border for the listbox.
  • alwaystransparent - Forces the listbox to allow click through, i.e. clicking on an element behind another element.

The following attributes are rarely or never used:

Valid format values:

Читайте также: