Author Topic: Can't change ambient sound in terrains.rul?  (Read 2590 times)

Offline sylandro

  • Sergeant
  • **
  • Posts: 18
    • View Profile
Can't change ambient sound in terrains.rul?
« 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!

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Can't change ambient sound in terrains.rul?
« Reply #1 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.