Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: Externalised Merchants
Re: New feature: Externalised Merchants[message #365549 is a reply to message #364793]
|
Tue, 25 July 2023 01:27
|
|
Kitty |
|
Messages:473
Registered:October 2017 Location: Germany |
|
|
kodamaqq wrote on Mon, 08 August 2022 03:12Hey! I want to make a drug boy not to sell regen boost, which is a bit OP in my opinion. His id is 80, and I should find eeeh AdditionalDealer_61_Inventory.xml and edit it, right? Or no? Also, regen boost id is 235, so I should find like
<INVENTORY>
<uiIndex>2</uiIndex>
<sItemIndex>235</sItemIndex>
<ubOptimalNumber>2</ubOptimalNumber>
</INVENTORY>
and delete those entries? What am I doing wrong? Would be happy if someone explains.
-
I merchants.xml, the drug dealing kid has ID 60
<MERCHANT>
<uiIndex>60</uiIndex>
<szName>drug dealer Cambria ruins (F9)</szName>
-
also in merchants.xml, a few lines above, we can read:
</MERCHANT>
<!-- a few non-profile-based merchants after this -->
<!-- The inventory files are numbered, for example, slot 40 uses AdditionalDealer_21_Inventory.xml, and so on -->
<MERCHANT>
<uiIndex>40</uiIndex>
<szName>A10 bunker rebel quartermaster</szName>
-
so, the ID 40 in merchants.xml (Rebel Quartermaster) will be using AdditionalDealer_21_Inventory.xml
Why is this?
merchants.xml contains
- named merchants (they do have a profile in mercsprofiles.xml)
those don't have their own AdditionalDealer-xml, they have xml with their name (i.e., TonyInventory.xml)
inventory of those can be found in the xml with their name in (ID 0-19)
- Additional Dealers (for two types, profile and non-profile)
for profiles:
ID 20-39 in merchants.xml are for named merchants that have been added afterwards (hence, additional dealers)
There are currently two examples, Darrel as ID 20 and Kyle as ID 21
ID 20 in merchants.xml = AdditionalDealer_1_Inventory.xml (for Darrel)
ID 21 = AdditionalDealer_2_Inventory.xml (for Keith)
for non-profile:
starting from ID 40 are merchants without a profile in mercprofiles.xml
that vastly expands the possible merchants, since those won't take away a place in mercprofiles.xml
(ID 68 is a special one for blackmarket, inventory for that is defined in a lua-script, see feature description "intel" for more)
-
So, what about our average school boy?
He has ID 60 in merchants.xml and is a non-profile merchant
(so, according to the quote above, when ID 40 is AdditionalDealer_21_Inventory.xml,)
his ID 60 is AdditionalDealer_41_Inventory.xml
-
what is it with this crazy sorting?
- the named ones are from vanilla ja2
- later on the possabilty to add additional, named (profile), merchants was added
- and again sometime even later, the possability for non-named (non-profile) merchants was added
- plus, the balckmarket was added after that (see "intel"-feature for more on that)
[Updated on: Tue, 25 July 2023 01:34]
How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN
I need more details. (Didi Hallervorden) Report message to a moderator
|
|
|
|
|
|
New feature: Externalised Merchants
By: Flugente on Thu, 20 December 2012 02:04
|
|
|
Re: New feature: Externalised Merchants
By: Kitty on Tue, 04 June 2019 06:02
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: ZedJA2 on Thu, 16 January 2020 02:37
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Mon, 15 June 2020 12:02
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Tue, 16 June 2020 00:14
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Kitty on Tue, 16 June 2020 02:00
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Tue, 16 June 2020 16:54
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Wed, 17 June 2020 11:32
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Wed, 24 June 2020 20:17
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Thu, 25 June 2020 11:00
|
|
|
Re: New feature: Externalised Merchants
By: Kitty on Mon, 29 June 2020 03:38
|
|
|
Re: New feature: Externalised Merchants
By: Vritran on Mon, 29 June 2020 12:35
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Kitty on Mon, 29 June 2020 23:33
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: kodamaqq on Mon, 08 August 2022 03:12
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Kitty on Tue, 25 July 2023 01:27
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: smeagol on Thu, 20 December 2012 11:26
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Wil473 on Thu, 20 December 2012 18:44
|
|
|
Re: New feature: Externalised Merchants
By: Clarkew on Fri, 21 December 2012 03:59
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Clarkew on Fri, 29 March 2013 07:41
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: navaroe on Thu, 27 August 2015 19:21
|
|
|
Re: New feature: Externalised Merchants
|
|
|
Re: New feature: Externalised Merchants
By: Flugente on Thu, 27 August 2015 20:22
|
|
|
Re: New feature: Externalised Merchants
By: navaroe on Thu, 27 August 2015 21:59
|
|
|
Re: New feature: Externalised Merchants
By: Flugente on Fri, 28 August 2015 02:22
|
|
|
Re: New feature: Externalised Merchants
By: navaroe on Fri, 28 August 2015 16:38
|
|
|
Re: New feature: Externalised Merchants
By: Flugente on Fri, 28 August 2015 22:22
|
|
|
Re: New feature: Externalised Merchants
By: navaroe on Sat, 29 August 2015 01:33
|
|
|
Re: New feature: Externalised Merchants
By: 88vs1984 on Sun, 31 December 2017 21:06
|
|
|
Re: New feature: Externalised Merchants
By: todd0001 on Fri, 05 January 2018 05:00
|
Goto Forum:
Current Time: Fri Nov 29 04:53:56 GMT+2 2024
Total time taken to generate the page: 0.01343 seconds
|