• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

ImperatorRevan

Private
97 Badges
Aug 14, 2012
18
13
  • Crusader Kings II
  • Warlock: Master of the Arcane
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sengoku
  • Semper Fi
  • Rome Gold
  • March of the Eagles
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Divine Wind
  • Europa Universalis III Complete
  • BATTLETECH
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Surviving Mars
  • Crusader Kings III
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Prison Architect
  • Imperator: Rome Sign Up
  • Stellaris: Megacorp
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Stellaris: Lithoids
Is it possible to add new sounds or is only possible to replace existing sounds? I'm trying to add a new sound to be used in an event. I've tried adding the sound to sound.asset as well as putting it in its own asset file and neither works. The code in the asset file is like all the other sounds.
Code:
sound =
{
    name = "event_mysound"
    file = "event/event_mysound.wav"
    volume = 1
}
I also tried putting it in the categories.asset file where the other event sounds are listed in case that's necessary.
 
  • 1
Reactions:

ImperatorRevan

Private
97 Badges
Aug 14, 2012
18
13
  • Crusader Kings II
  • Warlock: Master of the Arcane
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sengoku
  • Semper Fi
  • Rome Gold
  • March of the Eagles
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Divine Wind
  • Europa Universalis III Complete
  • BATTLETECH
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Surviving Mars
  • Crusader Kings III
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Prison Architect
  • Imperator: Rome Sign Up
  • Stellaris: Megacorp
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Stellaris: Lithoids
I figured out what was missing. You also need to define the soundeffect as well as the sound like the following.
Code:
soundeffect = {
    name = event_mysound
    sounds = {
        sound = event_mysound
    }
    volume = 0.5
    max_audible = 1
    max_audible_behaviour = fail
}
You can also put both definitions in your own asset file, and it doesn't seem to require putting it into a category.
 
  • 1
Reactions: