Sound modding

From Europa Universalis 4 Wiki
Jump to navigation Jump to search

Sound definitions are found in /Europa Universalis IV/sound. A sound file should be saved as a WAV file in Stereo, at 44100Hz and as a 32-bit float.

All of the sound definition files must be saved as .asset files.

Sound[edit]

A sound entry is used to define a sound. It follows this format:

sound = {
    name = "name_of_sound"
    file = "path/filename.wav"
    always_load = yes
}

name is the name of the sound.

file is the filepath for the sound file.

always_load determines whether the sound is always loaded into memory.

Documentation EffectsTriggersModifiersScopesVariablesLocalisationCustomizable localizationRun files
Scripting AdvisorsAgesBookmarksBuildingsCasus belliColonial regionsCountriesCultureDecisionsDefinesDiplomatic actionsDisastersEstatesEventsFactionsGovernmentGreat projectsHistoryIdea groupsInstitutionsMercenariesMissionsModifiersNation designerPoliciesReligionRebel typesSubject typesTechnologyTrade companiesTrade goodsUnits
Map MapRandom New WorldTrade nodes
Graphics 3D ModelsInterfaceGraphical AssetsFontsParticlesShadersUnit models
Audio MusicSound
Other Console commandsChecksumJoroDox mod making toolMod structureTroubleshootingThe ValidatorRun files
Guides Adding a provinceSave-game editing