REDNODE / DOCS

Ink Coords

Example apps / ink-coords / v0.2.0

Node modIn the downloadneeds codeware

V's position on the HUD, drawn by the game itself with the ink API instead of in the overlay, in the game's own look. Needs Codeware.

Simulated game starting
Mod log

    The box stands for the game's screen. In the game, Codeware's HUD layer is the screen, and the text uses the game's Rajdhani font.

    How it works

    ink.mount("hud", ...) puts a tree of the game's own widgets on its HUD layer, through Codeware. The game draws it, so it sits under the overlay and hides with the HUD.

    The label and value text styles take the game's own sizes, weights and colors from its style sheet: nothing is styled by hand.

    The tree is built once. Each update calls set on one text, and only a real change goes to the game: changes made in the same tick go in one call.

    REDnode keeps the tree in the plugin and builds it again after a save load, and removes it when the mod stops, so the mod has nothing to clean up.

    What it uses

    ink.mount ink.column ink.text style node.set game.player.position

    Try this

    Use it

    Copy the files into red4ext/plugins/REDnode/apps/ink-coords/ in the game folder, or start your own package from them: change id and name in the manifest first. The whole folder is on GitHub.