How to Decrease Equipment Costs

Once again, I tried to mucking through the xml files and couldn't quite find what I needed.

Is there a file that lists the costs of equipment from the store that you buy for your heroes and sovereign/

This equipment is about 10x too expensive (why does it cost 100 gold to give a horse to my sovereign, but only 1 horse to give it to a unit?) and I was hoping to reduce it, but I can't find where that value is stored.

7,317 views 11 replies
Reply #1 Top

In the CoreItems.xml file the items are listed out.  One of the attributes is <ShopValue>.

Looking at the Salted Pork it has a value of 40.  Healing Nectar has a value of 60.  From what I recall of the vendor prices that's what they cost, so going through the CoreItems.xml file and changing all the ShopValues should be what you are looking for.  (Haven't tried it, just a guess from browsing the xml files)

Remember that StarDock can & will overwrite your changes during an update if you change their file and they have also made changes to it...

-Sal

Reply #2 Top

ShopValue in that file is what threw me off.

I was searching for price.

Duh.

Thanks!

Reply #3 Top

it also looks like Equipment is under CoreAccessories.xml too, I'm going through those XML files now and decreasing those costs by at least 50-60%, as those numbers are just way to high for the early game. 

Reply #4 Top

Let us know if it works.

Reply #5 Top

Quoting jscott991, reply 4
Let us know if it works.

 

Yep will find out in a second, almost done, finished the Armor, that was under corearmor, and now working on the weapons, under Corewepons..

 

I'm keeping the special armor or weapons the same, so we'll see how it plays out in the end. 

 

EDIT:

Bad news, that didn't work, the moment I went into a shop, all the prices were the default prices, looks like somewhere else it needs to be changed as well.

 

 

Reply #6 Top

Okay, here's a tip. You can't modify a xml file and expect the changes to take effect during a game. The xml files are ONLY read at the start of a new game when the world is created.

For example. You want to change the starting gold that each fraction starts with.

1. Go to your Startdock Games\Elemental\data\English directory

2. Find the file ElementalDefs.xml

3. COPY this file to your user directory (on my Win7 system this would be: Documents\My Games\Elemental\Items

4. I renamed the file (but you don't have to) to ElementalDefsNew.xml

5. Open the file in Notebook and change 100 to 300 in the line that looks like:

<PlayerStartingMoney>100.0</PlayerStartingMoney>

6. Save the file.

7. Start a NEW game. When you do, any changes you have made to that ElementalDefsNew.xml file will be read into the game.

Reply #8 Top

Yes, you MUST start a new and fresh game, you CANNOT load a savegame. This is one of the most reported modding "problems" I've seen, there should probably be a stick about it somewhere.

Anyways, let us know how it works. I'd love to try it!

Reply #9 Top

Make sure you check "use mods" as well in the options.

Reply #10 Top

Quoting nitey47, reply 6

3. COPY this file to your user directory (on my Win7 system this would be: Documents\My Games\Elemental\Items

Ah, ha, that was the key, I did start a new game, but it still didn't work, but then I saw step #3, that you need to copy the XML files into your my documents setting, and now that did trick. So I can actually buy a 2 attack club for 11 gold instead of 28 gold.. nice! :)

thanks,

Reply #11 Top

Yes, I've successfully made this mod work.  Yay.

Now on to Mana regeneration, which is more important.