mystang89 Posted June 22, 2014 Share Posted June 22, 2014 Hi all, I'm a complete noob for editing files and modding things so I have a few questions which google didn't answer. I'm trying to find the file that contains a list of items you can buy at the shop so I can add in a Potion of Restoration and also edit the cost of the Iru Elixirs. Anyone know where this file is and also would this require a mod or would this just be editing a file? Link to comment Share on other sites More sharing options...
PrimalSavage Posted June 23, 2014 Share Posted June 23, 2014 (edited) You may want to visit LH Moddinghttp://forums.elementalgame.com/forum/1050 ______________________________ CoreItems.xml (This is where you find the relevant items InternalNames)CoreImprovements.xml (This is where you add the items InternalNames) ______________________________ However, you don't really need to edit the core file(s). You can simply create a mod file using Notepad. e.g.mystang89.xml <?xml version="1.0"?><mystang89><ImprovementType InternalName="CityHub1"><UnlocksShopItem>Potion_Restoration</UnlocksShopItem></ImprovementType></mystang89> You would need to do the same for all the CityHubs. Alternatively, you can add the item to the "Merchant" improvement, meaning you only need to add it to one improvement instead of all the Cityhubs. To edit the cost of the Iru Elixir, you will need to reproduce the xml for "Potion_HealingStrong" in a mod file (minus the GameItemTypeArtDef) and then modify the price in the mod file. ______________________________ Note that mods (Core file or mods folder) only apply to new games. Also note that mods need to be enable in game options. The mod folder is found:\Documents\My Games\LegendaryHeroes\Mods\ Edited June 23, 2014 by PrimalSavage Link to comment Share on other sites More sharing options...
mystang89 Posted June 23, 2014 Author Share Posted June 23, 2014 If there was a Thank you button i would use it. Thank you Primal Savage! That is exactly the information I was wanting! However, reading e.g.mystang89.xml <?xml version="1.0"?><mystang89><ImprovementType InternalName="CityHub1"><UnlocksShopItem>Potion_Restoration</UnlocksShopItem></ImprovementType></mystang89> is like reading Greek to me. The first line "mystang89.xml" I understand as the file name. I think the second line is a necessary line but don't know what its for. Same for 3rd. 4th I'm not sure what a city hub is. Is that any city or will that be only for conclaves? The 5th I understand that one!!! :D 6th is just the closing line for the 4th I think. Same with the 7th being a closing line for the 3rd. Anyway, I thank you very much for answering my questions! Link to comment Share on other sites More sharing options...
PrimalSavage Posted June 23, 2014 Share Posted June 23, 2014 (edited) <?xml version="1.0"?>XML Declaration is mandatory <mystang89></mystang89>Just a container... containing all your xml. Could be anything <ImprovementType InternalName="CityHub1"></ImprovementType>This is the reference to the improvement you want to modify. InternalNames may or may not be the same as DisplayName. As I said, if you want to make it simple, replace "CityHub1" by "Merchant". Otherwise, you need to do the coding for all CityHubs (See below) Cityhub1 = Generic Cityhub CityHub2_ConclaveCityHub2_FortressCityHub2_Town CityHub3_ConclaveCityHub3_FortressCityHub3_Town CityHub4_ConclaveCityHub4_FortressCityHub4_Town CityHub5_ConclaveCityHub5_FortressCityHub5_Town Edited June 23, 2014 by PrimalSavage Link to comment Share on other sites More sharing options...
mystang89 Posted June 24, 2014 Author Share Posted June 24, 2014 Again, you have my thanks PrimalSavage. That is extremely helpful and clears things up for me! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now