Thread: 742 Drawing Map & Mini-map Sprites

Results 1 to 7 of 7
  1. #1 742 Drawing Map & Mini-map Sprites 
    Donator

    Join Date
    Nov 2017
    Posts
    268
    Thanks given
    37
    Thanks received
    18
    Rep Power
    19
    Hello, I was trying to find out how to redraw map and mini-map sprites. What I mean by this is for my new home set-up I'm trying to put the correct map icons above the shop locations, for example.
    Say I wanted to put the herblore supplies shop in Falador's shield shop building, I want to put the herblore shop sprite on the minimap and world map there instead of shield shop sprite.
    Attached image
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Jul 2011
    Posts
    570
    Thanks given
    135
    Thanks received
    142
    Rep Power
    291
    Minimap icons I believe in 718 are invisible objects. So you need to add the invisible objects to the map. I do not know the ids.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    May 2013
    Age
    27
    Posts
    414
    Thanks given
    215
    Thanks received
    200
    Rep Power
    137
    Some objects also have map icons, like some stair cases for dungeon icons, etc. You can loop through object definitions to find the map icon ids. I'm not sure what the opcode is off the top of my head though.
    Reply With Quote  
     

  4. #4  
    Registered Member
    hc747's Avatar
    Join Date
    Dec 2013
    Age
    26
    Posts
    1,474
    Thanks given
    3,312
    Thanks received
    691
    Rep Power
    1098
    Fairly sure it was https://www.rune-server.ee/members/chryonic/ who released this information; not sure where though.
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Dec 2009
    Posts
    774
    Thanks given
    367
    Thanks received
    455
    Rep Power
    927
    You must edit the worldmap index in your cache for this.
    link removed
    Reply With Quote  
     

  6. Thankful user:


  7. #6  
    van 't stad

    Shnek's Avatar
    Join Date
    Oct 2013
    Posts
    1,065
    Thanks given
    343
    Thanks received
    297
    Rep Power
    109
    Those icons are objects of type 22. Note that spawning them server side won't work (without modifications), the best way to do this is to editr the object layer of the map (index 5)

    Here's a list of ids I collected so far.

    Spoiler for icons:

    738 : mini-game icon
    775 : agility
    2733 - general store [mapFunctionID: 0]
    2734 - sword [mapFunctionID: 1]
    2735 - fire [mapFunctionID: 2]
    2736 - helm [mapFunctionID: 3]
    2737 - bank [mapFunctionID: 4]
    2738 - quest [mapFunctionID: 5]
    2739 - golden necl [mapFunctionID: 6]
    2740 - golden necl(confirmed)[mapFunctionID: 7]
    2741 - mining [mapFunctionID: 8]
    2742 - smithing [mapFunctionID: 9]
    2743 - training dummy [mapFunctionID: 10]
    2744 - warning sign [mapFunctionID: 11]
    2745 - empty? [mapFunctionID: 12]
    2746 - staff (confirmed)[mapFunctionID: 13]
    2747 - tshirt [mapFunctionID: 14]
    2748 - pants I guess? [mapFunctionID: 15]
    2749 - sword [mapFunctionID: 16]
    2750 - arrow [mapFunctionID: 17]
    2751 - shield [mapFunctionID: 18]
    2752 - altar [mapFunctionID: 19]
    2753 - herb [mapFunctionID: 20]
    //nothing usefull here lmao
    2755 - null [mapFunctionID: 22]
    2756 - null [mapFunctionID: 23]
    2757 - null [mapFunctionID: 24]
    2758 - null [mapFunctionID: 25]
    2759 - fishing [mapFunctionID: 26]
    2760 - null [mapFunctionID: 27]
    2761 - null [mapFunctionID: 28]
    2762 - null [mapFunctionID: 29]
    2763 - null [mapFunctionID: 30]
    //all empty?
    5118 - slayer icon? [mapFunctionID: 51]
    5119 - scissor? [mapFunctionID: 52]
    5120 - human face [mapFunctionID: 54]
    7054 - question mark [mapFunctionID: 55]
    7389 - travel arrow [mapFunctionID: 56]


    8719 - spade [mapFunctionID: 53]
    8720 - nothing? [mapFunctionID: 6]
    8721 - plant pot [mapFunctionID: 58]
    8722 - weaving [mapFunctionID: 59]
    8723 - idk what pot [mapFunctionID: 60]


    9393 - sword [mapFunctionID: 1]
    9394 - fire [mapFunctionID: 2]
    9395 - bank [mapFunctionID: 5]
    9396 - gem [mapFunctionID: 22]
    9397 - mini-game [mapFunctionID: 38]


    9678 - water [mapFunctionID: 39]
    10095 - butter maker [mapFunctionID: 61]

    15531 - home portal [mapFunctionID: 57]
    15532 - house [mapFunctionID: 67]
    15533 - sawmill [mapFunctionID: 68]
    15534 - idk hammer or something? [mapFunctionID: 69]

    17030 - shortcut [mapFunctionID: 70]

    19750 - hunter [mapFunctionID: 63]
    19751 - other hunter icon [mapFunctionID: 65]

    20132 - present [mapFunctionID: 72]
    20989 - sand [mapFunctionID: 73]

    21655 - tree stump [mapFunctionID: 71]
    23590 - achievement icon [mapFunctionID: 74]
    26219 - 2 bars? [mapFunctionID: 75]


    //TODO
    27990 - null [mapFunctionID: 78]
    27991 - flax? [mapFunctionID: 79]
    27992 - logs [mapFunctionID: 80]
    27993 - sword with shield [mapFunctionID: 81]
    27994 - special rock [mapFunctionID: 82]
    27996 - runecrafting icon [mapFunctionID: 84]
    Attached image

    Do not use the vps from ovh, blocking vps without reason and no customer support
    Reply With Quote  
     

  8. Thankful users:


  9. #7  
    Donator

    Join Date
    Nov 2017
    Posts
    268
    Thanks given
    37
    Thanks received
    18
    Rep Power
    19
    Quote Originally Posted by Shnek View Post
    Those icons are objects of type 22. Note that spawning them server side won't work (without modifications), the best way to do this is to editr the object layer of the map (index 5)

    Here's a list of ids I collected so far.

    Spoiler for icons:

    738 : mini-game icon
    775 : agility
    2733 - general store [mapFunctionID: 0]
    2734 - sword [mapFunctionID: 1]
    2735 - fire [mapFunctionID: 2]
    2736 - helm [mapFunctionID: 3]
    2737 - bank [mapFunctionID: 4]
    2738 - quest [mapFunctionID: 5]
    2739 - golden necl [mapFunctionID: 6]
    2740 - golden necl(confirmed)[mapFunctionID: 7]
    2741 - mining [mapFunctionID: 8]
    2742 - smithing [mapFunctionID: 9]
    2743 - training dummy [mapFunctionID: 10]
    2744 - warning sign [mapFunctionID: 11]
    2745 - empty? [mapFunctionID: 12]
    2746 - staff (confirmed)[mapFunctionID: 13]
    2747 - tshirt [mapFunctionID: 14]
    2748 - pants I guess? [mapFunctionID: 15]
    2749 - sword [mapFunctionID: 16]
    2750 - arrow [mapFunctionID: 17]
    2751 - shield [mapFunctionID: 18]
    2752 - altar [mapFunctionID: 19]
    2753 - herb [mapFunctionID: 20]
    //nothing usefull here lmao
    2755 - null [mapFunctionID: 22]
    2756 - null [mapFunctionID: 23]
    2757 - null [mapFunctionID: 24]
    2758 - null [mapFunctionID: 25]
    2759 - fishing [mapFunctionID: 26]
    2760 - null [mapFunctionID: 27]
    2761 - null [mapFunctionID: 28]
    2762 - null [mapFunctionID: 29]
    2763 - null [mapFunctionID: 30]
    //all empty?
    5118 - slayer icon? [mapFunctionID: 51]
    5119 - scissor? [mapFunctionID: 52]
    5120 - human face [mapFunctionID: 54]
    7054 - question mark [mapFunctionID: 55]
    7389 - travel arrow [mapFunctionID: 56]


    8719 - spade [mapFunctionID: 53]
    8720 - nothing? [mapFunctionID: 6]
    8721 - plant pot [mapFunctionID: 58]
    8722 - weaving [mapFunctionID: 59]
    8723 - idk what pot [mapFunctionID: 60]


    9393 - sword [mapFunctionID: 1]
    9394 - fire [mapFunctionID: 2]
    9395 - bank [mapFunctionID: 5]
    9396 - gem [mapFunctionID: 22]
    9397 - mini-game [mapFunctionID: 38]


    9678 - water [mapFunctionID: 39]
    10095 - butter maker [mapFunctionID: 61]

    15531 - home portal [mapFunctionID: 57]
    15532 - house [mapFunctionID: 67]
    15533 - sawmill [mapFunctionID: 68]
    15534 - idk hammer or something? [mapFunctionID: 69]

    17030 - shortcut [mapFunctionID: 70]

    19750 - hunter [mapFunctionID: 63]
    19751 - other hunter icon [mapFunctionID: 65]

    20132 - present [mapFunctionID: 72]
    20989 - sand [mapFunctionID: 73]

    21655 - tree stump [mapFunctionID: 71]
    23590 - achievement icon [mapFunctionID: 74]
    26219 - 2 bars? [mapFunctionID: 75]


    //TODO
    27990 - null [mapFunctionID: 78]
    27991 - flax? [mapFunctionID: 79]
    27992 - logs [mapFunctionID: 80]
    27993 - sword with shield [mapFunctionID: 81]
    27994 - special rock [mapFunctionID: 82]
    27996 - runecrafting icon [mapFunctionID: 84]
    Thank all of you!
    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. World map icon, deamonehim map and citadel map.
    By Taengo in forum Configuration
    Replies: 3
    Last Post: 01-11-2014, 09:32 PM
  2. Drawing onto the mini-map
    By Oxygen in forum Projects
    Replies: 4
    Last Post: 07-15-2009, 11:24 PM
  3. icons on mini map
    By Flippy in forum Help
    Replies: 1
    Last Post: 06-23-2009, 06:02 AM
  4. Mini map Prefectly round[Renamed]
    By Cody. in forum Help
    Replies: 0
    Last Post: 05-10-2009, 11:06 PM
  5. mini map placement
    By LastResortpkz in forum Help
    Replies: 0
    Last Post: 02-09-2009, 06:47 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
  •