Skip to content

Posts from NecroButton – An alternative table for raising undead.

No ratings yet — be the first to rate!
User Avatar
Auto-translated
fktifzobr@mail.ru, it turned out better, but not as good as it would have been in 8888. I need your help.
Attachments 1
1 file attached • Total size: 1.6 MB
User Avatar
Auto-translated
Thanks to the valuable feedback from psatkha and the help of fktifzobr@mail.ru in fixing the issue, the mod is ready. Thank you. The corrected version has also been re-uploaded in comment #23. Those who have already downloaded it should re-download it.
images
Attachments 1
1 file attached • Total size: 433.1 KB
In reply to Mооnst@r
User Avatar
Auto-translated
Mооnst@r
Thanks to the valuable suggestion from psatkha and the help of fktifzobr@mail.ru in fixing the issue, the mod is ready. Thank you. The corrected version has also been re-uploaded in comment #23. Those who downloaded it should re-download it.
images
The purple numbers should also be made bolder, as they are not very visible!
С уважением, Psatkha (Псатха)

---------------------------------------------

Неудачное планирование ведёт к неудаче ...

NCF - мод, добавляющий дополнительных существ в HeroesV 3.1
In reply to psatkha
User Avatar
Auto-translated
psatkha
The purple numbers could also be made bolder, as they are not very visible!

Please understand, I won't ask the person again, but you can make any changes to the mod as you see fit.
In reply to Mооnst@r
User Avatar
Auto-translated
Mооnst@r
Please understand, I won't ask this person again, but you can make any changes to the mod as you see fit.
Increased the font size... re-uploaded the file at 8:50 PM!
Attachments 2
2 files attached • Total size: 836.8 KB
С уважением, Psatkha (Псатха)

---------------------------------------------

Неудачное планирование ведёт к неудаче ...

NCF - мод, добавляющий дополнительных существ в HeroesV 3.1
User Avatar
Auto-translated
Found where to adjust the position so it appears above all windows and changed the button's position. It was displayed incorrectly for a 1024x768 window. Everything is shown in the screenshots below. The mod has been re-uploaded everywhere.
Before

After
User Avatar
Auto-translated
I added a tooltip; it turned out to be easier than taking candy from a child. It's even surprising that no one suggested this when the topic came up. I tried adding a hotkey by setting the default value in the input field for both the original and created profile, but nothing happened except for the letter "F" appearing, which is what I was trying to do. Apparently, there's nothing more I can come up with here. But there's still a small problem with the pop-up window: it's always centered on the button, regardless of how I move the button. However, I don't know where to move the window to the side (to the left). Any ideas?
This is what I got.

Even if I place it in the far upper right corner, the window doesn't change its position as needed, so I lowered it slightly so that the pop-up window wouldn't cover the button.


Added 21 hours 25 minutes ago
I'm struggling with one idea, namely disabling it with Esc. I found a similar implementation in the doc skills mod by Azarda. In the character menu, "Skills," pressing a button opens a window with a wheel, and pressing Esc closes it. The same thing exists in the modified version by vova2112, but already on the global map, where a table for raising undead appears.
I reviewed both versions countless times, and no matter how hard I try, I really don't understand where this is written or how it's implemented. If it's possible and someone knows how to implement it, please help.
Link to the mod /topic/15183/
It seems like I figured it out and added the ability to disable it with Esc, but there's a problem. The button remains in the "active" position after being disabled with Esc. As a result, it gets pressed without effect and only activates the window with the table on the second press.
In reply to Mооnst@r
User Avatar
Auto-translated
Mооnst@r
I tried to assign a hotkey by entering it in the input field of both the default and custom profiles, but nothing happened except for the letter "F" appearing, which is what I was trying to do. It seems there's nothing more I can do here.
You were on the right track – in the profile folder, in the file input_a2.cfg, there are sections that control windows (WindowScreen); you need to specify the key and command designation in the appropriate section, and then specify the command in the button using GameMessageReactions
Attachment 68014
Attachment 68013
Mооnst@r
I reviewed both versions countless times, and no matter how hard I try, I really don't understand where this is defined or how it's implemented. If it's possible and someone knows how to implement it, please let me know.
I created a button to exit to InactiveBg.(BackgroundSimpleTexture).xdb and connected an event to it when ESC is pressed.
Attachment 68015
Here’s an example of an unfinished battle interface mod –
Attachments 4
4 files attached • Total size: 2.7 MB
Грешить, злодействовать, а равно и делать добро или совершать подвиги надо без натуги. А если с натугой — то лучше не надо.
К. Прутков-инженер. Мысль № 77.
Многие вещи нам непонятны не потому, что наши понятия слабы; но потому, что сии вещи не входят в круг наших понятий.
© Козьма Прутков
In reply to vova2112
User Avatar
Auto-translated
vova2112
You were on the right track – in the profile folder, in the input_a2.cfg file, there are sections responsible for windows (WindowScreen); you need to specify the key and command designation in the appropriate section, and then specify the command in the button using GameMessageReactions
Attachment 68014
Attachment 68013
I repeated everything, but for some reason it doesn't open; instead, it only closes when "F" is pressed.
I made a button to exit onto InactiveBg.(BackgroundSimpleTexture).xdb and connected an event to it that triggers when ESC is pressed.
Attachment 68015
Here’s an example of an unfinished battle interface mod - Attachment 68016
This problem remains.
The button stays in the “active” position after being deactivated by Esc. As a result, clicking on it does nothing, and only on the second click does it activate the window with the table.
Perhaps this is due to duplicated commands in Info.(WindowMSButton).xdb and Info.(WindowMSButtonShared).xdb, but I don't know how to fix it without causing the game to crash. If you have time, could you take a look at the file? Maybe you can suggest what and how to fix.
Attachments 1
1 file attached • Total size: 435.2 KB
In reply to Mооnst@r
User Avatar
Auto-translated
Mооnst@r
I repeated everything, but for some reason it doesn't open, it only closes when I press "F".
I took a quick look – in the Info.(WindowMSButton).xdb file, in the GameMessageReactions section, you need to display the window (Info.(UISSendUIMessage).xdb) and not hide it (InfoHide.(UISSendUIMessage).xdb)
Грешить, злодействовать, а равно и делать добро или совершать подвиги надо без натуги. А если с натугой — то лучше не надо.
К. Прутков-инженер. Мысль № 77.
Многие вещи нам непонятны не потому, что наши понятия слабы; но потому, что сии вещи не входят в круг наших понятий.
© Козьма Прутков
User Avatar
Auto-translated
Thank you, vova2112. The hotkey started working immediately, and then, based on intuition, I fixed the click issue in the same file, which occurred when closing the window with Esc. Thanks again.
In reply to Mооnst@r
User Avatar
Auto-translated
Mооnst@r
Thank you, vova2112. The hotkey worked right away, and then I intuitively fixed the click issue in the same file, which was causing an empty click after closing with Esc. Thanks again.

Let's have video tutorials! It would be interesting.
Ссылка на мой мод Heroes 5 Armageddons Blade

Ссылка на мои уроки по модостроению в Героях 5

Ссылка на мой Artstation
In reply to Waterfall_13
User Avatar
Auto-translated
Waterfall_13

Let's have video tutorials! It would be interesting.
This is definitely not something I can help with.
I got excited too early. The issue with the empty click hasn't been resolved. I don't know where to look or what to fix anymore. The construction of Info.(WindowMSButton).xdb and Info.(WindowMSButtonShared).xdb differs from those in the wheel or combat mode. There, the commands are not duplicated, and a single click on the button is always sufficient. I tried simply copying and substituting my own lines, but the mod either stops disabling the table when clicking the button, or the game crashes.
User Avatar
Auto-translated
An idle click won't go anywhere because the button has two states (pressed | released), and I don't know how to tell the button to change its state if the window it displays is closed. Therefore, I couldn't find a better solution than to leave the button in one state (pressed), which triggers a (semi-transparent) window, with which you can already interact using another button and/or hotkeys. In other words, if you click the button, a window with the necessary information appears, and on it, there is another button that can close this window 😎.
Грешить, злодействовать, а равно и делать добро или совершать подвиги надо без натуги. А если с натугой — то лучше не надо.
К. Прутков-инженер. Мысль № 77.
Многие вещи нам непонятны не потому, что наши понятия слабы; но потому, что сии вещи не входят в круг наших понятий.
© Козьма Прутков

Statistics

Welcome our newest member: Emil