Thread Tools Display Modes
06/15/22, 06:02 PM   #1
def venom
AddOn Author - Click to view addons
Join Date: Jun 2022
Posts: 1
OdySupportIcons Custom Icon Packs?

I'm trying to make a custom icon pack to upload as an addon, and I'm not sure what I'm doing wrong. The icons don't show up in the Change Custom Icons > Texture option.

I have my folder, "DefsMemeIcons", placed in the AddOns folder. Inside is the .txt and .lua with the same name, and the "icons" folder with all the icons. I also tried putting it in the OdySupportIcons folder.

.txt
Code:
; This Add-on is not created by, affiliated with or sponsored by ZeniMax Media
; Inc. or its affiliates. The Elder Scrolls and related logos are registered
; trademarks or trademarks of ZeniMax Media Inc. in the United States and/or
; other countries. All rights reserved.
; https://account.elderscrollsonline.com/add-on-terms

## Title: Def's Meme Icons
## APIVersion: 101034
## IsLibrary: false
## DependsOn: OdySupportIcons

DefsMemeIcons.lua
.lua
Code:
local ADDON_NAME  = "DefsMemeIcons"
local MY_TEXTURES = {
    "DefsMemeIcons/icons/sam.dds",
    "DefsMemeIcons/icons/santa.dds",
    "DefsMemeIcons/icons/princess.dds",
    "DefsMemeIcons/icons/dag.dds",
    "DefsMemeIcons/icons/gary.dds",
    "DefsMemeIcons/icons/garyfr.dds",
    "DefsMemeIcons/icons/shh.dds",
    "DefsMemeIcons/icons/spongebruh.dds",
    "DefsMemeIcons/icons/teef.dds",
    "DefsMemeIcons/icons/sweat.dds",
    "DefsMemeIcons/icons/pika.dds",
    "DefsMemeIcons/icons/spongewhat.dds",
    "DefsMemeIcons/icons/pepescam.dds",
    "DefsMemeIcons/icons/rip.dds",
    "DefsMemeIcons/icons/pepepray.dds",
    "DefsMemeIcons/icons/pepewake.dds",
    "DefsMemeIcons/icons/poohwtf.dds",
    "DefsMemeIcons/icons/poopblush.dds",
    "DefsMemeIcons/icons/poopsmirk.dds",
    "DefsMemeIcons/icons/sally.dds",
    "DefsMemeIcons/icons/pug.dds",
    "DefsMemeIcons/icons/pepephone.dds",
    "DefsMemeIcons/icons/pepenote.dds",
    "DefsMemeIcons/icons/pepelook.dds",
    "DefsMemeIcons/icons/pepeknife.dds",
    "DefsMemeIcons/icons/pepegrin.dds",
    "DefsMemeIcons/icons/ohno.dds",
    "DefsMemeIcons/icons/nyanya.dds",
    "DefsMemeIcons/icons/nootlikethis.dds",
    "DefsMemeIcons/icons/nobitches.dds",
    "DefsMemeIcons/icons/mrbubz.dds",
    "DefsMemeIcons/icons/monkathink.dds",
    "DefsMemeIcons/icons/hamster.dds",
    "DefsMemeIcons/icons/froggers.dds",
    "DefsMemeIcons/icons/frogfaint.dds",
    "DefsMemeIcons/icons/frogblush.dds",
    "DefsMemeIcons/icons/end.dds",
    "DefsMemeIcons/icons/cry.dds",
    "DefsMemeIcons/icons/concern.dds",
    "DefsMemeIcons/icons/catwink.dds",
    "DefsMemeIcons/icons/catsmile.dds",
    "DefsMemeIcons/icons/catsalad.dds",
    "DefsMemeIcons/icons/catgun.dds",
    "DefsMemeIcons/icons/catgrumpy.dds",
    "DefsMemeIcons/icons/catfurjoy.dds",
    "DefsMemeIcons/icons/catbutt.dds",
    "DefsMemeIcons/icons/catangry.dds",
    "DefsMemeIcons/icons/ahegao.dds",
}
EVENT_MANAGER:RegisterForEvent( ADDON_NAME, EVENT_ADD_ON_LOADED, function( _, addonName ))
    if addonName ~= ADDON_NAME then return end
    EVENT_MANAGER:UnregisterForEvent( ADDON_NAME, EVENT_ADD_ON_LOADED )
    -- check if OdySupportIcons is active and supports unique icon packs
    if OSI and OSI.AddUniqueIconPack then
        -- add your list of icons
        OSI.AddUniqueIconPack( MY_TEXTURES )
    end
end )
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » OdySupportIcons Custom Icon Packs?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off