Posted May 04, 2024 by Casper Gaming
Hi all, this plugin was updated today to version Beta R2!
This update adds background images for the commands, which are images that will be drawn behind the command text instead of the default semi-transparent grey rectangle. If no background image exists for the command, this plugin will fall back to the default background rectangle. This update also added a parameter to report the command dimensions to the dev tools console, so you know how big to make your images. This update also added an icon property which will draw an icon aligned separately from the command text. Here is a preview of how the commands can look with these new options:
This update also changed some things to make the plugin more optimized. It removed the Enable Text Codes option, as they are now always enabled due to the text code drawing function I use being well-tested by this point with little risk for bugs in drawing the text. It also switched to parsing the entire command property at game start, instead of each time the command needed to be displayed. This should slightly improve performance.
This update switched the parameter types for the JS parameters. You should not lose your existing JS parameters, but you will need to go into any existing JS parameters you had and remove the extra quotation marks at the beginning and end of the parameter or the plugin will give script errors when evaluating your JS.
Further, this plugin changes how the default command symbols are handled to make it so that all commands are handled the same. Setting them to actor 0 will cause them to display for every actor while setting them to any other actor number will cause them to only display for that actor. Previously, default commands were only able to be shown for all actors or no actors. Adjust your actor property of the default commands accordingly, depending on which actors you want to see them.
Version Beta R2