REDNODE / DOCS

Ink vitals

Example apps / ink-vitals / v0.1.0

Node modIn the downloadneeds codeware

V's health and RAM as bars, and money, on the HUD in the game's own look. Every value is bound: the plugin reads it each frame, and the mod sends nothing after building it. Needs Codeware.

Simulated game starting
Mod log

    Press Hurt V below and watch the bar and the number follow, read four times a second here (every frame in the game).

    How it works

    A text with bind: "player.health" shows a game value. The plugin reads it every frame and changes the text only when what it shows changes, so a hit shows at once with no update code in the mod.

    ink.bar({ bind, of }) fills from its left edge, value / of full; of is a number or another source, such as "player.healthMax".

    The sources: health and its max, stamina and RAM (0 to 100), money, level, street cred, V's position and the game's clock.

    What it uses

    bind format ink.bar of ink.row align

    Try this

    Use it

    Copy the files into red4ext/plugins/REDnode/apps/ink-vitals/ 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.