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 | edit source]

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 Scripted functionAdvisorsAgesBookmarksBuildingsCasus belliColonial regionsCountriesCultureDecisionsDefinesDiplomatic actionsDisastersEmpire of ChinaEstatesEventsFactionsGovernmentGreat projectsHistoryHoly Roman EmpireIdea groupsInstitutionsMercenariesMissionsModifiersNation designerOn ActionsParliamentPeace treatiesPoliciesRebel typesReligionSubject typesTechnologyTrade companiesTrade goodsUnits
Map MapNation designerRandom New WorldTrade nodes
Graphics 3D ModelsInterfaceGraphical AssetsFontsParticlesShadersUnit models
Audio MusicSound
Other Console commandsChecksumJoroDox mod making toolMod structureTroubleshootingThe ValidatorRun files
Guides Adding a provinceSave-game editingScripting Tutorial