下载下面的音效包后可自行点击播放对应的音效。
想要在游戏中用到或者修改的话,可以通过音效名称进行搜索修改。
音效名称一般在sounds.xml文件中保存,打开即可看到所有音频。
例如(sounds.xml):
<SoundDataNode name=”quest_restore_power_start”> <AudioSource name=”Sounds/AudioSource_Notifications”/>
<AudioClip ClipName=”Sounds/Quests/Restore_Power/quest_restore_power_start”/>
<LocalCrouchVolumeScale value=”1.0″/> <CrouchNoiseScale value=”0.5″/> <NoiseScale value=”1″/> <MaxVoices value=”10″/> <MaxRepeatRate value=”0.01″/> </SoundDataNode>
其中的quest_restore_power_start就是音效名称。
可以通过查询这个音效名称来查看对应的音频效果。
如果想在其他地方使用,比如gameevents.xml文件中:
<action_sequence name=”quest_poi_lights_off”>
<property name=”action_type” value=”Game” />
<property name=”target_type” value=”POI” />
<property name=”category” value=”poi” />
<action class=”POISetLightState”>
<property name=”enable_lights” value=”false” />
<property name=”index_block_name” value=”POILight,TraderOnOff” />
</action>
<action class=”PlaySound”>
<property name=”sound” value=”quest_restore_power_start” />
<property name=”phase” value=”1″ />
</action>
</action_sequence>
用PlaySound调用value为quest_restore_power_start即可。
其他方法可自行探索。
音频代码包百度网盘下载链接如下: