хм, на ERA3.8 та же фигня - обрезает
на 2.9.14 всё норм
запустил без плагинов вообще (кроме buttons.era), только чисто WoG
проблема осталась
выводы делайте сами
Дело в том числе и в шрифтах.
И описание сценария в окне новой кампании тоже:
А с полосой прокрутки нормально:
Мне кажется, я догадываюсь, дело в этой полосе прокрутки. Она невидимая, но место под нее все равно выделяется!
Quote:Мне кажется, я догадываюсь, дело в этой полосе прокрутки. Она невидимая, но место под нее все равно выделяется!
Очень может быть, пометил себе, спасибо.
Suggesting a new hook for ERA/Era Erm Framework
OnLeaveTroopsOnAdvMap
Author: Hawaiing
This trigger is at the timing after leaving a stack on the map by Ctrl + Right-clicking (with the hard-coded wog option). The purpose is to get the coordinates of the left stack by a hero.
This is essential for many events. For example. in Mixed Neutral Mod, we have an option to prevent neutrals from escaping.
As we see from the code, the absence of checking whether a stack was left by a hero makes it possible to fight a left stack to achieve unfair advantages (farming exp/commander arts, etc.). Another example is stack growth. Leaving a stack on the map on Sunday will grant you more troops on Monday, which is not what we wish to see. As I can tell, checking whether a stack was left by a hero is so important whenever manipulating a stack, thus my proposal is to add the function/hook in Era instead of another mod.
Archer30, thanks for suggestion and code.
Quote:Is it possible to improve the algorithm of auto ending to supoort Asian characters somehow? I appreciate for your help
Write me if it's crucial for your script.
Berserker, thanks! The issue was resolved. The function works perfectly only I used the wrong value.
Berserker, hi! I wonder if it is possible to raise the limit of items in a single section of wog options menu. It can have a max of 20 items at the moment.
As you see from the picture. If I add in more options to the red area, the new options won't appear. Instead the options from the blue box would be placed.
As far as I remember, there is no way to raise the limit. We wanted to make custom options dialog, but there is none currently.
I see, thanks!
Is there a quick way to change the selection type of each section?
For example, for the picture above, the right bottom section is a single selection field while the others allow several options to be selected at once.
At the moment we only need the top left section of the 1st page to become a multi-selection type.
Archer30, можно бинарным патчем заменить радиобуттоны обычным включением/отключением опций:
Code:
007786C0 01
007786CA 01
007786D4 01
Какой-то из этих трех отвечает за левую верхнюю секцию на первой странице, скорее всего первый.
wessonsm, thanks for helping!
Works perfectly for changing the type of upper left section
I find it a little bit weird to have these two:
i^key_ctrl^: variable to check whether Ctrl is pressed
(KEY_CONTROL): The key code of ctrl
They are having different spellings for some reason
I suggest just use (KEY_CTRL) instead to avoid confusion. I did qucik search in my mods folder. There is currently no mod using (KEY_CONTROL) in the scripts.