HUD Textures


The HUD doesn't use materials to render its graphics. It directly uses texture files that you can overwrite.

  • Replacing HUD textures is done in the /Script/HUDTextures.txt file.
  • The raw texture files used must be put in the /Textures folder.
  • Most common file types like jpg or png are accepted.

    HUDTextures.txt content example

    // Comments start with a double slash and end with a semicolon. They're ignored by the game.;
    // Every script operation must end with a semicolon. Spaces or line returns are ignored.;

    // Definition: ReplaceHUDTexture(HUDTextureID, newTexture, rows, columns, offset, frameAmount, frameDuration, playOnce, hideAfterDone);
    // If playOnce is true, the animation is played once to completion and then stays at the last frame.;
    // If hideAfterDone is true, the animation is played once to completion and then the texture becomes invisible.;
    ReplaceHUDTexture(33, BlueChicken.png, 2, 2, 0, 4, 0.1, false, false); //33 = COIN;

    ReplaceHUDTexture(60, BlueChicken.png, 2, 2, 0, 4, 0.1, false, false); //60 = SELECTOR;