Skill Icons
Note
This will only explain the client side, please visit the original topic for more information about the server-side of it, if it's explained.
Disclaimer
I don't take any credit for the copied guide.
First of all you need the data files, those are:
Info
- Sprite and Act of your custom icon.
- Item Bmp of your custom Icon.
IMPORTANT
The icon need to be named exactly as the skill name displayed in the DB,
if you don't know it, you have 2 choices, open skill_db.txt or login into your server
and use the command @skillid "name" to confirm.
RO data.grf brought 3 party icons as default, but the name was changed and I had to rename it according to the Skill Name in the skill_db.yml
It need to be named exactly as the skill name, also need to be bmp size 24x24
Guide
1. Place your custom Icon Sprite and Act in data/sprite/¾ÆÀÌÅÛ
2. Place the Custom Icon BMP in data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/item
3. Editing Lua Files
Some Skills do not exist in the lua files and the must be added,
because files are conected and they take each other names as reference to read information,
for example if you only add the sprites and bmp, it doesn't guarantee that your skill will show the icon,
just because you added files with the name.
4. Go to data\luafiles514\lua files\skillinfoz
skillid.lub
In this file you need to check if your current skill exist! if not, you need to add a new one according to the skill name, and skillid number.
skilldescript.lub
In this file if your customized icon belong to a non-included skill in this file, you will have to add or include the new skill, because a name need to be taken as reference there.
!!! example
Party Skills are not included in the txt skilldescript.lub, in order to recognize the custom icon, the skill must be created or added into that file.
You can do the same for other skills such as Darkstrike, Dragon Fear, etc, respecting the lime formats of the luafiles " ",
skillinfolist.lub
This file include a list of every skill registered, of course if you use an icon for a new skill, you need to add the skill in this file.
This file also display son information in the game skill window.
Structure
This information do not affect the skill structure in game, but it is necessary
because its used to display information when scrolling mouse over the skill icon,
and casting ranged skills, if you cast a skill no included in this file,
maybe the range will not be recognized and it will pop up a warning of cant get skill range.
SKILL_CONSTANT
This should be the same as your server side.
ICON_NAME
File name of the icon
SkillName
Defines the skill name to be displayed on skill tree and when casting
MaxLv
Defines the Max Level of the Skill
SpAmount
Defines SP consumed by level according to the skilldb structure
and also will be shown in the player skill window
bSeperateLv
Controlls if a Skill Level can be selected or not
* true = yes
* false = n
AttackRange
Defines the attack range per skill level