Posted: Tue Jul 23, 2024 6:12 am Post subject:
Creating and attaching hotkeys to newly modded units.
I was searching the XML files to attach hotkeys to the new units I added in my MOD, but can't connect the dots per se, and could use some help. Attached are the files I'm using. I'm not even sure if they are named right, but it seems like a good starting point. I did find another post that showed that they added modded hotkeys but didn't show how to attach them to units. The 3 files are located in:
ok so after playing with the MOD commands there are a few things that worked but not necessarily in the direction I'd hope. In the picture is the layout I used for RA1 (right). It builds the infantry and unit with a simultanious text saying so. The units DO get built and the funds reduced, but the dont show their progress in the sidebar, or the assigned key when scrolling over the cameo, and their are limited MOD keys displayed in the bindings menu.
For TD (left) the only thing that works is the text command. It does not build either unit nor reduce the funds.
So unless their is a way to display more MOD commands in the bindings menu, I'm not sure if that would be viable due to the limitation of 4 even though I programmed 0-9 in the source code and updated the InputTranslatorConfigurations.xml file.
I'll keep pushing ahead and post any progress here, but any assisnance would be greatly appreciated, tks commanders! And if I find the solution I will create a guide and put the link in this chat forum.
This is not what I was looking for, but an unexpected find to share with others non the less. These MOD key variable spawns single units, but doesn't assign them the hot keys I'm trying do. So back to the drawing board for designating "hot keys".
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum