To make things a bit more difficult, you want to add the gauss ammo, too: The second 1 means the chance he will actually have it in stock is 100%. The first 1 means he could have one Gauss rifle in stock. Let's say you want to buy a Gauss rifle from Sid, you'd put: If he should offer it then also, you'd have to add/edit it there as well. Since this is the section, he will offer it right from the beginning - but he will offer it only until the next section becomes active (). So, this is where you can add stuff that the trader should sell to you. Let me say this right at the beginning: If you add things here, you'll also have to add/edit the same thing in the corresponding sell section. They probably wanted to calculate it different first, but then just made it this way. Why so complicated? Don't ask me, I'm not GSC. The base price is set in the other ltx files, that define the properties of weapons, suits, etc. So he will pay you 45% of the base price. It means Sid will give you money for a silencer.
It means you can't sell a dog tail to Sid, because Sid doesn't care about dog tails! He hasn't fixed a price for it.įinally there will be something like this: If a is in the middle of a line, the line is active but everything behind that sign will be ignored.
ltx file is a comment or something that someone has deactivated. In this first section you will find something like this:ĭon't care about such things. They usually have two numbers behind them, but those numbers have different meanings for every section. What the trader buys from you, for how muchįrom now on, you will find items listed in every section. Now what do these different sections mean? Read in the next parts.
The info portions that control the changesĮvery trader file starts with a section (I will call everything that has it a section). 2 What the trader buys from you, for how much.1 The info portions that control the changes.