Author Topic: Change hitSound on Explosions  (Read 2883 times)

Offline Arthanor

  • Commander
  • *****
  • Posts: 2488
  • XCom Armoury Quartermaster
    • View Profile
Change hitSound on Explosions
« on: June 21, 2015, 09:57:40 pm »
I'm not sure if I am missing something, but I haven't been able to change the sound played when something explodes.

In the vanilla ruleset, every explody thing has the same "hitSound: 0". Presumably OpenXCom uses a similar system based on the explosion's power to determine the noise, like the original?

I have tried to import new sounds in BATTLE.CAT, which works fine for firing sounds, but did not change anything for hit sounds. Or do you need to change a different file?

I've attached a flamethrower ripoff mod I had been working on a while ago, in case anyone wants to test things. It defines a hitSound and the appropriate entry for BATTLE.CAT, but every time the flame jet hits the ground, a small explosion sound is played instead of the flamey sound,

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Change hitSound on Explosions
« Reply #1 on: August 25, 2015, 07:06:56 pm »
[mantra]It's possible now with OXC Extended.[/mantra]

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Change hitSound on Explosions
« Reply #2 on: August 25, 2015, 07:55:46 pm »
[mantra]It's possible now with OXC Extended.[/mantra]