Civ 4: Editing the music playlists
Posted: 2006-07-01 06:57am
I've heard you can edit the XML documents in Civ 4 to put in your own custom music playlists.
Does anyone know how to do this?
Does anyone know how to do this?
Get your fill of sci-fi, science, and mockery of stupid ideas
http://stardestroyer.dyndns-home.com/
http://stardestroyer.dyndns-home.com/viewtopic.php?f=24&t=94078
I don't know which file it is i need to change.Faqa wrote: It's XML. Shouldn't be too hard to puzzle out.
Post the file content, that might help.
Code: Select all
- <!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Rob McLaughlin (Firaxis Games)
-->
- <!-- Sid Meier's Civilization 4
-->
- <!-- Copyright Firaxis Games 2005
-->
- <!--
-->
- <!-- Audio Script Schema
-->
- <Schema xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes">
<ElementType name="ScriptID" content="textOnly" />
<ElementType name="SoundID" content="textOnly" />
<ElementType name="SoundType" content="textOnly" />
<ElementType name="iMinVolume" content="textOnly" dt:type="int" />
<ElementType name="iMaxVolume" content="textOnly" dt:type="int" />
<ElementType name="iPitchChangeDown" content="textOnly" dt:type="int" />
<ElementType name="iPitchChangeUp" content="textOnly" dt:type="int" />
<ElementType name="bLooping" content="textOnly" dt:type="boolean" />
<ElementType name="iMinTimeDelay" content="textOnly" dt:type="int" />
<ElementType name="iMaxTimeDelay" content="textOnly" dt:type="int" />
<ElementType name="StartPosition" content="textOnly" />
<ElementType name="EndPosition" content="textOnly" />
<ElementType name="iMinVelocity" content="textOnly" dt:type="int" />
<ElementType name="iMaxVelocity" content="textOnly" dt:type="int" />
<ElementType name="iMinDistanceFromListener" content="textOnly" dt:type="int" />
<ElementType name="iMaxDistanceFromListener" content="textOnly" dt:type="int" />
<ElementType name="iMinDistanceForMaxVolume" content="textOnly" dt:type="int" />
<ElementType name="iMaxDistanceForMaxVolume" content="textOnly" dt:type="int" />
<ElementType name="iMinCutoffDistance" content="textOnly" dt:type="int" />
<ElementType name="iMaxCutoffDistance" content="textOnly" dt:type="int" />
<ElementType name="bTaperForSoundtracks" content="textOnly" dt:type="boolean" />
<ElementType name="iLengthOfSound" content="textOnly" dt:type="int" />
<ElementType name="iMinLeftPan" content="textOnly" dt:type="int" />
<ElementType name="iMaxLeftPan" content="textOnly" dt:type="int" />
<ElementType name="iMinRightPan" content="textOnly" dt:type="int" />
<ElementType name="iMaxRightPan" content="textOnly" dt:type="int" />
<ElementType name="fMinDryLevel" content="textOnly" dt:type="float" />
<ElementType name="fMaxDryLevel" content="textOnly" dt:type="float" />
<ElementType name="fMinWetLevel" content="textOnly" dt:type="float" />
<ElementType name="fMaxWetLevel" content="textOnly" dt:type="float" />
<ElementType name="ScriptType" content="textOnly" />
- <ElementType name="SoundscapeElement" content="eltOnly">
<element type="ScriptType" />
<element type="ScriptID" />
</ElementType>
- <ElementType name="Script3DSound" content="eltOnly">
<element type="ScriptID" />
<element type="SoundID" />
<element type="SoundType" />
<element type="iMinVolume" />
<element type="iMaxVolume" />
<element type="iPitchChangeDown" />
<element type="iPitchChangeUp" />
<element type="bLooping" />
<element type="iMinTimeDelay" />
<element type="iMaxTimeDelay" />
<element type="StartPosition" />
<element type="EndPosition" />
<element type="iMinVelocity" />
<element type="iMaxVelocity" />
<element type="iMinDistanceFromListener" />
<element type="iMaxDistanceFromListener" />
<element type="iMinDistanceForMaxVolume" />
<element type="iMaxDistanceForMaxVolume" />
<element type="iMinCutoffDistance" />
<element type="iMaxCutoffDistance" />
<element type="bTaperForSoundtracks" />
<element type="iLengthOfSound" />
<element type="fMinDryLevel" />
<element type="fMaxDryLevel" />
<element type="fMinWetLevel" />
<element type="fMaxWetLevel" />
</ElementType>
- <ElementType name="Script2DSound" content="eltOnly">
<element type="ScriptID" />
<element type="SoundID" />
<element type="SoundType" />
<element type="iMinVolume" />
<element type="iMaxVolume" />
<element type="iPitchChangeDown" />
<element type="iPitchChangeUp" />
<element type="iMinLeftPan" />
<element type="iMaxLeftPan" />
<element type="iMinRightPan" />
<element type="iMaxRightPan" />
<element type="bLooping" />
<element type="iMinTimeDelay" />
<element type="iMaxTimeDelay" />
<element type="bTaperForSoundtracks" />
<element type="iLengthOfSound" />
<element type="fMinDryLevel" />
<element type="fMaxDryLevel" />
<element type="fMinWetLevel" />
<element type="fMaxWetLevel" />
</ElementType>
- <ElementType name="ScriptSoundscape" content="eltOnly">
<element type="ScriptID" />
<element type="iMinVolume" />
<element type="iMaxVolume" />
<element type="SoundscapeElement" minOccurs="0" maxOccurs="*" />
</ElementType>
- <ElementType name="Script3DSounds" content="eltOnly">
<element type="Script3DSound" maxOccurs="*" />
</ElementType>
- <ElementType name="Script2DSounds" content="eltOnly">
<element type="Script2DSound" maxOccurs="*" />
</ElementType>
- <ElementType name="ScriptSoundscapes" content="eltOnly">
<element type="ScriptSoundscape" maxOccurs="*" />
</ElementType>
</Schema>
Code: Select all
- <!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Rob McLaughlin (Firaxis Games)
-->
- <!-- Sid Meier's Civilization 4
-->
- <!-- Copyright Firaxis Games 2005
-->
- <!--
-->
- <!-- Audio Defines
-->
- <Schema xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes">
<ElementType name="SoundID" content="textOnly" />
<ElementType name="Filename" content="textOnly" />
<ElementType name="bIsCompressed" content="textOnly" dt:type="boolean" />
<ElementType name="bInGeneric" content="textOnly" dt:type="boolean" />
<ElementType name="ContextType" content="textOnly" />
<ElementType name="SoundType" content="textOnly" />
<ElementType name="PositionType" content="textOnly" />
<ElementType name="ScriptType" content="textOnly" />
<ElementType name="LoadType" content="textOnly" />
<ElementType name="EffectType" content="textOnly" />
<ElementType name="SpeakerConfig" content="textOnly" />
<ElementType name="fReverbTime" content="textOnly" dt:type="float" />
<ElementType name="fReverbPredelay" content="textOnly" dt:type="float" />
<ElementType name="fReverbDamping" content="textOnly" dt:type="float" />
<ElementType name="fReverbDryLevel" content="textOnly" dt:type="float" />
<ElementType name="fReverbWetLevel" content="textOnly" dt:type="float" />
<ElementType name="iSampleRate" content="textOnly" dt:type="int" />
<ElementType name="iSampleBits" content="textOnly" dt:type="int" />
<ElementType name="iMultiChannelPref" content="textOnly" dt:type="int" />
<ElementType name="iNum2DSamples" content="textOnly" dt:type="int" />
<ElementType name="iNum3DSamples" content="textOnly" dt:type="int" />
<ElementType name="iNum2DStreams" content="textOnly" dt:type="int" />
<ElementType name="iNum3DStreams" content="textOnly" dt:type="int" />
<ElementType name="fPercentSamplesFor3D" content="textOnly" dt:type="float" />
- <ElementType name="AudioSystemInit" content="eltOnly">
<element type="iSampleRate" maxOccurs="1" />
<element type="iSampleBits" maxOccurs="1" />
<element type="iMultiChannelPref" maxOccurs="1" />
<element type="iNum2DSamples" maxOccurs="1" />
<element type="iNum3DSamples" maxOccurs="1" />
<element type="iNum2DStreams" maxOccurs="1" />
<element type="iNum3DStreams" maxOccurs="1" />
<element type="fPercentSamplesFor3D" maxOccurs="1" />
</ElementType>
- <ElementType name="ReverbData" content="eltOnly">
<element type="fReverbTime" maxOccurs="1" />
<element type="fReverbPredelay" maxOccurs="1" />
<element type="fReverbDamping" maxOccurs="1" />
<element type="fReverbDryLevel" maxOccurs="1" />
<element type="fReverbWetLevel" maxOccurs="1" />
</ElementType>
<ElementType name="GameEnvironmentType" content="textOnly" />
- <ElementType name="GameEnvironmentMap" content="eltOnly">
<element type="GameEnvironmentType" maxOccurs="1" />
<element type="ReverbData" maxOccurs="1" />
<element type="EffectType" maxOccurs="1" />
</ElementType>
- <ElementType name="SoundData" content="eltOnly">
<element type="SoundID" />
<element type="Filename" />
<element type="LoadType" />
<element type="bIsCompressed" />
<element type="bInGeneric" />
</ElementType>
- <ElementType name="SoundDatas" content="eltOnly">
<element type="SoundData" maxOccurs="*" />
</ElementType>
- <ElementType name="SpeakerConfigs" content="eltOnly">
<element type="SpeakerConfig" maxOccurs="*" />
</ElementType>
- <ElementType name="ContextTypes" content="eltOnly">
<element type="ContextType" maxOccurs="*" />
</ElementType>
- <ElementType name="SoundTypes" content="eltOnly">
<element type="SoundType" maxOccurs="*" />
</ElementType>
- <ElementType name="PositionTypes" content="eltOnly">
<element type="PositionType" maxOccurs="*" />
</ElementType>
- <ElementType name="ScriptTypes" content="eltOnly">
<element type="ScriptType" maxOccurs="*" />
</ElementType>
- <ElementType name="LoadTypes" content="eltOnly">
<element type="LoadType" maxOccurs="*" />
</ElementType>
- <ElementType name="EffectTypes" content="eltOnly">
<element type="EffectType" maxOccurs="*" />
</ElementType>
- <ElementType name="GameEnvironmentTypes" content="eltOnly">
<element type="GameEnvironmentType" maxOccurs="*" />
</ElementType>
- <ElementType name="Effects" content="eltOnly">
<element type="GameEnvironmentMap" maxOccurs="*" />
</ElementType>
- <ElementType name="AudioDefines" content="eltOnly">
<element type="SoundDatas" maxOccurs="1" />
<element type="ContextTypes" maxOccurs="1" />
<element type="SoundTypes" maxOccurs="1" />
<element type="PositionTypes" maxOccurs="1" />
<element type="ScriptTypes" maxOccurs="1" />
<element type="LoadTypes" maxOccurs="1" />
<element type="EffectTypes" maxOccurs="1" />
<element type="GameEnvironmentTypes" maxOccurs="*" />
<element type="Effects" maxOccurs="1" />
<element type="SpeakerConfigs" maxOccurs="1" />
<element type="AudioSystemInit" maxOccurs="1" />
</ElementType>
</Schema>
Code: Select all
- <!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Rob McLaughlin (Firaxis Games)
-->
- <!-- Sid Meier's Civilization 4
-->
- <!-- Copyright Firaxis Games 2005
-->
- <!--
-->
- <!-- Audio Script Schema
-->
- <Schema xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes">
<ElementType name="ScriptID" content="textOnly" />
<ElementType name="SoundID" content="textOnly" />
<ElementType name="SoundType" content="textOnly" />
<ElementType name="iMinVolume" content="textOnly" dt:type="int" />
<ElementType name="iMaxVolume" content="textOnly" dt:type="int" />
<ElementType name="iPitchChangeDown" content="textOnly" dt:type="int" />
<ElementType name="iPitchChangeUp" content="textOnly" dt:type="int" />
<ElementType name="bLooping" content="textOnly" dt:type="boolean" />
<ElementType name="iMinTimeDelay" content="textOnly" dt:type="int" />
<ElementType name="iMaxTimeDelay" content="textOnly" dt:type="int" />
<ElementType name="StartPosition" content="textOnly" />
<ElementType name="EndPosition" content="textOnly" />
<ElementType name="iMinVelocity" content="textOnly" dt:type="int" />
<ElementType name="iMaxVelocity" content="textOnly" dt:type="int" />
<ElementType name="iMinDistanceFromListener" content="textOnly" dt:type="int" />
<ElementType name="iMaxDistanceFromListener" content="textOnly" dt:type="int" />
<ElementType name="iMinDistanceForMaxVolume" content="textOnly" dt:type="int" />
<ElementType name="iMaxDistanceForMaxVolume" content="textOnly" dt:type="int" />
<ElementType name="iMinCutoffDistance" content="textOnly" dt:type="int" />
<ElementType name="iMaxCutoffDistance" content="textOnly" dt:type="int" />
<ElementType name="bTaperForSoundtracks" content="textOnly" dt:type="boolean" />
<ElementType name="iLengthOfSound" content="textOnly" dt:type="int" />
<ElementType name="iMinLeftPan" content="textOnly" dt:type="int" />
<ElementType name="iMaxLeftPan" content="textOnly" dt:type="int" />
<ElementType name="iMinRightPan" content="textOnly" dt:type="int" />
<ElementType name="iMaxRightPan" content="textOnly" dt:type="int" />
<ElementType name="fMinDryLevel" content="textOnly" dt:type="float" />
<ElementType name="fMaxDryLevel" content="textOnly" dt:type="float" />
<ElementType name="fMinWetLevel" content="textOnly" dt:type="float" />
<ElementType name="fMaxWetLevel" content="textOnly" dt:type="float" />
<ElementType name="ScriptType" content="textOnly" />
- <ElementType name="SoundscapeElement" content="eltOnly">
<element type="ScriptType" />
<element type="ScriptID" />
</ElementType>
- <ElementType name="Script3DSound" content="eltOnly">
<element type="ScriptID" />
<element type="SoundID" />
<element type="SoundType" />
<element type="iMinVolume" />
<element type="iMaxVolume" />
<element type="iPitchChangeDown" />
<element type="iPitchChangeUp" />
<element type="bLooping" />
<element type="iMinTimeDelay" />
<element type="iMaxTimeDelay" />
<element type="StartPosition" />
<element type="EndPosition" />
<element type="iMinVelocity" />
<element type="iMaxVelocity" />
<element type="iMinDistanceFromListener" />
<element type="iMaxDistanceFromListener" />
<element type="iMinDistanceForMaxVolume" />
<element type="iMaxDistanceForMaxVolume" />
<element type="iMinCutoffDistance" />
<element type="iMaxCutoffDistance" />
<element type="bTaperForSoundtracks" />
<element type="iLengthOfSound" />
<element type="fMinDryLevel" />
<element type="fMaxDryLevel" />
<element type="fMinWetLevel" />
<element type="fMaxWetLevel" />
</ElementType>
- <ElementType name="Script2DSound" content="eltOnly">
<element type="ScriptID" />
<element type="SoundID" />
<element type="SoundType" />
<element type="iMinVolume" />
<element type="iMaxVolume" />
<element type="iPitchChangeDown" />
<element type="iPitchChangeUp" />
<element type="iMinLeftPan" />
<element type="iMaxLeftPan" />
<element type="iMinRightPan" />
<element type="iMaxRightPan" />
<element type="bLooping" />
<element type="iMinTimeDelay" />
<element type="iMaxTimeDelay" />
<element type="bTaperForSoundtracks" />
<element type="iLengthOfSound" />
<element type="fMinDryLevel" />
<element type="fMaxDryLevel" />
<element type="fMinWetLevel" />
<element type="fMaxWetLevel" />
</ElementType>
- <ElementType name="ScriptSoundscape" content="eltOnly">
<element type="ScriptID" />
<element type="iMinVolume" />
<element type="iMaxVolume" />
<element type="SoundscapeElement" minOccurs="0" maxOccurs="*" />
</ElementType>
- <ElementType name="Script3DSounds" content="eltOnly">
<element type="Script3DSound" maxOccurs="*" />
</ElementType>
- <ElementType name="Script2DSounds" content="eltOnly">
<element type="Script2DSound" maxOccurs="*" />
</ElementType>
- <ElementType name="ScriptSoundscapes" content="eltOnly">
<element type="ScriptSoundscape" maxOccurs="*" />
</ElementType>
</Schema>
Code: Select all
- <!-- Audio Script Schema
-->
Code: Select all
- <Script2DSound>
<ScriptID>AS2D_DVORAK_SLAVONIC_3</ScriptID>
<SoundID>SONG_DVORAK_SLAVONIC_3</SoundID>
<SoundType>GAME_MUSIC</SoundType>
<iMinVolume>70</iMinVolume>
<iMaxVolume>70</iMaxVolume>
<iPitchChangeDown>0</iPitchChangeDown>
<iPitchChangeUp>0</iPitchChangeUp>
<iMinLeftPan>-1</iMinLeftPan>
<iMaxLeftPan>-1</iMaxLeftPan>
<iMinRightPan>-1</iMinRightPan>
<iMaxRightPan>-1</iMaxRightPan>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.0</fMinWetLevel>
<fMaxWetLevel>0.0</fMaxWetLevel>
Code: Select all
- <SoundData>
<SoundID>SONG_BEETHOVEN_6_1</SoundID>
<Filename>Sounds/Soundtrack/Industrial/Beethoven6 1</Filename>
<LoadType>STREAMED</LoadType>
<bIsCompressed>1</bIsCompressed>
<bInGeneric>1</bInGeneric>
Code: Select all
- <Script2DSound>
<ScriptID>AS2D_DVORAK_SLAVONIC_3</ScriptID>
<SoundID>SONG_DVORAK_SLAVONIC_3</SoundID>
<SoundType>GAME_MUSIC</SoundType>
<iMinVolume>70</iMinVolume>
<iMaxVolume>70</iMaxVolume>
<iPitchChangeDown>0</iPitchChangeDown>
<iPitchChangeUp>0</iPitchChangeUp>
<iMinLeftPan>-1</iMinLeftPan>
<iMaxLeftPan>-1</iMaxLeftPan>
<iMinRightPan>-1</iMinRightPan>
<iMaxRightPan>-1</iMaxRightPan>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.0</fMinWetLevel>
<fMaxWetLevel>0.0</fMaxWetLevel>
Code: Select all
- <SoundData>
<SoundID>SONG_THE_PEOPLE_ARE_HEROES</SoundID>
<Filename>Sounds/Soundtrack/Modern/ThePeopleAreHeroes</Filename>
<LoadType>STREAMED</LoadType>
<bIsCompressed>1</bIsCompressed>
<bInGeneric>1</bInGeneric>
</SoundData>
Code: Select all
- <SoundData>
<SoundID>SONG_MYSONG</SoundID>
<Filename>Sounds/Soundtrack/Modern/MYSONG</Filename> <LoadType>STREAMED</LoadType>
<bIsCompressed>1</bIsCompressed>
<bInGeneric>1</bInGeneric>
</SoundData>
Code: Select all
<Script2DSound>
<ScriptID>AS2D_SONG_MYSONG</ScriptID>
<SoundID>SONG_MYSONG</SoundID>
<SoundType>GAME_MUSIC</SoundType>
<iMinVolume>70</iMinVolume>
<iMaxVolume>70</iMaxVolume>
<iPitchChangeDown>0</iPitchChangeDown>
<iPitchChangeUp>0</iPitchChangeUp>
<iMinLeftPan>-1</iMinLeftPan>
<iMaxLeftPan>-1</iMaxLeftPan>
<iMinRightPan>-1</iMinRightPan>
<iMaxRightPan>-1</iMaxRightPan>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.0</fMinWetLevel>
<fMaxWetLevel>0.0</fMaxWetLevel>
</Script2DSound>