Basic Support for Custom Recommended Items

First Riot Post
1234511 ... 39
Comment below rating threshold, click here to show it.

Brackhar

Features Designer

08-31-2011
1 of 9 Riot Posts

Hey guys, we wanted to go ahead and let you know about a new API hook that we put in with the most recent patch to should make custom recommended item lists a bit easier to maintain than before. The new approach will remove the need to constantly redo your recommended item lists with every patch, but be warned - this is an unsupported pathway that may still have some issues with it. That being said, we felt it would be a cool thing to expose to you guys, especially given the popularity of the many fan tools out there. As there is no UI support this post will be written for people who like to finagle around with clear text .ini files.

To create a custom recommended item list for a champion you need three things: the name of the champion, the game mode, and the ID numbers of the items in the game. Let's say that you wanted to change Akali's recommended items for both Classic and Dominion. To do so you would need to create two different files (RecItemsCLASSIC.ini and RecItemsODIN.ini) and place them in:

"League of Legends\RADS\solutions\lol_game_client_sln\release s\0.0.0.71\deploy\DATA\Characters\Akali\"

The CLASSIC file will be used for Twisted Treeline and Summoner's Rift, while the ODIN file will be used for the Crystal Scar. These files will not be overwritten when patches arrive. You may need to create both the Characters folder and the actual character folder itself depending on your local machine. The contents of those files should have the following format:


[ItemSet1]
SetName=Set1
RecItem1=1028
RecItem2=3111
RecItem3=3044
RecItem4=3116
RecItem5=3124
RecItem6=3100

[ItemSet2]
SetName=Set2
RecItem1=1028
RecItem2=3111
RecItem3=3044
RecItem4=3116
RecItem5=3124
RecItem6=3100

ItemSet1 will always be the one displayed in game, but as long as you follow the format above you can have multiple item sets contained within the same file.

Hopefully you guys find this useful! I'll go ahead and track down what recommended item tool threads I can find and link them to this info.

Edit: Updated the build number since it's different than I thought. Also, the character folder may not exist for you; if so you will need to create it. You can find a list of item ids at http://na.leagueoflegends.com/items or check Deva's post at the bottom of http://na.leagueoflegends.com/board/...1177803&page=5.


Comment below rating threshold, click here to show it.

Skreba

Member

08-31-2011

Awesome.


Comment below rating threshold, click here to show it.

Surgery

This user has referred a friend to League of Legends, click for more information

Senior Member

08-31-2011

Ty


Comment below rating threshold, click here to show it.

Philanthropist

Senior Member

08-31-2011

Programming a UI for the community as soon as I get home, brb with results.


Comment below rating threshold, click here to show it.

Vlyigi

Senior Member

08-31-2011

This is great.


Comment below rating threshold, click here to show it.

A Fanta Bottle

This user has referred a friend to League of Legends, click for more information

Senior Member

08-31-2011

Holy cow, this is insane.. Thanks so much!


Comment below rating threshold, click here to show it.

PriorityOne

Senior Member

08-31-2011

Wow. That's pretty awesome.


Comment below rating threshold, click here to show it.

Breakstar

This user has referred a friend to League of Legends, click for more information

Senior Member

08-31-2011

Awwww, you're so cool. <3


Comment below rating threshold, click here to show it.

IUironman

This user has referred a friend to League of Legends, click for more information

Friend of Urf

08-31-2011

Awesome!


Comment below rating threshold, click here to show it.

CaffeineJunky

Senior Member

08-31-2011

Neat!


1234511 ... 39