Modding the trader -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 12 years ago

Today I did a fresh install of Stalker. I made a couple mods, most notably I made my max weight 300pounds so I could carry more :). Anyways, I loaded up and headed out to 100 Rads. I started selling to him and about halfway through it stopped letting me add stuff. I sold it and everything in my inventory turned red, as if he did not need or didn't have enough money to buy anything. I can't remember this happening with my last install.

My question is, is it possible to change his buying habits? I see that he has infinite money, but he will only buy so much of my garbage before he stops. I've taken a look at his .ltx files and I can't really see anything that would change the amount of crap he buys. Anyone know how to do this?




dannyboy01

drunk in charge of an uglyface

50 XP

4th April 2007

0 Uploads

460 Posts

0 Threads

#2 12 years ago

its a weight issue with the trader, i think you need to go into trader_bar file and raise his carrying ability but not sure if thats completely right.




Guest

I didn't make it!

0 XP

 
#3 12 years ago

Thats happend to me before. I think i fixed it by making a save right there and reloading. It might work. Usualy loading a save or changing maps will reset the traders. Other then that I have no idea how to fix it.




dezodor

level designer @ dezowave

50 XP

18th April 2007

0 Uploads

293 Posts

0 Threads

#4 12 years ago

look for the character_desc_bar.xml and you will see the trader there, and the other npcs in the bar. So you will find a line:

bar_barmen_name ui_npc_u_barman bar_barmen_bio

bar_barman trader

set his money like this, and he will have infinitve funds...

and for the max item mass, look for an ltx file: bar_barman.ltx and:

inv_max_weight = 10000 (set this higher)


dezowave group



Guest

I didn't make it!

0 XP

 
#5 12 years ago

Thanks! That's exactly what I was looking for :). Yeah, I fixed the weight issue, but that didn't seem to be it. I'll give it a try!




Guest

I didn't make it!

0 XP

 
#6 12 years ago

dezodor;3820197look for the character_desc_bar.xml and you will see the trader there, and the other npcs in the bar. So you will find a line:

bar_barmen_name ui_npc_u_barman bar_barmen_bio

bar_barman trader

set his money like this, and he will have infinitve funds...

and for the max item mass, look for an ltx file: bar_barman.ltx and:

inv_max_weight = 10000 (set this higher)

When I first opened it he actually had those money values. I tried to adjust them both to 1, assuming the value 1 means infinitive. It didn't do anything. Does the 1 in infinitive="1" just mean "on" like in other games?




dezodor

level designer @ dezowave

50 XP

18th April 2007

0 Uploads

293 Posts

0 Threads

#7 12 years ago

yep


dezowave group