Update ResourcePack Generator authored by Miguel Endes's avatar Miguel Endes
...@@ -59,10 +59,14 @@ All assets are generated in the `mythic:` namespace to avoid conflicts, includin ...@@ -59,10 +59,14 @@ All assets are generated in the `mythic:` namespace to avoid conflicts, includin
## Fonts ## Fonts
Configured via the `font-images.yml` file.
Allows you to define custom image that is assigned to a special font characters that can be used in placeholders. Only the bitmap type is supported at this time. Can be found and used inside [packs]. Allows you to define custom image that is assigned to a special font characters that can be used in placeholders. Only the bitmap type is supported at this time. Can be found and used inside [packs].
The file can contain multiple "entries". Each entry looks something like this: Configured via the `font-images.yml` file.
You can create this yml file in the following directory:
`\plugins\MythicMobs\Packs\<yourPack>\font-images.yml`
The `font-images.yml` file can contain multiple "entries". Each entry looks something like this:
```yaml ```yaml
Donut: Donut:
Type: bitmap Type: bitmap
...@@ -71,6 +75,11 @@ Donut: ...@@ -71,6 +75,11 @@ Donut:
Ascent: 7 Ascent: 7
Height: 15 Height: 15
``` ```
For a crucible pack to read the images, you must include them inside `\plugins\MythicMobs\Packs\<yourPack>\assets\textures\unicode`, and then, from there, you can specify whatever sub-folders you want. For the following example, you would need to have a file donut.png inside the following folder structure:
`\plugins\MythicMobs\Packs\<yourPack>\assets\textures\unicode\coverscreen`
These can be accessed using the placeholder <fontimage.donut> and can be used with the Text projectiles. These can be accessed using the placeholder <fontimage.donut> and can be used with the Text projectiles.
The `Ascent` and `Height` options can be left empty: those values can be automatically calculated by Crucible if not specified. The `Ascent` and `Height` options can be left empty: those values can be automatically calculated by Crucible if not specified.
... ...
......