Skip to content

Entity Texture Overlay

Power Type.

Overlays a texture over an entity's texture.

Type ID: apugli:entity_texture_overlay

Fields

Field Type Default Description
texture_location Identifier The texture to overlay onto the entity.
texture_url String optional If specified, the url to a .png file imported into the game as a texture for this power's use. This will be used as a fallback if texture_location is not specified or if a texture is not present.
show_first_person Boolean false Whether the texture overlay should show up in first person.
use_rendering_powers Boolean false Whether the power should have rendering powers such as apoli:model_color applied to them.
render_original_model Boolean true Whether the original model of the entity should be rendered. Layers will remain untouched.
render_player_outer_layer Boolean true Whether the power will prevent the outer layer of the player from rendering.

Example

{
    "type": "apugli:entity_texture_overlay",
    "texture_location": "test:steve.png",
    "condition": {
      "type": "apugli:player_model_type",
      "model_type": "default"
    }
}
This will have the texture at test/steve.png overlayed over any entity with the default player model type.