Thread: [718] Adding a custom icon to a custom player rank

Results 1 to 8 of 8
  1. #1 [718] Adding a custom icon to a custom player rank 
    Registered Member Jgravenor's Avatar
    Join Date
    Feb 2015
    Posts
    57
    Thanks given
    14
    Thanks received
    1
    Rep Power
    11
    Hello i have added server support to my server, but I dont see any tutorials on how to do this. I see some that say use a cache editor, but I dont know how to use it.
    I want to add the server support icon to the rank and i can only find the icon with a square white background can anyone help me find a good icon to use? If anyone could assist me I would appreciate it.
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Jul 2015
    Posts
    71
    Thanks given
    10
    Thanks received
    25
    Rep Power
    0
    This should be in the help section, bud.
    Go into player.java and search for
    Code:
    getMessageIcon() {
    The number it returns will be your sprite, I am almost sure. It's been a while since I've used Matrix.

    Example:
    Spoiler for Java lesson :):
    If I wanted to make my veteran crown sprite 14, I would edit:
    Code:
    isVeteran() ? 11
    and make it
    Code:
    isVeteran() ? 14
    You can also add your own rank the same way, just make sure you know the structure of a ternary.

    Code:
    isSomething() ? ifItsTrue : ifItsFalse
    You can also do this, which calls upon another ternary if it's false.
    Code:
    isSomething() ? ifItsTrue : isSomething2() ? ifItsTrue : ifBothAreFalse
    Example:
    Code:
    	return isExtremeDonator() ? 9 : isDonator() ? 8 : getRights();
    Reply With Quote  
     

  3. #3  
    Registered Member Jgravenor's Avatar
    Join Date
    Feb 2015
    Posts
    57
    Thanks given
    14
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Ordinance View Post
    This should be in the help section, bud.
    Go into player.java and search for
    Code:
    getMessageIcon() {
    The number it returns will be your sprite, I am almost sure. It's been a while since I've used Matrix.

    Example:
    Spoiler for Java lesson :):
    If I wanted to make my veteran crown sprite 14, I would edit:
    Code:
    isVeteran() ? 11
    and make it
    Code:
    isVeteran() ? 14
    You can also add your own rank the same way, just make sure you know the structure of a ternary.

    Code:
    isSomething() ? ifItsTrue : ifItsFalse
    You can also do this, which calls upon another ternary if it's false.
    Code:
    isSomething() ? ifItsTrue : isSomething2() ? ifItsTrue : ifBothAreFalse
    Example:
    Code:
    	return isExtremeDonator() ? 9 : isDonator() ? 8 : getRights();

    thank you, do you know how i move it?

    so i need to use a sprite editor to add the server support icon?
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Jul 2015
    Posts
    71
    Thanks given
    10
    Thanks received
    25
    Rep Power
    0
    Quote Originally Posted by Jgravenor View Post
    thank you, do you know how i move it?

    so i need to use a sprite editor to add the server support icon?
    Move what, exactly? And yes, unless you're planning on using a sprite already there.
    Reply With Quote  
     

  5. #5  
    Registered Member Jgravenor's Avatar
    Join Date
    Feb 2015
    Posts
    57
    Thanks given
    14
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Ordinance View Post
    Move what, exactly? And yes, unless you're planning on using a sprite already there.
    i need to add this crown http://i.imgur.com/3EW6VtK.png to my server support rank, what is my first step?

    i have the rank already made.
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Jul 2015
    Posts
    71
    Thanks given
    10
    Thanks received
    25
    Rep Power
    0
    Quote Originally Posted by Jgravenor View Post
    i need to add this crown http://i.imgur.com/3EW6VtK.png to my server support rank, what is my first step?

    i have the rank already made.
    Add the sprite to the cache, and then identify it in the correct method. You have everything you need to complete what you're trying to do.
    Reply With Quote  
     

  7. #7  
    Registered Member chucky009's Avatar
    Join Date
    Aug 2011
    Posts
    355
    Thanks given
    1
    Thanks received
    26
    Rep Power
    0
    Quote Originally Posted by Jgravenor View Post
    i need to add this crown http://i.imgur.com/3EW6VtK.png to my server support rank, what is my first step?

    i have the rank already made.
    Pm me you're skype i'll help you out with custom ranks and crowns.
    Reply With Quote  
     

  8. #8  
    Sexy User
    User's Avatar
    Join Date
    Apr 2013
    Posts
    601
    Thanks given
    97
    Thanks received
    218
    Rep Power
    346
    Find and download steves sprite editor, open it up and load your cache

    It will show you a bunch of numbers type on your numberpad 1455 then you will see a bunch of crowns click the second panel where you should be seeing mod crown and then navigate until you get to the bottom where you will import your image and save, wait a second then close it and load your cache and the crown will be in your server. Try to ::yell <img=id> (the id will be whatever you made it inside the sprite editor - moderator was 0)

    Edit: I will give you the link to the one I used http://www.rune-server.org/runescape...te-editor.html
    Attached image
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 0
    Last Post: 01-30-2015, 10:12 AM
  2. Adding new map icons to a 317 client?
    By Obsidian in forum Help
    Replies: 4
    Last Post: 10-26-2014, 10:20 AM
  3. 718 adding some req's to comp cape
    By agulka in forum Help
    Replies: 1
    Last Post: 08-22-2014, 02:11 AM
  4. Adding Custom items to 718/742
    By samuni34 in forum Help
    Replies: 3
    Last Post: 05-24-2014, 04:01 PM
  5. [718] Adding a Crown next to a name
    By Amer in forum Help
    Replies: 6
    Last Post: 04-10-2014, 11:24 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •