Tutorial: How to edit the trader files
This is a discussion on Tutorial: How to edit the trader files within the S.T.A.L.K.E.R. SoC Modding, Mapping and Editing forums, part of the S.T.A.L.K.E.R. Shadow of Chernobyl category; Originally Posted by Lord Pariah Is there a way to adjust global pricing. I mean so you make all traders ...
| S.T.A.L.K.E.R. SoC Modding, Mapping and Editing Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot! |
![]() |
| | LinkBack | Thread Tools | Rating: | Display Modes |
|
#51
| ||||
| ||||
| Quote:
![]() All the lines in each section are more or less the same anyway so my suggestion worked perfectly for me. Just remember that the end number of the two. So wpn_l85 = 1, 3; means that it will cost 2 times the base price. To be fair, why they didn't just have it as wpn_l85 = 2, 2; I have no idea. Items in the generic_buy are the price the trader buys stuff off you. Items in the supplies_start are the amount and chance he will stock an item. the bit after the _ is the part of the game that you are after. So if you have completed the brain scorcher mission, look at supplies_after_brain. Finally start_sell section is the price he sells things. Everything that is in the supplies_start section should be here also, but with different values to reflect the price he sells stuff at. Quote:
So nope, only way to do what you want is to complete a transaction of say 100'000RU, quick save via F6, then quick load via F7. This resets his inventory, so you can carry on cheating, I mean err, selling. ![]() Just do this everything you hit about 100'000RU in a transaction. I do this when buying ammo and medkits. At the point in the game I'm at, barman only sells 2 medkits at a time. So I buy 2, quick save/load, buy 2, quick save/load...rinse and repeat. |
| Remove advertisements | |
| |
| |
|
#52
| ||||
| ||||
| That works? Rly? He reloads items4sale on load game? Damn the engine is dumb! I mean, its just like all the stalkers when u load; stand up from their campfire, reload their weps, wander around for two seconds, and sit back down... |
|
#53
| |||
| |||
| Hello there, so I edited the kany_supl.ltx and the kany_trade.ltx. I copied the whole kany_buy.ltx, then changed the headline to [supplies_start] and [kanyhalos_sell_start]. Then I changed all the ;NO TRADE to other values. kany_supl.ltx now looks like: [supplies_start] ;ARTICATS af_medusa =0.002,0.002 af_crytal_flower =0.002,0.002 and so on, all elements from the kany_buy.ltx now have the value = 0.002,0.002 kany_trade.ltx now looks like: [kanyhalos_sell_start] ;ARTICATS af_medusa =10,1 af_crytal_flower =10,1 and so on, all elements now carry the value 10,1 Now I expected that Kanyhalos is selling each and every Item in the game. Unluckily he is not. I can buy all the artifacts and some amunition and thats it. No Weapons, no Food, Med-Kits or Armours. What am I doing wrong? I thought I could change the Kanyhalos Trader to sell everything so I can test everything out in Prybiat but where is my mistake? Why is this not working? Any help very much appreciated. Thank you KaLeun |
|
#54
| ||||
| ||||
| Herr KaLeun, you have set values like 0.002,0.002 in the supplies section. That means there is a 0.2 % chance that he sells 0.2% of one item. You would want to use values like 10,1 in the supplies so he would sell 10 items at 100%. I wonder what articats are. ![]() You have these in STALKER? |
|
#55
| |||
| |||
| I have the same problem as KaLeun, except that I got it right. I set my buy for 1, 1 my sell for 3, 1 and my supplies for 25, 0.10 When I play the game Sid has only three or 4 different artifacts and nothing else. I did the same for all the traders and went to the bar and checked Barkeep and the same thing. I had it (if it had have worked) for Sid, Ecolog, and Dolg traders to sell Soviet equipment and Barkeep, Freedom and your new guy in Pripyat to sell US equipment. When I made changes to the Sid's file and went back into the game and went to see him he disappeared. It still showed on the map that he was there but he wasn't in his little office. I shot the chair thinking he was just somehow invisible but nope no trader. I am using Oblivion Lost 2.1.1 and Faction Change for OL2.1.1 (1.1) and VI-NPC invulnerable for Oblivion Lost 2.1.1 |
|
#56
| ||||
| ||||
| @wildey: If the trader walks away it's a clear indication that the trader files are wrong. Also that he only has few supplies often happens when the files are broken. Please check your edits and make sure you didn't break anything by using non-existing items, special/reserved characters etc. Also all items in the sell file must exist in the supplies file or the other way around. I'd suggest comparing the old files and the new ones with Winmerge or comparing the sell and the supplies files. |
|
#57
| |||
| |||
| How do I know an item is non-existing? I figured something was wrong because when I went to the bar the Barkeep just stood there and wouldn't move around like he normally does I had to kill the guy standing guard to get close enough to talk to him. With the trader disappearing and the Barkeep a zombie it's pretty much a clear indication I totally pooched it somehow. I have checked over the files twice with a fast scan to see if it was just an error on my part (missed a comma, etc) but I guess I will have to delve into it deeper. When I did it I just copied the whole buy section and pasted it to supplies and sell and then fixed the numbers to correspond with how they should be in each section. So all of the stuff I am selling should be in the supplies section too but I am going to double check that as well. |
|
#58
| ||||
| ||||
| If you copy the stuff, it is pretty sure that it exists. Only if you write new items into it, you have to watch for typos etc. You could also try the ltx checker to automatically test your files: GSC Game World - Official Site |
|
#59
| |||
| |||
| Thanks I will give that a try. I sort of did a work around by using Amber's Trader Mod for OL2.1.1. But I still want to see what I screwed up. I have another couple of questions since you seem to know an amazing amount about this game. Is it possible to put the range data that you can select in normal vision into the binoculars. If yes how? I am visually impaired, not blind mind you but pretty close to it, and the crosshair dot when I am using a weapon is way to small for me to see a lot of the time, especially in hairy situations. What file do I edit to change the size of it? |
|
#60
| ||||
| ||||
| Quote:
In system.ltx under [hud_cursor] you'll find some values. cross_length sets the size and 0.015 was the vanilla value, I think. |
![]() |
| Bookmarks |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | Rate This Thread |
| |
All times are GMT -7.












Linear Mode
