OpenXcom Forum

OpenXcom => Open Feedback => Topic started by: sylandro on August 22, 2015, 04:29:11 am

Title: Can't change ambient sound in terrains.rul?
Post by: sylandro on August 22, 2015, 04:29:11 am
I'm trying to make new ambient sounds for missions, but when I specify a soundId that is outside the normal range in terrains.rul, the game crashes as soon as it's loaded.

This is an example of my custom ruleset:

Code: [Select]
extraSounds:
  - type: BATTLE.CAT
    files:
      126: Resources/PSXSFX/0122_2.WAV
  - type: BATTLE2.CAT
    files:
      126: Resources/PSXSFX/0122_2.WAV

terrains:
  - name: SEABED
    ambience: 126

Support for a feature like this would be very favorable for modding!
Title: Re: Can't change ambient sound in terrains.rul?
Post by: Warboy1982 on August 22, 2015, 04:44:09 am
there is support for exactly this feature, the problem you're facing is that mods for TFTD aren't yet officially supported.