The new <BarrelConfiguration>-tag specifies how many bullets a gun shoots at once. Several values can be used. If no value is set, 1 will be used.

Toggling fire modes cycles between barrel configurations if several have been set.

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2461 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2019-01-27 19:21:04 +00:00
parent a372060c6e
commit df9999ded9
3 changed files with 17 additions and 3 deletions
+5 -1
View File
@@ -46,7 +46,11 @@
<usOverheatingDamageThreshold>5000</usOverheatingDamageThreshold>
<usOverheatingSingleShotTemperature>80</usOverheatingSingleShotTemperature>
<HeavyGun>0</HeavyGun>
<fBurstOnlyByFanTheHammer>0</fBurstOnlyByFanTheHammer> <!-- any one-handed gun with this tag can access its burst mode only if the user is a gunslinger holding it in alternate aim mode (eye symbol on gun) -->
<fBurstOnlyByFanTheHammer>0</fBurstOnlyByFanTheHammer> <!-- burst mode is accessible only if the user is a gunslinger holding it in hipfire (eye symbol on gun) -->
<!-- This tag allows setting how many bullets the gun can fire per shot -->
<!-- if no value is set, it is assumed the gun can fire from one barrel -->
<!-- this tag can be added multiple times -->
<BarrelConfiguration>0</BarrelConfiguration>
</WEAPON>
<WEAPON>
<uiIndex>1</uiIndex>