Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » How to alter what Tony sells
How to alter what Tony sells[message #255139] Wed, 30 June 2010 07:01 Go to next message
Hachiryoku is currently offline Hachiryoku

 
Messages:97
Registered:June 2009
So, Tony seems to sell things too early in my new game. He was selling an uzi on day one or two. How do I make it so that he only sells things with a coolness factor equal to the current progress in the game?

I thought what he sold related to the "coolness" factor. I also selected "normal" on BR's inventory, but that didn't seemed to help. Note that I also have Tony set to BR settings (not changeable in the newest 1.13)

Background;
I edited all items and weapons in XML-editor to go like follows;
0-1: OK pistols
2: good pistols
3: Crappy SMGs & crappy shotguns
4: good SMGs & good shotguns
5: crappy rifles & crappy sniper rifles
6: good rifles, good sniper rifles, crappy machine guns & low end LAWs
7: Good machine guns, sweet ARs & good LAWs
8: Rocket launchers & motors
9: rocket rifle
10: auto rocket rifle
Details on other items left out, but it all revolves around the same idea. T-shirts at lvl 0 and dyneema later, etc, etc. Enemy equipment and drops have also been adjusted to this.

I wanted to actually have some good gun fights with pistols and progress up slower. I hate it when I get a weapon I really like, but I can't use it because it's already outclasses by most of the weapons currently in use.

BUT...... Even after all my fiddling, Tony is already selling SMGs and a ton of other things that shouldn't be available to me yet. Anybody have any clues on how the game picks what Tony sells?

Thanx for any help.

[Updated on: Wed, 30 June 2010 07:22] by Moderator

Report message to a moderator

Corporal 1st Class
Re: How to alter what Tony sells[message #255147] Wed, 30 June 2010 08:37 Go to previous messageGo to next message
Logisteric

 
Messages:3199
Registered:December 2008
Location: B
try unchecking 'mercheants use br-stuff' or somesuch in the ini - that will slow down his selection

edith:

i'm talking of those two


TONY_USES_BOBBY_RAYS_SETTING = TRUE
DEVIN_USES_BOBBY_RAYS_SETTING = TRUE


replace TRUE with FALSE

[Updated on: Wed, 30 June 2010 08:47] by Moderator

Report message to a moderator

Captain
Re: How to alter what Tony sells[message #255188] Wed, 30 June 2010 22:33 Go to previous messageGo to next message
silversurfer

 
Messages:2791
Registered:May 2009
Tony should always have better stuff than Bobby Ray. This is defined in the source code where Tony gets an additional level of coolness for his inventory no matter if "Use BR" setting is on or off. If "Use BR" is turned on the inventory will be even better depending on the level set for BR.

Report message to a moderator

Lieutenant
Re: How to alter what Tony sells[message #255206] Thu, 01 July 2010 04:33 Go to previous messageGo to next message
Hachiryoku is currently offline Hachiryoku

 
Messages:97
Registered:June 2009
My current download of the INI will not let me edit that. It's got a missing data notification and it's hardlocked to TRUE. I know my old version was changeable, but this one isn't.

Can anybody show me the how on the source code?

Report message to a moderator

Corporal 1st Class
Re: How to alter what Tony sells[message #255228] Thu, 01 July 2010 11:07 Go to previous messageGo to next message
Kaerar is currently offline Kaerar

 
Messages:2021
Registered:January 2003
Location: Australia :D
Just open the ini file as a text file in Notepad/Wordpad or Notepad ++

Then alter it directly Wink

Report message to a moderator

Lieutenant

Re: How to alter what Tony sells[message #255295] Fri, 02 July 2010 03:56 Go to previous messageGo to next message
Hachiryoku is currently offline Hachiryoku

 
Messages:97
Registered:June 2009
This is the part (script) below I found in notepad. I was looking for a TRUE or FALSE, but it doesn't look that easy. I also tried compairing it to another section that was working fine in the INI, but I didn't see a difference between the two.




This section controls the inventories of the merchants in Arulco.




Tony uses Bobby Ray's setting (makes his inventory better).

Тони использует настройки Боби Рэя (улучшеный ассортимент)


Devin uses Bobby Ray's setting (makes his inventory better).

Дэвин использует настройки Боби Рэя (улучшеный ассортимент)


Report message to a moderator

Corporal 1st Class
Re: How to alter what Tony sells[message #255307] Fri, 02 July 2010 11:02 Go to previous messageGo to next message
DepressivesBrot is currently offline DepressivesBrot

 
Messages:3651
Registered:July 2009
That doesn't look like the correct .ini, it looks like the xml the ini-editor uses for its descriptions. You have to edit JA2_Options.ini in Data-1.13 (assuming you have no additional Data-*** directories from other mods)

Report message to a moderator

Captain

Re: How to alter what Tony sells[message #255353] Sat, 03 July 2010 02:30 Go to previous messageGo to next message
Hachiryoku is currently offline Hachiryoku

 
Messages:97
Registered:June 2009
Thanx DepressivesBrot! That was the the trick. I assumed the file would be sitting in the main JA2 folder next to the ini.

He still seems to be selling one level up, but I can deal with that. If anybody knows where I can lower that down to normal, please let me know. I know it's already set like that in the original game, so I'm not sure how to change it.

Report message to a moderator

Corporal 1st Class
Re: How to alter what Tony sells[message #255401] Sat, 03 July 2010 20:45 Go to previous messageGo to next message
silversurfer

 
Messages:2791
Registered:May 2009
Like I said, it's defined in the source code. Tony gets a fixed +1 to coolness for his inventory. If you want to change that you would need to change the code and compile it yourself.

Report message to a moderator

Lieutenant
Re: How to alter what Tony sells[message #255620] Wed, 07 July 2010 04:18 Go to previous message
Hachiryoku is currently offline Hachiryoku

 
Messages:97
Registered:June 2009
Yes, I noted your notation.

I'm not cool though, so I can't mess with souce code yet.

Thanks though.

Report message to a moderator

Corporal 1st Class
Previous Topic: Standard Enemy equipment for a "Drop All" experience.
Next Topic: Specific values for the most important Calibers.
Goto Forum:
  


Current Time: Sun Jan 12 01:39:23 GMT+2 2025

Total time taken to generate the page: 0.01262 seconds