... | ... | @@ -55,30 +55,30 @@ This is a layer for a segmented texture to be linked to one of the configured [L |
|
|
Uses other layer configurations, and has a `function` section to configure how the bar represents the `listener`:
|
|
|
#### Listener
|
|
|
Listeners determine the percentage fill a bar texture renders.
|
|
|
```
|
|
|
```yaml
|
|
|
function:
|
|
|
listener: health
|
|
|
```
|
|
|
#### Increment
|
|
|
The increment is the amount of sections your layer should split into.
|
|
|
```
|
|
|
```yaml
|
|
|
function:
|
|
|
increment: 13
|
|
|
```
|
|
|
##### Orientation
|
|
|
The way the layer should deplete from. Can either be Horizontal or Vertical.
|
|
|
```
|
|
|
```yaml
|
|
|
function:
|
|
|
orientation: horizontal
|
|
|
```
|
|
|
##### Reversed
|
|
|
Whether or not the layer should deplete the other way. This option defaults to false.
|
|
|
```
|
|
|
```yaml
|
|
|
function:
|
|
|
reversed: true
|
|
|
```
|
|
|
#### Example
|
|
|
```
|
|
|
```yaml
|
|
|
fill:
|
|
|
texture: # looking within the `/MythicHUD/textures/` folder
|
|
|
path: assets/vanilla/exp_bar_short_fill.png
|
... | ... | |