Jump to content
Rebel

Costume NPC and @costumeitem

Recommended Posts

Is it already included in the NEMO?

Share this post


Link to post
Share on other sites

anyone can update this working on rathena latest rev?

 

Share this post


Link to post
Share on other sites
On 4/15/2018 at 7:12 PM, Quesooo said:

anyone can update this working on rathena latest rev?

 

Not working in latest rAthena?

Share this post


Link to post
Share on other sites
Posted (edited)

Hi all,

I've taken the time to update this script and tested it on my server running latest version of rAthena (version at the time of writing Git Hash: f8d5d45).

Additional Changes

  • NPC name can now be easily customised by replacing 2nd argument in the function call at the bottom of npc/custom/etc/costume.txt
  • NPC checks whether the user already has the same item being restored equipped or in inventory and will prevent restoring.
  • Fixed/tweaked some typos and grammar for the NPC dialogue and atcommand messages.
  • costume.txt has been included inside the diff

Screenshot

screenChocobotRO010.thumb.jpg.a0ff6db06ffca4f21dbed55d3e6b69b9.jpg

Costume_System_v2.diff

Edit: I actually just discovered that the wonderful secretdataz had already updated the diff to work with newer versions of rAthena here (https://github.com/secretdataz/rathena/pull/8/files). The main differences to my edit is secret's also handles costuming garments and there is atcommand documentation. The diff I have uploaded comes with an updated NPC script.

Edited by latios
Found existing diff by secretdataz

Share this post


Link to post
Share on other sites

@latios

Thx for the update, but to be able to equip the costume you must have the requirements of the normal headgear

example :

a costume apple of archer require lvl 30 and can't equip by a novice

 

Share this post


Link to post
Share on other sites

@Captain

Yes, that's correct. Although a way around this is to "costume" the item on another character who can wear it and then put it in storage to transfer back to your other character to wear.

I don't believe the item permissions (storage/trade/drop/etc ...) are modified, so if you could trade it before you can still trade it after "costuming" the item.

Share this post


Link to post
Share on other sites

@latios

The problem is you can't equip the costume headgear if you not have the requirement of not costume headgear

example on novice with costume apple of archer :

549625262_bugcostume.PNG.89dea0c64e32b9088cd9663782015a7d.PNG

 

Share this post


Link to post
Share on other sites

@Captain Oh I see what you mean.

There is a nice example of how to remove this limitation in this thread: 

 

Hopefully that meets your needs.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.