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 f7e31e768b
commit 919d2eb2d7
3 changed files with 17 additions and 3 deletions
+12 -2
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>
@@ -6533,6 +6537,9 @@
<usOverheatingJamThreshold>60000</usOverheatingJamThreshold>
<usOverheatingDamageThreshold>60000</usOverheatingDamageThreshold>
<usOverheatingSingleShotTemperature>45</usOverheatingSingleShotTemperature>
<BarrelConfiguration>4</BarrelConfiguration>
<BarrelConfiguration>6</BarrelConfiguration>
<BarrelConfiguration>8</BarrelConfiguration>
</WEAPON>
<WEAPON>
<uiIndex>687</uiIndex>
@@ -7464,7 +7471,6 @@
<ubCalibre>5</ubCalibre>
<ubReadyTime>1</ubReadyTime>
<ubShotsPer4Turns>11.99</ubShotsPer4Turns>
<ubShotsPerBurst>2</ubShotsPerBurst>
<ubBulletSpeed>22</ubBulletSpeed>
<ubImpact>36</ubImpact>
<ubDeadliness>25</ubDeadliness>
@@ -7489,6 +7495,8 @@
<usOverheatingJamThreshold>40000</usOverheatingJamThreshold>
<usOverheatingDamageThreshold>15000</usOverheatingDamageThreshold>
<usOverheatingSingleShotTemperature>150</usOverheatingSingleShotTemperature>
<BarrelConfiguration>1</BarrelConfiguration>
<BarrelConfiguration>2</BarrelConfiguration>
</WEAPON>
<WEAPON>
<uiIndex>712</uiIndex>
@@ -9128,6 +9136,8 @@
<usOverheatingJamThreshold>40000</usOverheatingJamThreshold>
<usOverheatingDamageThreshold>15000</usOverheatingDamageThreshold>
<usOverheatingSingleShotTemperature>150</usOverheatingSingleShotTemperature>
<BarrelConfiguration>1</BarrelConfiguration>
<BarrelConfiguration>2</BarrelConfiguration>
</WEAPON>
<WEAPON>
<uiIndex>755</uiIndex>
Binary file not shown.
+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>