Jump to content

Search the Community

Showing results for tags 'tutotrial'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Bulletin Centre
    • Community News
    • Repository News
    • Ragnarok News
  • Hercules Development Centre
    • Development Discussion
    • Suggestions
    • Development Centre Archives
  • Support & Releases
    • General Server Support
    • Database
    • Scripting
    • Source
    • Plugin
    • Client-Side
    • Graphic Enhancements
    • Other Support & Releases
  • Hercules Community
    • General Discussion
    • Projects
    • Employment
    • Server Advertisement
    • Arts & Writings
    • Off Topic
  • 3CeAM Centre
    • News and Development
    • Community
  • International Communities
    • Filipino Community
    • Portuguese Community
    • Spanish Community
    • Other Communities

Categories

  • Client Resources
  • Graphic Resources
    • Sprites & Palettes
    • Maps & Textures
    • Other Graphics
  • Server Resources
    • Server Managers / Editors Releases
    • Script Releases
    • Source Modifications
    • Plugins
    • Pre-Compiled Server
  • Web Resources

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Discord


Skype


IRC Nickname


Website URL


Location:


Interests


Github

Found 1 result

  1. Hello Hercules Community, Here's a Guide to Add a New Custom Status Icons(the one displayed on the right) What you Need? Knowledge of Editing and Compiling Server(and ofcourse custom icons) 1) Server Side Edits: open src/map/status.h Find SC_MAX Add Before SC_MYCUSTOMBUTTON, Find SI_MAX, Add Before SI_MYCUSTOMBUTTON = ID_OF_BUTTON, (ID of Button can be any, but I suggest to have them > 2000, so not to avoid any updates with kRO(which is at 900) now) P.S: Remember that ID_OF_BUTTON, we gonna need them later. src/map/status.c Find status->IconChangeTable[SC_DECORATION_OF_MUSIC] = SI_DECORATION_OF_MUSIC; Add Below status->IconChangeTable[SC_MYCUSTOMBUTTON] = SI_MYCUSTOMBUTTON; Recompile 2) ClientSide Edits Get a CleanCopy of statusicon folder (https://github.com/ROClientSide/Translation/tree/master/Data/luafiles514/lua%20files/stateicon) Open efstids.lub Find: __newindex = function()error("unknown state") Before it add, EFST_MYCUSTOMBUTTON = ID_OF_BUTTON, P.S: ID_OF_BUTTON should match the one on source(status.h) Open stateiconinfo.lub Find StateIconList[EFST_IDs.EFST_JUMPINGCLAN] = { Add Before StateIconList[EFST_IDs.EFST_MYCUSTOMBUTTON] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { { "My Custom Button Heading", COLOR_TITLE_BUFF }, {"%s", COLOR_TIME}, --do not edit this, this shows time remaining { "Description 1" }, { "Description 2" }, { "Description 3" } }} Open stateiconimginfo.lua Find [PRIORITY_GOLD] = { OR [PRIORITY_RED] = { OR [PRIORITY_BLUE] = { OR [PRIORITY_GREEN] = { OR [PRIORITY_WHITE] = { (Depending on what background your Custom Button is) Add below [EFST_IDs.EFST_MYCUSTOMBUTTON] = "MYCUSTOMBUTTONFILE.TGA", P.S: Your Button File must be in .TGA form only. .tga file must go to data/texture/effect/ Folder And Its DONE!!! NOTE: Replace MYCUSTOMBUTTON with your own Icon/Effect Name
×
×
  • Create New...

Important Information

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