Jump to content

[Please remove - uploaded a downloadable file instead] ConvertMapName function


pajodex

Recommended Posts


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   173
  • Joined:  12/12/17
  • Last Seen:  

As the title says, it will convert the server side name to client side name (or as you configure - I'm just using the mapnametable.txt as reference)

Usage - ConvertMapName(<mapname>);


mapname is the server side map name used in mapindex


Practical usage of this function is just to fancy up the mapnames on script. For example on mvp or pvp announcers, instead of announcing 'prt_fild08', it will show as 'Prontera Field F8' as per the default listed in the Loader NPC.

You can modify the Loader NPC as much  as you want. It is best to add both the function and the loader npc on 'Global_function.txt' so it will always be loaded first.
This script is only for those who are just very particular on fancy details, otherwise, don't use this function if you have no idea what I mean.

Sample NPCs are attached in the script itself.

 

-- oopps, I will reupload as a downloadable file instead of a topic. If any mods can remove this please. Sorry.

convertmapname.txt

Edited by pajodex
  • MVP 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.02
  • Content Count:  1016
  • Reputation:   191
  • Joined:  11/27/14
  • Last Seen:  

rAthena should apply this on master it will be more informative and very user friendly 

Link to comment
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...