League of Legends Community
1234511 ... 39

League of Legends Community (http://forums.na.leagueoflegends.com/board/index.php)
-   General Discussion (http://forums.na.leagueoflegends.com/board/forumdisplay.php?f=2)
-   -   Basic Support for Custom Recommended Items (http://forums.na.leagueoflegends.com/board/showthread.php?t=1177803)

Brackhar 08-31-2011 10:52 AM

Basic Support for Custom Recommended Items
 
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.

Skreba 08-31-2011 10:53 AM

Awesome.

Surgery 08-31-2011 10:54 AM

Ty

Philanthropist 08-31-2011 10:54 AM

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

Vlyigi 08-31-2011 10:54 AM

This is great.

A Fanta Bottle 08-31-2011 10:54 AM

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

PriorityOne 08-31-2011 10:55 AM

Wow. That's pretty awesome.

Breakstar 08-31-2011 10:55 AM

Awwww, you're so cool. <3

IUironman 08-31-2011 10:56 AM

Awesome!

CaffeineJunky 08-31-2011 10:56 AM

Neat!


All times are GMT -8. The time now is 01:52 AM.
1234511 ... 39


(c) 2008 Riot Games Inc