Change Equipment Skin

AnnieRuru

~~Cute~Cute~Scripter~~
Messages
1,677
Points
0
Location
your next door ~
Discord
AnnieRuru#1609
Github
AnnieRuru
Emulator
Client Version
2019-05-30aRagexeRE
https://rathena.org/board/topic/117831-showcase-weapon-skin/.
https://github.com/rathena/rathena/issues/1779

got people ask how to do that ...
so I write a plugin for it

Download: 1.1
plugin
 

also need to add a file in conf/import/change_equipment_skin.conf

change_equipment_skin: (
{
Type: "LOOK_WEAPON"
ItemID: 24001
SkinID: 1238
},
//{
// Type: "LOOK_SHIELD"
// ItemID: 24002
// SkinID: 2101
//},
)


When player equip a shadow weapon ID 24001, will show the weapon look 1238, which is Zeny_Knife

"@reloadequipmentskin" will reload this file ...

Note: yes, the clif->sendlook is extremely messy, I attempt to make this support change shield skin
but for dunno what reason, equip a shield telling the client changing LOOK_WEAPON ... WTF !!
if anybody knows how to make it support shield, I'm open to suggestion

0.1
- initial draft

0.2
- apply the libconfig format

0.3
- apply vector

0.4 - plugin
- shield are send as LOOK_WEAPON .... bullshit

1.0 - plugin
- release with just the weapon look

1.1 - plugin
- display a message for file not found
- fix memory leak on VECTOR_ENSURE

 
Last edited by a moderator:
1.1 - plugin
- display a message for file not found
- fix memory leak on VECTOR_ENSURE

 
This is really cool addition the only problem is that Assassin does not have sprite for this. Katar always shows as dagger sprite. Not sure if this issue exists on all the latest clients.

 
This is really cool addition the only problem is that Assassin does not have sprite for this. Katar always shows as dagger sprite. Not sure if this issue exists on all the latest clients.
are you wearing katar but it shows dagger? maybe you need to equip same weapon class for this?

 
are you wearing katar but it shows dagger? maybe you need to equip same weapon class for this?
Sorry mixed it up. The real problem is when you're wearing a DAGGER sprite it won't show up for both hands and will use the default dagger so the only solution to this right now is to use a katar costume weapon that looks like a dagger hehehe...

 
Sorry mixed it up. The real problem is when you're wearing a DAGGER sprite it won't show up for both hands and will use the default dagger so the only solution to this right now is to use a katar costume weapon that looks like a dagger hehehe...
is it working can i see?

 
Back
Top