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 the filepath for the sound file.

always_load determines whether the sound is always loaded into memory.

Documentation EffectsTriggersModifiersScopesVariablesLocalisationCustomizable localization
Scripting AdvisorsAgesBookmarksBuildingsCasus belliColonial regionsCountriesCultureDecisionsDefinesDiplomatic actionsDisastersEstatesEventsFactionsGovernmentGreat projectsHistoryIdea groupsInstitutionsMissionsModifiersNation designerPoliciesReligionRebel typesSubject typesTechnologyTrade companiesTrade goodsUnits
Map MapRandom New WorldTrade nodes
Graphics 3D ModelsInterfaceGraphical AssetsFontsParticlesShadersUnit models
Audio MusicSound
Other Console commandsChecksumJoroDox mod making toolMod structureTroubleshootingThe Validator
Guides Adding a province