Merged from revision: 2013

Custom sounds for non-guns (by anv)
- knives, throwing knives, blunt weapons can use attack sounds specified with <sSound> tag - previously their sound was chosen depending on animation used and hardcoded - it should open space for exotic weapons like chainsaws, lawn mowers, jackhammers, etc. If <sSound> is left unspecified, default hardcoded sound will be used normally.
- knives, throwing knives, blunt weapons, launchers on attack can cause noise specified with <ubAttackVolume>, previously it was ignored for anything but guns,
- For presentation purposes: Reuban's hedge trimmer using its original DG attack sound effect and making a lot of noise.

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2014 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2014-04-19 09:25:08 +00:00
parent 9899ca6839
commit ef54e5ebfd
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -499,4 +499,5 @@
<SOUND>SOUNDS\WEAPONS\Misc\CLICK.WAV</SOUND>
<SOUND>SOUNDS\WEAPONS\Misc\PEPPER_SPRAY.WAV</SOUND>
<SOUND>SOUNDS\WEAPONS\RIFLE SILENCER.ogg</SOUND>
<SOUND>SOUNDS\WEAPONS\Misc\hedgetrimmer.ogg</SOUND>
</SOUNDLIST>
Binary file not shown.
+4 -2
View File
@@ -1582,7 +1582,8 @@
<ubImpact>25</ubImpact>
<ubDeadliness>6</ubDeadliness>
<usReloadDelay>200</usReloadDelay>
<ubAttackVolume>2</ubAttackVolume>
<ubAttackVolume>20</ubAttackVolume>
<sSound>500</sSound>
<MaxDistForMessyDeath>7</MaxDistForMessyDeath>
</WEAPON>
<WEAPON>
@@ -2295,7 +2296,8 @@
<ubImpact>20</ubImpact>
<ubDeadliness>7</ubDeadliness>
<usReloadDelay>200</usReloadDelay>
<ubAttackVolume>2</ubAttackVolume>
<ubAttackVolume>20</ubAttackVolume>
<sSound>500</sSound>
<MaxDistForMessyDeath>7</MaxDistForMessyDeath>
</WEAPON>
<WEAPON>