Entry 9?: Creating weapon affinity icons for additional weapon types.
I want to start this by saying I did not discover this. Juan on the discord did. He found this out so full credit goes to him. I just want to make sure more people can see it.
Having additional weapon types in your hack I think is really cool. However, for those who try to make their hack as professional looking as possible, its a bit of a bummer when you your player sees an icon like this for your additional weapon types:
As you can see, the affinity icon is a jumbled mess of pixels and does not look nice.
So lets fix that!
Step 1: Prerequisites
There are a couple of things to note and you need to get started.
- VelvetKitsune’s Unlimited Weapon Types
- Skill System Custom Build. I’m using the old skill system, but this should work with Mokha’s modern skill system.
- This StrorMagDamage.S File. You will need to reassemble it if you want the damge of your new weapon types to calculate correctly. I know it kind of breaks the rules of this thread but you can do this with the monster weapon types which does calculate correctly.
- An image editor that can keep the color pallet of an image intact. I personally recommend Usenti.
Go ahead and install all three of these things and you will be ready to be begin.
Step 2: Create your weapon.
For this example, I created a Flail and a Flail weapon type.
Go ahead and do the usual stuff for setting up a weapon, but there are a few extra things you need to do.
- Choose a weapon type number greater than
B. This number is important as I will explain below.
- You will need to setup a weapon lock on the weapon, otherwise everyone can use it.
- Make sure you set up a weapon description, otherwise it may bug out.
- You must set the weapon level to “–”, otherwise it will become completely unusable.
So the reason why the weapon type number is important is because the number you pick will determine which supply location it will end up in. 10 will go to swords, 11 will go to lances, 12 to axes and so on. I can’t really recommend going higher than 17 or 18. Hopefully you won’t need that many additional weapon types.
In this example, I am using slot 12 since a Flail is a heavy weapon similar to an Axe. Ignore that it says “Dancer’s Ring”. Weapon types after B really don’t matter all that much.
Step 3: Naming your Weapon Type.
If you decide to stop here, you will notice in game that your weapon looks like this:
You can change the weapon type name the text addresses around
12C. Since I used weapon type 12, I’ll be using 12C.
The other addresses around this spot will affect the other weapon types as well. So if you aren’t using 12, you should find the other text address you are looking for right next to ‘12C’
Step 4: Creating the Affinity Icon list.
Now for the actual reason you came here.
Head to the Event Assmbler and Take note of the “Free Area” Address. Jot this down somewhere.
Next head to “Patches” and find the
IconRework WRankIcons(Requires Skill System Patch) and open its graphics editor. Change the “Height / 8” to the weapon type number you have selected. In this example, I picked 12 in hex, which is 19 in decimal. 19 * 2 = 38. So that is what I will change it to. You can increase this number depending on how many weapon types you have.
Then export this image.
Open your image in a program like usenti and draw in your weapon affinity icon. Fill in all the other spaces with the background color.

Step 5: Inserting your affinity Icons
Back at IconRework WRankIcons(Requires Skill System Patch), you should see an image address for this sheet. Go ahead and replace that address with the “Free Area” address we wrote down earlier and hit "Write. You may need to refresh to see that image has now gone black.
Open up the Graphics editor again and change the height to what ever value you set earlier. For me, it was 38.
Now go ahead and import your edited Weapon affinity sheet we just made using the import Image button.
If looks like nothing changed, expand the window downward and you should see your new icons!
And that’s it! Go ahead and head back in game and see the finished results for yourself!
I hope this helped people because it certainly helped me. Juan, you are a life saver!
Sadly you can’t make weapon ranks and what not, but with this, you can recreate most of the functionality of the vanilla weapons.