Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » Could somebody please explain those "Items.xml" tags? (For Stand/Crouch/Prone modifiers)
icon5.gif  Could somebody please explain those "Items.xml" tags?[message #361984] Fri, 04 December 2020 17:30 Go to next message
Kurt is currently offline Kurt

 
Messages:423
Registered:March 2004
Could somebody please tell me what those tags of "Items.xml" actually do? suprised
They appear in the Stand/Crouch/Prone modifiers, mostly of weapons and weapon attachments.

  1. <FlatBase>
  2. <PercentBase>
  3. <FlatAim>
  4. <PercentCap>
  5. <PercentHandling>
  6. <PercentTargetTrackingSpeed>
  7. <PercentDropCompensation>
  8. <PercentMaxCounterForce>
  9. <PercentCounterForceAccuracy>
  10. <PercentCounterForceFrequency>

Report message to a moderator

Master Sergeant
Re: Could somebody please explain those "Items.xml" tags?[message #361985 is a reply to message #361984] Fri, 04 December 2020 21:05 Go to previous messageGo to next message
silversurfer

 
Messages:2787
Registered:May 2009
These tags modify specific NCTH parameters by a flat or percentage value. If you want to know about the parameters, you can check topics about NCTH, like these:

New CTH system - Presentation
New Chance To Hit system - The Formula



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Report message to a moderator

Lieutenant
Re: Could somebody please explain those "Items.xml" tags?[message #361986 is a reply to message #361985] Sat, 05 December 2020 17:09 Go to previous messageGo to next message
Kurt is currently offline Kurt

 
Messages:423
Registered:March 2004
Thanks! I don't know how I missed those very informative articles.


(Or actually I know: They should IMHO be in a special "Encyclopedia" forum. "Idea Incubation Lab" suggests crazy ideas for future features, and "Time Capsule" sounds a lot like outdated information...)

Report message to a moderator

Master Sergeant
Re: Could somebody please explain those "Items.xml" tags?[message #361995 is a reply to message #361986] Sun, 06 December 2020 17:07 Go to previous message
Kurt is currently offline Kurt

 
Messages:423
Registered:March 2004
Wait a minute, either I got this whole thing totally wrong, or something's fishy in "items.xml".

Take <Handling> for instance: Reading the post and checking the existing weapons, I was under the impression that it was a handicap, smaller value means more precise, bigger less precise.

Now check the stance modifiers for the "Combat Knife" (item #37):
		<STAND_MODIFIERS>
			<PercentHandling>10</PercentHandling>
			<PercentMaxCounterForce>-10</PercentMaxCounterForce>
			<PercentCounterForceAccuracy>-10</PercentCounterForceAccuracy>
		</STAND_MODIFIERS>
		<CROUCH_MODIFIERS />
		<PRONE_MODIFIERS />
So, a combat knife is less precise when you're standing than when you're crouched or prone? suprised

BTW same applies to the "KCB Knife" (#594), but not to other handheld knifes.


On the contrary, the "Rocket Rifle" (#55) is more precise when you're standing:
		<STAND_MODIFIERS>
			<PercentHandling>-10</PercentHandling>
			<PercentMaxCounterForce>30</PercentMaxCounterForce>
			<PercentCounterForceAccuracy>30</PercentCounterForceAccuracy>
		</STAND_MODIFIERS>
		<CROUCH_MODIFIERS />
		<PRONE_MODIFIERS>
			<PercentHandling>0</PercentHandling>
			<PercentMaxCounterForce>0</PercentMaxCounterForce>
			<PercentCounterForceAccuracy>0</PercentCounterForceAccuracy>
		</PRONE_MODIFIERS>

(Same setting also applies for the "Auto Rocket Rifle" (#65), and a number of normal assault rifles (too meany to list), but not all.

Inconsistency is all over the "items.xml" file. Let's take two sniper rifles of same caliber, which conveniently are adjacent in the file:
The "DSR-1" (#639), and the "SR-100" (#640).
The first has this:
		<STAND_MODIFIERS>
			<PercentHandling>20</PercentHandling>
		</STAND_MODIFIERS>
		<CROUCH_MODIFIERS />
		<PRONE_MODIFIERS>
			<PercentHandling>-75</PercentHandling>
			<PercentMaxCounterForce>70</PercentMaxCounterForce>
			<PercentCounterForceAccuracy>30</PercentCounterForceAccuracy>
		</PRONE_MODIFIERS>
But the second ("SR-100") has no stance modifier at all...

One might think that one has been translated to NCTH and the other not, but no, they both have a <Handling> tag (12 and 13). It's just one is way more precise when prone.


Enough about weapons, now here is a really astonishing attachment, the "Sniper Suppressor" (#592): Not only does it reduce noise, it also makes a rifle slightly more precise and seems to affect burst recoil - But only when standing!
		<STAND_MODIFIERS>
			<PercentHandling>-3</PercentHandling>
			<PercentMaxCounterForce>20</PercentMaxCounterForce>
			<PercentCounterForceAccuracy>10</PercentCounterForceAccuracy>
		</STAND_MODIFIERS>
		<CROUCH_MODIFIERS />
		<PRONE_MODIFIERS />


What gives? Have I missed something, or do I start a huge "items.xml" cleanup? suprised

Report message to a moderator

Master Sergeant
Previous Topic: pRestriction - Where is Restrictions.xml?
Next Topic: "AimLevels" tag? Does it work, and what does it do?
Goto Forum:
  


Current Time: Sat Jun 13 15:26:53 GMT+3 2026

Total time taken to generate the page: 0.00600 seconds