Skip to content

NecroButton – An alternative table for raising undead.

User Avatar
#40
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