___________________________________________________________________________________________________________________________
With this mod installed, you can create custom sign templates using JSON notation and apply a template to a specific sign when it is placed.
Usage
With templates installed, simply hold down the mod key (default LeftShift) when placing a sign (or any object) designated by the template file and a dialogue will open asking you which template to apply to the sign.
Templates
Templates are added via Content Patcher. An example patch is as follows:
{ "Format": "1.23.0", "Changes": [ { "Action": "EditData", "Target": "aedenthorn.CustomSigns/dictionary", "Entries": { "Welcome Sign": { "packID": "aedenthorn.CPCustomSignTest", "tileWidth": 4, "tileHeight": 1, "types": [ "Wood Sign" ], "scale": 4 "text": [ { "text": "Welcome to", "X": 128, "Y": 24, "center": true, "fontPath": "Fonts\SmallFont", "scale": 1 }, { "text": "{{FarmName}} Farm", "X": 126, "Y": 45, "fontPath": "Fonts\SpriteFont1", "scale": 1, "color": { "R": 50, "G": 100, "B": 0, "A": 255 } }, { "text": "{{FarmName}} Farm", "X": 128, "Y": 47, "fontPath": "Fonts\SpriteFont1", "scale": 1, "color": { "R": 100, "G": 255, "B": 100, "A": 255 } } ], "texturePath": "aedenthorn.CustomSigns/4xWoodSign" } } }, { "Action": "Load", "Target": "aedenthorn.CustomSigns/4xWoodSign", "FromFile": "assets/4xWoodSign.png" } ] }
"Target" is the path to this mod's dictionary, don't change it.
Each entry in the dictionary can have the following keys:
Objects in the text array have the following fields:
You can reload all template files by pressing LeftShift + F5 (customizable)
For an example sign content pack, take a look at Welcome Signs.
About Project
Created: September 7th 2023
Updated: September 7th 2023
Project ID: 80801
License: All Rights Reserved
__________________________________________
Game Versions:
1.01.03
1.01.03
1.01.03
1.01.03
1.01.03
__________________________________________
Flavors:
WoW Retail
__________________________________________
Categories
Companions
Battle
__________________________________________
Main File
September 7th 2023
__________________________________________
Recent File
September 7th 2023
__________________________________________
Members
__________________________________________
Report