Поиск по STEAMB

Игры и программы по онлайну, скины по объёму продаж

Ничего не найдено

Попробуйте другое название или переключите категорию.

Меню

Библиотеки

Item Glow Mask Library

Положительные голоса92%37 голосов игроков
Подписчики35,3 тыс.35 286 в Steam Workshop
Размер файла27,8 КБЗагрузка через Steam
Обновление автора28 февр. 2026 г.Дата обновления материала
Изображение 1 из 1
Установить через Steam

О материале

«Item Glow Mask Library» — материал мастерской tModLoader. Моды Terraria для tModLoader: новый контент, удобство игры и библиотеки. Для установки откройте оригинал в Steam Workshop, проверьте требования автора и подпишитесь. Совместимость с версией игры редакцией не проверена.

Описание автора

This simple library mod allows modders to add custom item and armor glow textures to the items they wanna add without all the hustle.

Most modded items rely on adding new player layers and item sprite layers in order to add glow masks, which isn't exactly efficient.

This mod edits TextureAssets.GlowMask and Item.glowMask to allow the addition of modded glow textures. This also means that it uses the VANILLA glow mask rendering code for both consistency and compatibility.

How to use?

In your build.txt file, add this mod to the modReferences list:

displayName = Your Mod author = Your Name version = 0.1 modReferences = GlowMask

In your Mod.cs file, add this instruction to the Load() function:


public class YourMod : Mod
{
	public override void Load() {
		GlowMask.GlowMask.RegisterGlowMasks(this);
	}
}

The rest is just adding "_Glow" textures for your items just like you would with projectiles:

*YourItemSprite.png *YourItemSprite_Glow.png

For armor, you just have to add "_Glow" to the end of the armor's sprite name:

*YourArmorSprite_Head.png *YourArmorSprite_Head_Glow.png *YourArmorSprite_Body.png *YourArmorSprite_Body_Glow.png *YourArmorSprite_Legs.png *YourArmorSprite_Legs_Glow.png

If you want to override the armor's glow mask color, you can do this:


public class YourArmorItem : ModItem
{
	public override void SetDefaults() { //This only works here! It crashes elsewhere!
		GlowMask.GlowMask.OverrideArmorGlowColor(this, whateverColorYouWant);
	}
}

Everything else is handled AUTOMATICALLY, you don't need to do anything.

Known issues: Not compatible with animated textures as the vanilla code also doesn't support it.

Developed By n0t_UN_Owen

Оригинал в Steam Workshop

Как установить и запустить

Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.

Настройки cookies

Вы можете изменить выбор в любой момент. Отказ от аналитики не ограничивает доступ к сайту.

Технологии, провайдеры и сроки хранения