Home » MODDING HQ 1.13 » v1.13 Bug Reports » Enemy Item Drops .XML Not Working?
Re: Enemy Item Drops .XML Not Working?[message #327019] Wed, 23 October 2013 10:23 Go to previous messageGo to previous message
JMich is currently offline JMich

 
Messages:546
Registered:January 2011
Location: Greece
pheloncab
I'm not sure on the feasibility either. I just know on the ini editor you can use a drop-down to change which ini your editing.

That equivalent is already there in the XML Editor, under the "Data set" ini setting. You can have 3 data sets, 1.13, AIMNAS and UC for example, and be able to choose which of the 3 data sets you wish to change. That does however use the full set, not a single XML.


pheloncab
it seems to me if you could do that with the imp/enemy/militia inventory/drop xmls since they are similar in nature it might be nice, then you could edit multiple Mods by changing which file your using rather than having to close, edit the config and reopen.
it also would mean if they add a new xml file like that you could open it from the dropdown.

What I will do (once I find the time) is to add a submenu on the Enemy Item Choices which has the 3 individual levels, similar to how you can show items->by class.

pheloncab
from your statement, the relationships are individually coded not linked like a database where the header would pull the correct data.

It is quite possible that if I try to explain something near midnight, I will fail. What I meant is that while I can make a relation between enemyitemchoices.xml->uiIndex and items.xml->uiIndex, I can't make a relation between unknown.xml->unknown_tag and items.xml->uiIndex
One could (possibly) make a function to read an unknown xml, and display it in a grid view, but unless one adds the ability to make relations on the fly, the xml data would be the only thing shown.

Let's take for example the backgrounds.xml file, which was one of the latest additions. It does have a uiIndex tag, which shouldn't be linked to anything. The MercProfiles.xml->usBackground should be linked with the Backgrounds.xml->uiIndex though, and show the tag instead of the uiIndex.

My knowledge of VB.NET isn't that good, so I have no idea how to allow reading of unknown xml files, while still allowing relations, so I will have to hardcode the relations instead.

P.S. I hope that trying to explain things before I had my coffee results in better explanations, though it is possible that I am still rambling...

Report message to a moderator

First Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [r6496] Gunslinger Anaconda - Incorrect Ammo
Next Topic: AP price is displayed incorrect
Goto Forum:
  


Current Time: Mon Dec 02 11:06:49 GMT+2 2024

Total time taken to generate the page: 0.00858 seconds