Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » Modefieing the 45 ACP FMJ ammo
Modefieing the 45 ACP FMJ ammo[message #351477] Tue, 14 November 2017 07:49 Go to next message
TWJunky

 
Messages:74
Registered:November 2012
Location: Austria
I want to change the armor piercing and tumble values of the 45ACP bullet type. i am looking at the ammo types xml. where do i find this particular entry? icant seem to find it

[Updated on: Tue, 14 November 2017 07:53]

Re: Modefieing the 45 ACP FMJ ammo[message #351480 is a reply to message #351477] Tue, 14 November 2017 10:16 Go to previous message
silversurfer

 
Messages:2192
Registered:May 2009
Armor reduction and after armor damage multiplier are set in AmmoTypes.xml but these are used for all kinds of ammo, not just the .45 ammo. You'd have to create a new ammo type and assign that to the different .45 magazines in Magazines.xml. The "ubClassIndex" tag in Items.xml refers to the magazine and the magazine refers to ammo strings and ammo types.

Example item 80 ".45 Mag":

Items.xml uiIndex 80:
ubClassIndex = 88

Magazines.xml uiIndex 88:
ubCalibre = 3
ubAmmoType = 0

AmmoStrings.xml uiIndex 3:
AmmoCaliber = .45 ACP

AmmoTypes.xml uiIndex 0:
name = Ball
armourImpactReductionMultiplier = 1
armourImpactReductionDivisor = 1
afterArmourDamageMultiplier = 1
afterArmourDamageDivisor = 1

If you'd change that entry you'd change all ball type ammo in the game so you'd need to create a new ammo type and assign that to the corresponding magazines.



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

Previous Topic: M72 LAW Damage and Radius Question
Next Topic: Aim Levels
Goto Forum:
  


Current Time: Thu Nov 23 01:42:30 EET 2017

Total time taken to generate the page: 0.00738 seconds