Jump to content

Recommended Posts

Posted (edited)

Hi, I'm working on a ranking system inspired by League of Legends, and I decided to create these files to apply it to the players

image.png.06a1acfafeffc9bcd19efaa7484c2a6f.png

 

I'm new to editing this kind of stuff. I wish a professional could review it and give it a proper cleanup, but anyway, it doesn't seem too bad for now.

 

How do use it:

 

1) Download League of Legends Rank File.

2) Put into your GRF.

3) Go to your hateffectinfo.lub (data/luafiles514/hateeffectinfo)

4) Search or something Similar.

HAT_EF_NightSkyOfRutie = 225,

5) Put this:

-- Ranks Lol Tag by Scanty --
	HAT_IRON_RANK = 231,
	HAT_BRONCE_RANK = 232,
	HAT_PLATA_RANK = 233,
	HAT_ORO_RANK = 234,
	HAT_PLATINO_RANK = 235,
	HAT_ESMERALDA_RANK = 236,
	HAT_DIAMANTE_RANK = 237,
	HAT_MAESTRO_RANK = 238,
	HAT_GM_RANK = 239,
	HAT_RETADOR_RANK = 240,

 

6) Now, Search for

[HatEFID.HAT_EF_NightSkyOfRutie] = {
		resourceFileName = "efst_NightSkyOfRutie\\christmasx3.str",
		hatEffectPos = -11,
		hatEffectPosX = -0.3,
		isRenderBeforeCharacter = true,
		isAdjustPositionWhenShrinkState = true,
		isAdjustSizeWhenShrinkState = true
	},

 

7)  After that

--- Inician Rangos de Lol - By Scanty ---
	[HatEFID.HAT_IRON_RANK] = { resourceFileName = "custom\\rangos_lol\\iron_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true},
	[HatEFID.HAT_BRONCE_RANK] = { resourceFileName = "custom\\rangos_lol\\bronce_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true},
	[HatEFID.HAT_PLATA_RANK] = { resourceFileName = "custom\\rangos_lol\\plata_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true},
	[HatEFID.HAT_ORO_RANK] = { resourceFileName = "custom\\rangos_lol\\oro_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true},
	[HatEFID.HAT_PLATINO_RANK] = { resourceFileName = "custom\\rangos_lol\\platino_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true},
	[HatEFID.HAT_ESMERALDA_RANK] = { resourceFileName = "custom\\rangos_lol\\esmeralda_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true},
	[HatEFID.HAT_DIAMANTE_RANK] = { resourceFileName = "custom\\rangos_lol\\diamante_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true},
	[HatEFID.HAT_MAESTRO_RANK] = { resourceFileName = "custom\\rangos_lol\\maestro_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true},
	[HatEFID.HAT_GM_RANK] = { resourceFileName = "custom\\rangos_lol\\GM_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true},
	[HatEFID.HAT_RETADOR_RANK] = { resourceFileName = "custom\\rangos_lol\\Retador_RANK.str",hatEffectPos = 6, isIgnoreRiding = false, isRenderBeforeCharacter = false, isAttachedHead = true, isAdjustPositionWhenShrinkState = true, isAdjustSizeWhenShrinkState = true}

 

8 ) Create a script to test.

you need to use this:

hateffect 240, true;

 

*hateffect(<Hat Effect ID>,<State>);

This will set a Hat Effect onto the player. The state field allows you to
enable (true) or disable (false) the effect on the player.
The Hat Effect constants can be found in 'src/map/script_constants.hpp' starting
with HAT_EF_*.

Requires client 2015-05-13aRagEXE or newer.

 

League of Legends Rank.rar

Edited by Scanty
  • Upvote 7
  • Love 1
  • 2 months later...
Posted

HAT_ESMERALDA_RANK file practically doesn't exist... what a shame I don't know how to use .str and .tga.
image.png.47b0741c0f1cc4c7aadbb6f33b599d54.png

I have some cropped images of the lol Elo.
bronze.png.4e13e72360beabc53d3235e948e230fb.pngsilver.png.16856518eecd3963bbcec981616462e5.pnggold.png.ad25126d4d0dbb2d268cb9992283ecfd.pngplatinum.png.12baba4a5a7e7e478f89b246624198c9.pngemerald.png.539ec0d526510ff2c46a0df3e4d2b55b.pngdiamond.png.db4176c0a9dc277a606847b81e3f8029.pngmaster.png.73466f20d3562694235c30837fa9fe7d.pnggrandmaster.png.2035885df87d30f524f13878a4a53e6e.pngchallenger.png.81a2ca13631cdee23dd16c8454bf30f3.pngiron.png.c3c8014b3281f408d8dec26a1b6090a6.png

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...