IMÁDOM!!! Eszméletlen jó lett!
Lengyel, Magyar két jó barát, együtt harcol, s issza borát. With both Hungarian and Polish civs I can finally make my favourite alliance in the game Thanks!
Search the xml file for the leaders and edit the sound definitions there.
In that directory, you'll find a subdirectory for each hungarian leader:Civ4s install directory\Beyond the Sword\Mods\Varietas Delectat\Assets\Modules\Hungary
Each directory contains a file called XYZ_CIV4LeaderHeadInfos.xml, which are the files you need to edit. Open one of them to get an idea what's done there. Windows editor should be fine to open the xml.- Kossuth - Lajos Kossuth
- Matthias - Matthias Corvinus
- Szechenyi - István Széchenyi
- SzentIstvan - Saint Stephen I
Besides of the Mods subdirectory and many more, the is a directory called Assets. Browse that, then change to XML, finally to Civilizations. You should be here now:Civ4s install directory\Beyond the Sword
There is a similar file like the ones I showed you in VDs Hungary module: CIV4LeaderHeadInfos.xml. It's different in that ways, that it contains definitions for more than only one leader - all the leaders coming with civ4 and its expansions attributes are given here. All the definitions given here are valid, so you can reuse them for a user-made leader. But never alter this file as that might break your game!Civ4s install directory\Beyond the Sword\Assets\XML\Civilizations
No probMany thanks, mate. I got it working, ...
Sure. You'll just need to locate the right CIV4LeaderHeadInfos.xml for the leader.1. This works for all the LH's that don't have music?
The problem is similar to that of the leaders. Sound per se can't be made modular, this conflicts with the idea of VD of giving a base package, then extend it with additional modules. This is why avain used the english texts. Check this thread for basic information about unit sounds: http://forums.civfanatics.com/showthread.php?t=168876 (see post 2). You won't need to follow that tutorial, just have an overview.2. How can I change the language of the units, because the Hungarians are speaking English.....
Now, you'll need the mp3s. You can take them from my mod: http://forums.civfanatics.com/showthread.php?t=143879 (do a search for mp3 files through the explorer, take the MagyarOrder and MagyarSelect files). Place the mp3s in the folder previously created, do not rename the mp3s.Civ4s install directory\Beyond the Sword\Mods\Varietas Delectat\Assets\Modules\Hungary
In that directory, you'll find Audio3DScripts.xml and AudioDefines.xml. Open Audio3DScripts.xml and add the following two defines to the end of the file (if you don't add it to the end, the sounds may refuse to work, don't know why):Civ4s install directory\Beyond the Sword\Mods\Varietas Delectat\Assets\XML\Audio
(You better restore the indents.)<Script3DSound>
<ScriptID>AS3D_MAGYAR_SELECT</ScriptID>
<SoundID>SND_MAGYAR_SELECT</SoundID>
<SoundType>GAME_SPEECH</SoundType>
<iMinVolume>100</iMinVolume>
<iMaxVolume>100</iMaxVolume>
<iPitchChangeDown>0</iPitchChangeDown>
<iPitchChangeUp>0</iPitchChangeUp>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<StartPosition>NONE</StartPosition>
<EndPosition>NONE</EndPosition>
<iMinVelocity>0</iMinVelocity>
<iMaxVelocity>0</iMaxVelocity>
<iMinDistanceFromListener>0</iMinDistanceFromListener>
<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
<iMinDistanceForMaxVolume>500</iMinDistanceForMaxVolume>
<iMaxDistanceForMaxVolume>1000</iMaxDistanceForMaxVolume>
<iMinCutoffDistance>7000</iMinCutoffDistance>
<iMaxCutoffDistance>7000</iMaxCutoffDistance>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.5</fMinWetLevel>
<fMaxWetLevel>0.5</fMaxWetLevel>
<iNotPlayPercent>0</iNotPlayPercent>
</Script3DSound>
<Script3DSound>
<ScriptID>AS3D_MAGYAR_ORDER</ScriptID>
<SoundID>SND_MAGYAR_ORDER</SoundID>
<SoundType>GAME_SPEECH</SoundType>
<iMinVolume>100</iMinVolume>
<iMaxVolume>100</iMaxVolume>
<iPitchChangeDown>0</iPitchChangeDown>
<iPitchChangeUp>0</iPitchChangeUp>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<StartPosition>NONE</StartPosition>
<EndPosition>NONE</EndPosition>
<iMinVelocity>0</iMinVelocity>
<iMaxVelocity>0</iMaxVelocity>
<iMinDistanceFromListener>0</iMinDistanceFromListener>
<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
<iMinDistanceForMaxVolume>500</iMinDistanceForMaxVolume>
<iMaxDistanceForMaxVolume>1000</iMaxDistanceForMaxVolume>
<iMinCutoffDistance>7000</iMinCutoffDistance>
<iMaxCutoffDistance>7000</iMaxCutoffDistance>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.5</fMinWetLevel>
<fMaxWetLevel>0.5</fMaxWetLevel>
<iNotPlayPercent>0</iNotPlayPercent>
</Script3DSound>
Save the file and close it.<SoundData>
<SoundID>SND_MAGYAR_SELECT</SoundID>
<Filename>Modules/Hungary/Audio/MagyarSelect</Filename>
<LoadType>DYNAMIC_RES</LoadType>
<bIsCompressed>1</bIsCompressed>
<bInGeneric>1</bInGeneric>
</SoundData>
<SoundData>
<SoundID>SND_MAGYAR_ORDER</SoundID>
<Filename>Modules/Hungary/Audio/MagyarOrder</Filename>
<LoadType>DYNAMIC_RES</LoadType>
<bIsCompressed>1</bIsCompressed>
<bInGeneric>1</bInGeneric>
</SoundData>
search the file called Hungary_CIV4CivilizationInfos.xml. Search for the following two lines:Civ4s install directory\Beyond the Sword\Mods\Varietas Delectat\Assets\Modules\Hungary\XML
This is the place where we need the lines I made bold when giving you the definitions for Audio3DScripts.xml. So change the two lines to:<CivilizationSelectionSound>AS3D_ENGLAND_SELECT</CivilizationSelectionSound>
<CivilizationActionSound>AS3D_ENGLAND_ORDER</CivilizationActionSound>
Save it and start VD with Hungary.<CivilizationSelectionSound>AS3D_MAGYAR_SELECT</CivilizationSelectionSound>
<CivilizationActionSound>AS3D_MAGYAR_ORDER</CivilizationActionSound>
The bold line is important as it marks the end of the <Script3DSounds>-section. The defines for the hungarian sounds belong in that section, but you put it after it. So the end of the files should look like this:...
<Script3DSound>
<ScriptID>AS3D_UN_FT17_FIRE</ScriptID>
<SoundID>SND_FT17_FIRE</SoundID>
<SoundType>GAME_SFX</SoundType>
<iMinVolume>90</iMinVolume>
<iMaxVolume>100</iMaxVolume>
<iPitchChangeDown>-7000</iPitchChangeDown>
<iPitchChangeUp>7000</iPitchChangeUp>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<StartPosition>NONE</StartPosition>
<EndPosition>NONE</EndPosition>
<iMinVelocity>0</iMinVelocity>
<iMaxVelocity>0</iMaxVelocity>
<iMinDistanceFromListener>0</iMinDistanceFromListener>
<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
<iMinDistanceForMaxVolume>500</iMinDistanceForMaxVolume>
<iMaxDistanceForMaxVolume>1000</iMaxDistanceForMaxVolume>
<iMinCutoffDistance>7000</iMinCutoffDistance>
<iMaxCutoffDistance>7000</iMaxCutoffDistance>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.5</fMinWetLevel>
<fMaxWetLevel>0.5</fMaxWetLevel>
<iNotPlayPercent>0</iNotPlayPercent>
</Script3DSound>
</Script3DSounds>
<Script3DSound>
<ScriptID>AS3D_MAGYAR_SELECT</ScriptID>
<SoundID>SND_MAGYAR_SELECT</SoundID>
<SoundType>GAME_SPEECH</SoundType>
<iMinVolume>100</iMinVolume>
<iMaxVolume>100</iMaxVolume>
<iPitchChangeDown>0</iPitchChangeDown>
<iPitchChangeUp>0</iPitchChangeUp>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<StartPosition>NONE</StartPosition>
<EndPosition>NONE</EndPosition>
<iMinVelocity>0</iMinVelocity>
<iMaxVelocity>0</iMaxVelocity>
<iMinDistanceFromListener>0</iMinDistanceFromListener>
<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
<iMinDistanceForMaxVolume>500</iMinDistanceForMaxVolume>
<iMaxDistanceForMaxVolume>1000</iMaxDistanceForMaxVolume>
<iMinCutoffDistance>7000</iMinCutoffDistance>
<iMaxCutoffDistance>7000</iMaxCutoffDistance>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.5</fMinWetLevel>
<fMaxWetLevel>0.5</fMaxWetLevel>
<iNotPlayPercent>0</iNotPlayPercent>
</Script3DSound>
<Script3DSound>
<ScriptID>AS3D_MAGYAR_ORDER</ScriptID>
<SoundID>SND_MAGYAR_ORDER</SoundID>
<SoundType>GAME_SPEECH</SoundType>
<iMinVolume>100</iMinVolume>
<iMaxVolume>100</iMaxVolume>
<iPitchChangeDown>0</iPitchChangeDown>
<iPitchChangeUp>0</iPitchChangeUp>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<StartPosition>NONE</StartPosition>
<EndPosition>NONE</EndPosition>
<iMinVelocity>0</iMinVelocity>
<iMaxVelocity>0</iMaxVelocity>
<iMinDistanceFromListener>0</iMinDistanceFromListener>
<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
<iMinDistanceForMaxVolume>500</iMinDistanceForMaxVolume>
<iMaxDistanceForMaxVolume>1000</iMaxDistanceForMaxVolume>
<iMinCutoffDistance>7000</iMinCutoffDistance>
<iMaxCutoffDistance>7000</iMaxCutoffDistance>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.5</fMinWetLevel>
<fMaxWetLevel>0.5</fMaxWetLevel>
<iNotPlayPercent>0</iNotPlayPercent>
</Script3DSound>
...
<Script3DSound>
<ScriptID>AS3D_UN_FT17_FIRE</ScriptID>
<SoundID>SND_FT17_FIRE</SoundID>
<SoundType>GAME_SFX</SoundType>
<iMinVolume>90</iMinVolume>
<iMaxVolume>100</iMaxVolume>
<iPitchChangeDown>-7000</iPitchChangeDown>
<iPitchChangeUp>7000</iPitchChangeUp>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<StartPosition>NONE</StartPosition>
<EndPosition>NONE</EndPosition>
<iMinVelocity>0</iMinVelocity>
<iMaxVelocity>0</iMaxVelocity>
<iMinDistanceFromListener>0</iMinDistanceFromListener>
<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
<iMinDistanceForMaxVolume>500</iMinDistanceForMaxVolume>
<iMaxDistanceForMaxVolume>1000</iMaxDistanceForMaxVolume>
<iMinCutoffDistance>7000</iMinCutoffDistance>
<iMaxCutoffDistance>7000</iMaxCutoffDistance>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.5</fMinWetLevel>
<fMaxWetLevel>0.5</fMaxWetLevel>
<iNotPlayPercent>0</iNotPlayPercent>
</Script3DSound>
<Script3DSound>
<ScriptID>AS3D_MAGYAR_SELECT</ScriptID>
<SoundID>SND_MAGYAR_SELECT</SoundID>
<SoundType>GAME_SPEECH</SoundType>
<iMinVolume>100</iMinVolume>
<iMaxVolume>100</iMaxVolume>
<iPitchChangeDown>0</iPitchChangeDown>
<iPitchChangeUp>0</iPitchChangeUp>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<StartPosition>NONE</StartPosition>
<EndPosition>NONE</EndPosition>
<iMinVelocity>0</iMinVelocity>
<iMaxVelocity>0</iMaxVelocity>
<iMinDistanceFromListener>0</iMinDistanceFromListener>
<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
<iMinDistanceForMaxVolume>500</iMinDistanceForMaxVolume>
<iMaxDistanceForMaxVolume>1000</iMaxDistanceForMaxVolume>
<iMinCutoffDistance>7000</iMinCutoffDistance>
<iMaxCutoffDistance>7000</iMaxCutoffDistance>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.5</fMinWetLevel>
<fMaxWetLevel>0.5</fMaxWetLevel>
<iNotPlayPercent>0</iNotPlayPercent>
</Script3DSound>
<Script3DSound>
<ScriptID>AS3D_MAGYAR_ORDER</ScriptID>
<SoundID>SND_MAGYAR_ORDER</SoundID>
<SoundType>GAME_SPEECH</SoundType>
<iMinVolume>100</iMinVolume>
<iMaxVolume>100</iMaxVolume>
<iPitchChangeDown>0</iPitchChangeDown>
<iPitchChangeUp>0</iPitchChangeUp>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<StartPosition>NONE</StartPosition>
<EndPosition>NONE</EndPosition>
<iMinVelocity>0</iMinVelocity>
<iMaxVelocity>0</iMaxVelocity>
<iMinDistanceFromListener>0</iMinDistanceFromListener>
<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
<iMinDistanceForMaxVolume>500</iMinDistanceForMaxVolume>
<iMaxDistanceForMaxVolume>1000</iMaxDistanceForMaxVolume>
<iMinCutoffDistance>7000</iMinCutoffDistance>
<iMaxCutoffDistance>7000</iMaxCutoffDistance>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.5</fMinWetLevel>
<fMaxWetLevel>0.5</fMaxWetLevel>
<iNotPlayPercent>0</iNotPlayPercent>
</Script3DSound>
</Script3DSounds>
Saw the Discord msg. Got the file! Using the atomic archive trick I found the original download page here:Hi Folks,
unfortunately the download link seems to be broken. Is there anyone out that could provide the files for the [BtS] Hungary mod v6.01 for Varietas Delectat.?