じ☆ve冰风 发表于 2026-7-27 08:02:45

Other IconSet, for Yanfly's ItemCore and ShopMenuCore

This allows you to use another IconSet in Yanfly Item Core and Shop Menu Core. Screenshots below.


How to use


                Put this below Yanfly Item Core and/or Shop Menu Core plugins. Configure this plugin parameters. They are pretty self explainable:
                - Icon Image: the filename of the IconSet. You should omit the file extension.
                - Icon Width and Height: the size of the icon inside your iconset.
                - Icon Smooth: need anti alias? Probably yes.


                Then write in the item / skill / weapon / armor notetag the icon's place in your new iconset.


                If you don't write anything in the notetag it will load the default IconSet as it was by default.


Note: the first icon starts at row 0 and column 0.


                <bicon row: x>
                <bicon column: y>


Screenshots

Setup of the item:

Spoiler
http://puu.sh/lfIYZ/5d0acb0ddd.png







        In game with the new IconSet:

Spoiler
http://puu.sh/lfIFz/291ea2ad03.png







        In game with the default IconSet (didn't setup this item so it goes back to the default):

Spoiler
http://puu.sh/lfJ1k/33b2696782.png









New screenshots (in english)



                Item:

Spoiler
http://puu.sh/mDGgy/a5e9db9b12.jpg







                In Shop: 

Spoiler
http://puu.sh/mDGjR/92422bc50a.jpg







                With a weapon:

Spoiler
http://puu.sh/mDGu5/7f84469a67.jpg





License


        This uses Yanfly's Item Core plugin. Use his/her license. From my part, use at will  


        The icons in this example were taken from http://game-icons.net/ and they license them as Creative Commons v3. Read more here: http://game-icons.net/about.html



Downloads


        Hint: click the RAW button and save its contents.


        Plugin: https://github.com/bsides/rpgmakermv/blob/master/BSD_OtherIconSet.js - save it as BSD_OtherIconSet.js
        OtherIconSet example (1.78mb): https://github.com/bsides/rpgmakermv/blob/master/img/system/OtherIconSet.png


Changelog
        1.1: Now supports Yanfly's ShopMenuCore. Rows and columns traded places (was wrong before, sorry!).
        1.0: Published.


        PS - I don't know if this is the best way to write an extension, but I know it works. If you have any suggestion or criticism, please let me know.


本贴来自国际rpgmaker官方论坛作者:bsides处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/other-iconset-for-yanflys-itemcore-and-shopmenucore.50732/
页: [1]
查看完整版本: Other IconSet, for Yanfly&#039;s ItemCore and ShopMenuCore