收起左侧

佬们,请问怎么修改枪炮声

[复制链接]
老阴发表于 2024-6-10 22:53:51
我发现所有散兵单位都共用一种枪声,现在我想让不同文明有不同的枪声,请问怎么做呢?
こはね发表于 2024-6-11 15:16:18
anim xml,在攻擊動作那裡,SpecificSoundSet

<anim>
RangedAttack
<assetreference type="GrannyAnim">
<file>buildings\fort\west_fort_idle</file>
<tag type="Attack">0.05</tag>
<tag type="Attack">0.10</tag>
<tag type="Attack">0.15</tag>
<tag type="Attack">0.20</tag>
<tag type="Attack">0.25</tag>
<tag type="Attack">0.30</tag>
<tag type="Attack">0.35</tag>
<tag type="Attack">0.40</tag>
<tag type="Attack">0.45</tag>
<tag type="Attack">0.55</tag>
<tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.05</tag>
<tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.15</tag>
<tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.20</tag>
<tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.25</tag>
<tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.30</tag>
<tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.35</tag>
<tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.40</tag>
<tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.45</tag>
<tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.50</tag>
<tag type="SpecificSoundSet" checkvisible="1" set="FalconetShoot">0.55</tag>
</assetreference>
<component>fort</component>
<simskeleton>
<model>buildings\fort\west_fort_damaged</model>
<damagetemplate>buildings\fort\west_fort.dmg</damagetemplate>
</simskeleton>
<attach a="smokey" frombone="bone_s2" tobone="bone_s2" syncanims="0"/>
<attach a="smokey" frombone="bone_s1" tobone="bone_s1" syncanims="0"/>
</anim>
跳转到