Add sound effects to melee weapons

Add soundInteract and soundMeleeHit tags to melee weapon definitions across the mod. Each weapon now has appropriate audio feedback for interaction and hit sounds tailored to the weapon type.
This commit is contained in:
RickGrymes
2026-07-15 23:22:50 -05:00
parent 0efb7826a7
commit 2d05088fb1
+22
View File
@@ -17,6 +17,7 @@
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale> <smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<soundInteract>FCP_Sound_Interact_BaseballBat</soundInteract>
<costList> <costList>
<WoodLog>30</WoodLog> <WoodLog>30</WoodLog>
</costList> </costList>
@@ -55,6 +56,7 @@
</capacities> </capacities>
<power>14</power> <power>14</power>
<cooldownTime>2</cooldownTime> <cooldownTime>2</cooldownTime>
<soundMeleeHit>FCP_Sound_Hit_Sledge_Wood</soundMeleeHit>
</li> </li>
</tools> </tools>
<comps> <comps>
@@ -316,6 +318,7 @@
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale> <smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<soundInteract>FCP_Sound_Interact_Melee_Generic</soundInteract>
<costList> <costList>
<WoodLog>20</WoodLog> <WoodLog>20</WoodLog>
</costList> </costList>
@@ -354,6 +357,7 @@
</capacities> </capacities>
<power>9</power> <power>9</power>
<cooldownTime>1.7</cooldownTime> <cooldownTime>1.7</cooldownTime>
<soundMeleeHit>FCP_Sound_Hit_PoolCue</soundMeleeHit>
</li> </li>
</tools> </tools>
<comps> <comps>
@@ -375,6 +379,7 @@
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale> <smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<soundInteract>FCP_Sound_Interact_Melee_Generic</soundInteract>
<costList> <costList>
<Steel>20</Steel> <Steel>20</Steel>
</costList> </costList>
@@ -413,6 +418,7 @@
</capacities> </capacities>
<power>16</power> <power>16</power>
<cooldownTime>2.2</cooldownTime> <cooldownTime>2.2</cooldownTime>
<soundMeleeHit>FCP_Sound_Hit_RebarClub</soundMeleeHit>
</li> </li>
</tools> </tools>
<comps> <comps>
@@ -434,6 +440,7 @@
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale> <smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<soundInteract>FCP_Sound_Interact_RollingPin</soundInteract>
<costList> <costList>
<WoodLog>10</WoodLog> <WoodLog>10</WoodLog>
</costList> </costList>
@@ -472,6 +479,7 @@
</capacities> </capacities>
<power>8</power> <power>8</power>
<cooldownTime>1.5</cooldownTime> <cooldownTime>1.5</cooldownTime>
<soundMeleeHit>FCP_Sound_Hit_Sledge_Wood</soundMeleeHit>
</li> </li>
</tools> </tools>
<comps> <comps>
@@ -552,6 +560,7 @@
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale> <smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<soundInteract>FCP_Sound_Interact_Melee_Generic</soundInteract>
<costList> <costList>
<Steel>20</Steel> <Steel>20</Steel>
</costList> </costList>
@@ -590,6 +599,7 @@
</capacities> </capacities>
<power>15</power> <power>15</power>
<cooldownTime>1.8</cooldownTime> <cooldownTime>1.8</cooldownTime>
<soundMeleeHit>FCP_Sound_Hit_GolfClub</soundMeleeHit>
</li> </li>
</tools> </tools>
<comps> <comps>
@@ -611,6 +621,7 @@
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale> <smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<soundInteract>FCP_Sound_Interact_Melee_Generic</soundInteract>
<costList> <costList>
<Steel>40</Steel> <Steel>40</Steel>
<WoodLog>10</WoodLog> <WoodLog>10</WoodLog>
@@ -650,6 +661,7 @@
</capacities> </capacities>
<power>22</power> <power>22</power>
<cooldownTime>2.6</cooldownTime> <cooldownTime>2.6</cooldownTime>
<soundMeleeHit>FCP_Sound_Hit_Sledgehammer</soundMeleeHit>
</li> </li>
</tools> </tools>
<comps> <comps>
@@ -671,6 +683,7 @@
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<techLevel>Spacer</techLevel> <techLevel>Spacer</techLevel>
<soundInteract>FCP_Sound_Interact_Melee_Generic</soundInteract>
<costList> <costList>
<Steel>60</Steel> <Steel>60</Steel>
<Plasteel>20</Plasteel> <Plasteel>20</Plasteel>
@@ -715,6 +728,7 @@
</capacities> </capacities>
<power>32</power> <power>32</power>
<cooldownTime>2.8</cooldownTime> <cooldownTime>2.8</cooldownTime>
<soundMeleeHit>FCP_Sound_Hit_SuperSledge</soundMeleeHit>
</li> </li>
</tools> </tools>
<comps> <comps>
@@ -738,6 +752,7 @@
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale> <smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<soundInteract>FCP_Sound_Interact_Melee_Generic</soundInteract>
<costList> <costList>
<Steel>25</Steel> <Steel>25</Steel>
</costList> </costList>
@@ -776,6 +791,7 @@
</capacities> </capacities>
<power>16</power> <power>16</power>
<cooldownTime>1.9</cooldownTime> <cooldownTime>1.9</cooldownTime>
<soundMeleeHit>FCP_Sound_Hit_Sword</soundMeleeHit>
</li> </li>
</tools> </tools>
<comps> <comps>
@@ -916,6 +932,7 @@
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale> <smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<soundInteract>FCP_Sound_Interact_Sword</soundInteract>
<costList> <costList>
<Steel>60</Steel> <Steel>60</Steel>
</costList> </costList>
@@ -954,6 +971,7 @@
</capacities> </capacities>
<power>26</power> <power>26</power>
<cooldownTime>2.6</cooldownTime> <cooldownTime>2.6</cooldownTime>
<soundMeleeHit>FCP_Sound_Hit_Sword</soundMeleeHit>
</li> </li>
</tools> </tools>
<comps> <comps>
@@ -1102,6 +1120,7 @@
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<techLevel>Spacer</techLevel> <techLevel>Spacer</techLevel>
<soundInteract>FCP_Sound_Interact_Melee_Generic</soundInteract>
<costList> <costList>
<Steel>35</Steel> <Steel>35</Steel>
<Plasteel>10</Plasteel> <Plasteel>10</Plasteel>
@@ -1145,6 +1164,7 @@
</capacities> </capacities>
<power>22</power> <power>22</power>
<cooldownTime>1.7</cooldownTime> <cooldownTime>1.7</cooldownTime>
<soundMeleeHit>FCP_Sound_Hit_Ripper</soundMeleeHit>
</li> </li>
</tools> </tools>
<comps> <comps>
@@ -1166,6 +1186,7 @@
</graphicData> </graphicData>
<uiIconScale>1.2</uiIconScale> <uiIconScale>1.2</uiIconScale>
<smeltable>false</smeltable><uiIconScale>1.2</uiIconScale> <smeltable>false</smeltable><uiIconScale>1.2</uiIconScale>
<soundInteract>FCP_Sound_Interact_Melee_Generic</soundInteract>
<costList> <costList>
<Steel>30</Steel> <Steel>30</Steel>
<ComponentIndustrial>2</ComponentIndustrial> <ComponentIndustrial>2</ComponentIndustrial>
@@ -1209,6 +1230,7 @@
</capacities> </capacities>
<power>21</power> <power>21</power>
<cooldownTime>2.1</cooldownTime> <cooldownTime>2.1</cooldownTime>
<soundMeleeHit>FCP_Sound_Hit_Shishkebab</soundMeleeHit>
<extraMeleeDamages> <extraMeleeDamages>
<li> <li>
<def>Flame</def> <def>Flame</def>