I want to render something on the minimap-radar in the bottom-right corner of the screen in a mod.
When using the "create a custom campaign entity and use its render-method"-approach, whatever I render (using the rendering layer ABOVE) gets blocked by the radar, presumably because it's also rendered in the layer ABOVE with 100% alpha and the UI is last in the rendering order.
When I simply render everything in the advance-method of an EveryFrameScript, it works, but I have been told that that's not necessarily the safest thing to do.
Is there some (clean-ish) way to circumvent this problem, like e.g. place my custom campaign entity last in the render order?
If not, if it's easy to implement, would it be possible to add another rendering layer above ABOVE (like e.g. ABOVE_ABOVE or ABOVE_ALL) that's unused by the base game?
And possibly even offer some variant of EveryFrameScript with a render-method so that, in order to render something in the campaign-layer, one doesn't have to create a custom campaign entity?
Thanks in advance for answers! =)