ViterboKnight
King
- Joined
- Feb 6, 2006
- Messages
- 796
Although I'm familiar with modding and editing CIV4's xml, I haven't understood how audio works.
I'm adding a new unit (but the same problem occurs when modifying a new unit), and I want to use my own audio files for it.
So, I put the audio files in a folder under the "sound" folder.
Then, I modified the AudioDefines.xml file, adding the tags for the new audio files.
Then, I modified the Audio3dScripts.xml, adding the scripts that use the newly added audio definitions.
Now, how to use them with my units??
I've tried starting from the CIV4UnitInfos.xml file, in which I can link my unit with its art tag name.
This art tag name refers an entry in the Civ4ArtDefines_Unit.xml file, which also contains several AudioRunSounds tags.
I've tried to use my Audio3dScripts names in those AudioRunSounds tags, but it doesn't work.
Can anyone help me?
Can you clearly explain how to link my unit with those new audio files?
I'm adding a new unit (but the same problem occurs when modifying a new unit), and I want to use my own audio files for it.
So, I put the audio files in a folder under the "sound" folder.
Then, I modified the AudioDefines.xml file, adding the tags for the new audio files.
Then, I modified the Audio3dScripts.xml, adding the scripts that use the newly added audio definitions.
Now, how to use them with my units??
I've tried starting from the CIV4UnitInfos.xml file, in which I can link my unit with its art tag name.
This art tag name refers an entry in the Civ4ArtDefines_Unit.xml file, which also contains several AudioRunSounds tags.
I've tried to use my Audio3dScripts names in those AudioRunSounds tags, but it doesn't work.
Can anyone help me?
Can you clearly explain how to link my unit with those new audio files?