Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » MercStartingGear.xml Armor question
MercStartingGear.xml Armor question[message #243397] Sat, 06 February 2010 13:23 Go to next message
ninjamonkey26 is currently offline ninjamonkey26
Messages:2
Registered:February 2010
Ok, I'm using the new inventory system. I may be unclear on how it works but I've preselected the Helmet, Vest, and Leggings each merc I want starting off to receive (Buns,Blood,Shadow,and Dr. Q). Now the thing is when I purchase each merc at A.I.M they're fully kitted out. They have the armor, guns and supplies I selected.

Example:
Shadow Treated Stealth Ops Helmet|Treated Stealth Ops Vest|Treated Stealth Ops Leggings|Colt M4A1

Now once I go to the Map screen IMMEDIATELY after I exit the laptop, and check any merc's inventory (in this example Shadows). The armor (Helmet, Vest, Legging) are GONE!

The only exception to this is Dr. Q whom retains the Treated Dyneema Helmet.

What the heck is going on? I've edited the xml via the editor and restarted a whole new game like 5 times! I'd just like to try playing the game through once with all the cool gear b4 challenging myself and i'm not sure what armor is still compatible with the new system :-/.

Report message to a moderator

Civilian
Re: MercStartingGear.xml Armor question[message #243399] Sat, 06 February 2010 13:41 Go to previous messageGo to next message
usrbid is currently offline usrbid

 
Messages:1506
Registered:December 2008
Hi ninjamonkey, Welcome to the board!

What is it you exactly do? I am assuming this sequence:
1. quite game via exit
2. edit MercStartingGear.xml via XML Editor (JA2 program, not notepad)
3. start the game, select "start a new game" in the main menu, then purchase the AIM staff you modified?

And I am assuming you are using something like Kaerar's single click installer e.g. SVN 1203 build 3287?

If the answer is (mostly) yes to all of the above your problem is the ItemSize value of 99 in the Items.xml (I just checked the file and it has 99 there, which is not suitable to be worn on a human body).

You can fix that by changing the ItemSize value in the XML to e.g. 25 (or whatever the untreated armor equivalent item size is).

Funny as it is, I just looked up the Treated Dyneema Helmet, it's ItemSize is 22, so it will work, which is what you report. Looks like this is the problem.

Let me know if you need anything else, I am happy to help.
Dieter

Report message to a moderator

Sergeant Major

Re: MercStartingGear.xml Armor question[message #243443] Sun, 07 February 2010 11:25 Go to previous messageGo to next message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
ninjamonkey
Example:
Shadow Treated Stealth Ops Helmet|Treated Stealth Ops Vest|Treated Stealth Ops Leggings|Colt M4A1

As Dieter wrote, these items are itemsize 99, which means that they should not appear in a game that uses the New Inventory. If you want to have them in a NIV-game, you'll need to change their itemsize first.

A lot of the old armors that could be modified by using kits on them are not allowed with NIV, because their item-carrying capacity would collide with NIV.

Report message to a moderator

First Sergeant

Re: MercStartingGear.xml Armor question[message #243449] Sun, 07 February 2010 11:45 Go to previous messageGo to next message
usrbid is currently offline usrbid

 
Messages:1506
Registered:December 2008
Hi Starwalker, it feels a lot of work went into the armor pics and XMLs, the Zylon stuff allows item attachments as well, maybe there is a way to clean up all this old stuff and make it work, at least players would not get stuck tinkering with it.

Report message to a moderator

Sergeant Major

Re: MercStartingGear.xml Armor question[message #243508] Mon, 08 February 2010 06:27 Go to previous messageGo to next message
ninjamonkey26 is currently offline ninjamonkey26
Messages:2
Registered:February 2010
Dieter
Hi ninjamonkey, Welcome to the board!

And I am assuming you are using something like Kaerar's single click installer e.g. SVN 1203 build 3287?


Funny as it is, I just looked up the Treated Dyneema Helmet, it's ItemSize is 22, so it will work, which is what you report. Looks like this is the problem.

Let me know if you need anything else, I am happy to help.
Dieter


Thanks for the welcome. To answer some of your questions, I foolishly was using the download from one of the many JA2 sites which was version 2085, 2 years out of date. I'll have to figure out how to update via the SVN. I'd like to get comfortable using the new inventory system.

Looking at the armor class xml, I wonder why most of the modded armor that's truly unique hasn't been updated to the NIV system. Additionally what changes besides armor itemsize do I need make to the xml to make it truly compatible with the NIV system. I'm a lover of variety and all that cool looking gear is just dying to be used.

Report message to a moderator

Civilian
Re: MercStartingGear.xml Armor question[message #243519] Mon, 08 February 2010 14:22 Go to previous message
Starwalker is currently offline Starwalker

 
Messages:759
Registered:October 2005
Location: Hannover, Germany
The older converted armors were a simple first attempt to what NIV accomplished later in a more sophisticated way. We left these armors in, and did not change them, so that people who do not like NIV can use them with the old inventory.

Report message to a moderator

First Sergeant

Previous Topic: Custom Gun Question
Next Topic: Which DBB version to use?
Goto Forum:
  


Current Time: Fri Feb 07 18:13:10 GMT+2 2025

Total time taken to generate the page: 0.01218 seconds