Jump to content


Photo

I want to get rid of a hard-coded sound


  • Please log in to reply
No replies to this topic

#1 temnix

temnix
  • Member
  • 983 posts

Posted 11 January 2018 - 08:29 AM

I don't want the game to play the "spell expired" sound (EFF_E05, this one) at the end of Maze automatically. The maze effect, with a given duration and custom visuals, has many potential uses. Unlike Imprisonment, Maze doesn't kill the creature in the engine's eyes, it's a perfect power to put away friendlies or hostiles for a time. But the inevitable tinkerbelling at the end of the duration, aggravated by the fact that neither Remove Effects nor Remove Opcode can end the maze before that disgraceful moment, keep Maze rustic and forlorn.

 

I assume the engine still plays the sound file, so with that sound overriden by a blank there should be silence, yes? I would rather not squash the sound completely where it has its uses, though, so what's called for is Weidu code that would comb through all spells and weapon abilities and, finding a "Play Sound" that points to that file name, replace the resource name with a reference to a copy of the file. People here like technical challenges like that. Will someone rise to this one? :Poke:


Edited by temnix, 11 January 2018 - 08:52 AM.