Dynamic NPC Portraits
Фото и видео: 1 из 3. Материалы автора из Steam Workshop.
О материале
«Dynamic NPC Portraits» — материал мастерской tModLoader. Моды Terraria для tModLoader: новый контент, удобство игры и библиотеки. Для установки откройте оригинал в Steam Workshop, проверьте требования автора и подпишитесь. Совместимость с версией игры редакцией не проверена.
Описание автора
Have you ever wished NPCs had more character when they speak?
This is a client-side mod that adds a customizable portrait image holder to show during NPC dialog: you can have it display a different image for every distinct line of dialog
To use this mod, go to the tModLoader user data folder (usually in a folder like 'Documents/My Games/Terraria/tModLoader/") and find/create a folder "Portraits" as well as an "entries.txt" file
-
The "Portraits" folder should contain the text file with all locale-string/relative-portrait-image-path pairs you want this mod to use, as well as all of the portrait images.
- The portrait images should be PNGs, and it is recommended that they are 200x200 and formatted in a similar way to how 1.4.5 Terraria formats their portrait images
-
"entries.txt" should be a file with two-valued comma-separated entries of the form 'locale.string,relative.path.of.portrait.image', each on a new line. This mod will read this file and associate each portrait image with the respective locale string **or NPC
- '*locale.string*' is the locale string corresponding to an NPC dialog: you can find these in localisation .json files for vanilla Terraria or .hjson files for mods
- 'relative.path.of.portrait.image' will be interpreted as the file path "(tModLoader user data folder)/Portraits/relative/path/of/portrait/image.png"
- So, if an NPC gives dialog that uses '*locale.string*' as the localisation key, then a portrait will be displayed using the image at "(tModLoader user data folder)/Portraits/relative/path/of/portrait/image.png" as the portrait image
- **Instead of a portrait image displaying for a specific locale string, you can have it display by default (i.e. anytime an NPC's dialog does not correspond to a locale string) by replacing 'locale.string' with '[vanilla NPC ID]' for a vanilla NPC or '[ModName.NPCName]' for a modded NPC
Developed By Castled
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.