New Attachment: the rifle grenade device (<AttachmentClass>33554432</AttachmentClass>) acts as a GL on the barrel slot, but blocks all other firing modes, and uses up one bullet.

It is strongly advised not to use this in combination with other underbarrel GLs.

Currently allowed for WW2 rifles with 40mm grenades.

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1533 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Flugente
2012-08-26 18:48:52 +00:00
parent 684893b98b
commit a7651e3557
4 changed files with 106 additions and 0 deletions
@@ -26692,4 +26692,24 @@
<itemIndex>1523</itemIndex>
<APCost>20</APCost>
</ATTACHMENT>
<ATTACHMENT>
<attachmentIndex>1581</attachmentIndex>
<itemIndex>683</itemIndex>
<APCost>20</APCost>
</ATTACHMENT>
<ATTACHMENT>
<attachmentIndex>1581</attachmentIndex>
<itemIndex>693</itemIndex>
<APCost>20</APCost>
</ATTACHMENT>
<ATTACHMENT>
<attachmentIndex>1581</attachmentIndex>
<itemIndex>776</itemIndex>
<APCost>20</APCost>
</ATTACHMENT>
<ATTACHMENT>
<attachmentIndex>1581</attachmentIndex>
<itemIndex>784</itemIndex>
<APCost>20</APCost>
</ATTACHMENT>
</ATTACHMENTLIST>
+36
View File
@@ -47436,4 +47436,40 @@
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
<ITEM>
<uiIndex>1581</uiIndex>
<szItemName>Rifle Grenade Device</szItemName>
<szLongItemName>Rifle Grenade Device</szLongItemName>
<szItemDesc>This little device enables your rifle to fire grenades. A loaded magazine is required, and obviously no other firing mdoes are possible while there is a grenade attached.</szItemDesc>
<szBRName>Rifle Grenade Device</szBRName>
<szBRDesc>Transform your WW2 rifleman into a WW2 grenadier.</szBRDesc>
<usItemClass>268435456</usItemClass>
<usItemClass>16</usItemClass>
<AttachmentClass>33554432</AttachmentClass>
<nasAttachmentClass>2</nasAttachmentClass>
<nasLayoutClass>1</nasLayoutClass>
<ubClassIndex>16</ubClassIndex>
<ubGraphicType>1</ubGraphicType>
<ubGraphicNum>149</ubGraphicNum>
<ubWeight>2</ubWeight>
<ubPerPocket>4</ubPerPocket>
<ItemSize>12</ItemSize>
<usPrice>125</usPrice>
<ubCoolness>5</ubCoolness>
<bRepairEase>-4</bRepairEase>
<Damageable>1</Damageable>
<Repairable>1</Repairable>
<Metal>1</Metal>
<Sinks>1</Sinks>
<Attachment>1</Attachment>
<BR_NewInventory>2</BR_NewInventory>
<BR_UsedInventory>1</BR_UsedInventory>
<GrenadeLauncher>1</GrenadeLauncher>
<usOverheatingCooldownFactor>100.0</usOverheatingCooldownFactor>
<DamageChance>10</DamageChance>
<DirtIncreaseFactor>20.0</DirtIncreaseFactor>
<STAND_MODIFIERS />
<CROUCH_MODIFIERS />
<PRONE_MODIFIERS />
</ITEM>
</ITEMLIST>
@@ -52,6 +52,10 @@
<launchableIndex>147</launchableIndex>
<itemIndex>922</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>147</launchableIndex>
<itemIndex>1581</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>148</launchableIndex>
<itemIndex>40</itemIndex>
@@ -92,6 +96,10 @@
<launchableIndex>148</launchableIndex>
<itemIndex>921</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>148</launchableIndex>
<itemIndex>1581</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>148</launchableIndex>
<itemIndex>922</itemIndex>
@@ -140,6 +148,10 @@
<launchableIndex>149</launchableIndex>
<itemIndex>922</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>149</launchableIndex>
<itemIndex>1581</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>150</launchableIndex>
<itemIndex>40</itemIndex>
@@ -184,6 +196,10 @@
<launchableIndex>150</launchableIndex>
<itemIndex>922</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>150</launchableIndex>
<itemIndex>1581</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>152</launchableIndex>
<itemIndex>60</itemIndex>
@@ -516,6 +532,10 @@
<launchableIndex>991</launchableIndex>
<itemIndex>922</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>991</launchableIndex>
<itemIndex>1581</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>992</launchableIndex>
<itemIndex>906</itemIndex>
@@ -568,6 +588,10 @@
<launchableIndex>995</launchableIndex>
<itemIndex>922</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>995</launchableIndex>
<itemIndex>1581</itemIndex>
</LAUNCHABLE>
<LAUNCHABLE>
<launchableIndex>1370</launchableIndex>
<itemIndex>903</itemIndex>
+26
View File
@@ -13105,4 +13105,30 @@
<usReloadDelay>200</usReloadDelay>
<MaxDistForMessyDeath>7</MaxDistForMessyDeath>
</WEAPON>
<WEAPON>
<uiIndex>1581</uiIndex>
<szWeaponName>Rifle Grenade Device</szWeaponName>
<ubWeaponClass>3</ubWeaponClass>
<ubReadyTime>16</ubReadyTime>
<ubShotsPer4Turns>5.83</ubShotsPer4Turns>
<ubBulletSpeed>30</ubBulletSpeed>
<ubDeadliness>60</ubDeadliness>
<ubMagSize>1</ubMagSize>
<usRange>300</usRange>
<usReloadDelay>200</usReloadDelay>
<BurstAniDelay>100</BurstAniDelay>
<ubAttackVolume>20</ubAttackVolume>
<ubHitVolume>10</ubHitVolume>
<sSound>403</sSound>
<sSilencedBurstSound>111</sSilencedBurstSound>
<SilencedSound>157</SilencedSound>
<APsToReload>32</APsToReload>
<SwapClips>1</SwapClips>
<MaxDistForMessyDeath>7</MaxDistForMessyDeath>
<ManualReloadSound>476</ManualReloadSound>
<Handling>16</Handling>
<usOverheatingJamThreshold>4000</usOverheatingJamThreshold>
<usOverheatingDamageThreshold>5000</usOverheatingDamageThreshold>
<usOverheatingSingleShotTemperature>500</usOverheatingSingleShotTemperature>
</WEAPON>
</WEAPONLIST>