Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » prof.dat -> xml
Re: prof.dat -> xml[message #182181] Sat, 19 April 2008 14:38 Go to previous messageGo to previous message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
I see where using the term Mercs.xml would have been confusing. Sorry about that. We were taliing about the hireable characters from MERC at the time.


What I meant by a 'Mercs.xml' is just a way to isolate parts of the regular prof.dat list into 'branches' that could be defined by their own characteristics.

For example, maybe we would have an AIM.xml that would cover all the characters in AIM but also be opened to any addition we might want to add to that branch or array.
We might have one for Merc, one for Rebels, one for Kingpin's goons, etc. Or maybe it would not have to be divided so many times. Looking at the code you would know this far better than me.

Anyway, if we did it like this their Prof.dat index number would only be relevant for their placement in the Parent list. The "branch' lists or subdirectories might be opened eventually to add as many of one type of character (AIM mercs for instance) the modder wanted.

In this way we would not have to change all of the times the game called for a merc by his Prof.dat index. You could leave these numbers alone for now. With subdirectories you might have AIM characters occupying Prof.dat slots 0-39 but also (because the program would be looking at their uiIndex number instead of the Prof.dat slot number only) you might have AIM characters occupying slots 151-155 as well. The way the game would read it would be by the uiIndex (or whatever you would call it in the .xml) so that Prof.dat number 151 would be equal to uiIndex 40 in the AIM.xml (because it is added to the end of the AIM list.


This is exactly how the items.xml does it with one exception. In the Items.xml slot 0 has to be a nada (or blank) item. I do not know if this would be problematic.

But if you could make factions and such referenced by Prof.dat first but then REALLY referenced by a 'Child' directory like is currently the case with items a lot of the restrictions of slots might become arbitrary through externalisation of each faction type.

I am speaking largely from intuition here but I think if the 0 = Barry slot is not an insurmountable barrier in the Prof dat (maybe by making the last number in Prof.dat act as the beginning/end of the array) we might be able to do all sorts of cool things possibly including adding more characters to the total list.

But even if we couldn't do that, just being able to add as many of whatever type of characters we wanted (factions, rpcs, whatever) within the existing list would be golden.


[Updated on: Sat, 19 April 2008 15:51] by Moderator

Report message to a moderator

Sergeant Major
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sight Modification
Next Topic: PossumDBB Mod v2
Goto Forum:
  


Current Time: Sun Jan 26 22:38:08 GMT+2 2025

Total time taken to generate the page: 0.02667 seconds