Help - Search - Members - Calendar
Full Version: Where do I change the Skill TYPE icons?
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Ace Discussion
Lato
Ok I was updating a few things and in battle I noticed the skill type icons, like whatever you would call magic or sword skill, doesnt have the icons that really goes along with it. I tried looking in the editor for it but it only seems to let you make and delete the skill types not change the icon that is shown in battle with it, so I assume this requires a script edit? If so where?
ZarroTsu
Can you post a screenshot of the situation?
Lato
QUOTE (ZarroTsu @ Nov 12 2012, 05:24 PM) *
Can you post a screenshot of the situation?




Here you can see the char selected is a sword user from the pic, yet when you look at his abilities listed to the right, it shows his skill type icon as a AXE, so where do I change them?
ZarroTsu
It seems you're using a custom script (the icons of which are being pulled and used by this script), which means it could be pulling it in any number of ways. If the script you're using happened to be packaged with additional resources, they're likely being pulled from those resource files. However, more likely they're pulling from the iconset manually by script, meaning you're likely going to have to do some spelunking in the script editor to find out where and in what way.

Fortunately, as far as the default works-perfectly-fine-so-why-change-it commands go, "draw_icon" is used to... draw icons. The firstmost object in this functon call is the "index" of the icon used, usually pulled from the skill or item itself. In this case, chances are it's pulling a raw number. But which number?

Fortunately, VXace comes with a neat little cheat I only just now noticed:



Since "draw_icon" is structured in such a way that the index is pulled first, you can simply search through the code for "draw_icon(116" in this case, and it should find at least one result, somewhere. Change the number, "116", to whatever icon you'd like to replace this, which you can reference either by counting icons on the list (topleftmost being 0, and each icon read left-to-right adding 1), or using the little box shown in the above screenshot.
Lato
Eh my scripting knowledge is a little weak, so your saying somewhere in the custom scripts is the line "draw Icon" and whatever #s are in there control what is shown in combat?
Clord
QUOTE (Lato @ Nov 13 2012, 05:59 AM) *
Eh my scripting knowledge is a little weak, so your saying somewhere in the custom scripts is the line "draw Icon" and whatever #s are in there control what is shown in combat?

Yanfly Engine Ace - Command Window Icons

Customizing starts from the line 57.

Just use a matching string and then choose the icon index for that string.
Lato
Ah thank you guys happy.gif I learned something new today, now the skills look much better.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.