Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » Trying to understand the sound files for the weapons (the index number from the xml files)
Re: Trying to understand the sound files for the weapons (the index number from the xml files) [message #354111 is a reply to message #354110] Sat, 21 July 2018 22:15 Go to previous messageGo to previous message
Deleted.

 
Messages:2634
Registered:December 2012
Location: Russian Federation
ecstazy wrote on Sun, 22 July 2018 00:06
Hi guys, I was trying to add my new gun, with also a new sound, but I can't seem to find a way to understand what is with the index numbers. From the xml editor I don't see my .ogg file that I created. I also added my sound name in the sounds xml files at the end of the list. But when creating the gun and checking the sounds name from other weapons, they seem to have a index number, but on the sounds file there are no index numbers. Can anyone help?

Open Data-1.13\TableData\Items\Weapons.xml, find your weapon entry, set the following tags:
<sSound>XXX</sSound>
<SilencedSound>XXX</SilencedSound>
<sBurstSound>XXX</sBurstSound>
<sSilencedBurstSound>XXX</sSilencedBurstSound>
You can also define additional sound effects here:
<sReloadSound>XXX</sReloadSound>
<sLocknLoadSound>XXX</sLocknLoadSound>
Where XXX is the id of the sound in TableData\Sounds\Sounds.xml for single shot sounds or additional sounds, and in BurstSounds.xml for burst sounds where %d is substituted with burst length.
Id is simple number of XML line in that file.



Left this community.

Report message to a moderator

Lieutenant

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New (unofficial) IMP: Lawrence of Arabia (Peter O'Toole)
Next Topic: Editing after starting game
Goto Forum:
  


Current Time: Sat Jun 13 02:44:18 GMT+3 2026

Total time taken to generate the page: 0.01392 seconds