Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: DarkShadow- on February 03, 2007, 08:04:45 am

Title: Beam sound problems
Post by: DarkShadow- on February 03, 2007, 08:04:45 am
For my campaign I'm creating a fighter laser weapon based on a beam (because I'm going for correct physics, that's the only way to create a real laser). Current idea is to make fire rate and lifetime the same (short) period so the laser is firing as long as the player is pressing the fire button. This works very fine except one issue I'm unable to solve.

With the short lifetime and no warmup/-down-time, there's no need for a warmup/-down-sound. I already have a sound to create a constant loop for the beam, but no matter what I do, every shot uses the beam_shot1.wav. Obviously, this sounds weird, having the constant sound and additionally the beam_shot1. Hell, even if I set every part in the table that creates a sound to the empty.wav I hear beam_shot1.

Anyone an idea what's the reason for this or how to solve the problem?
Title: Re: Beam sound problems
Post by: asyikarea51 on February 03, 2007, 08:07:01 am
I ran across the exact same problem a couple of months ago. No fix as far as I know. :(
Title: Re: Beam sound problems
Post by: Vengence on February 03, 2007, 09:28:33 am
My solution if I had to do such:

Remove that beam sound from the Sound tables. That way, no beam shot sound. If you still want big beam sounds, use a sound editing tool to insert that beam shot sound into the end of the charge sound and time things right in the tables and its done.
Title: Re: Beam sound problems
Post by: DarkShadow- on February 03, 2007, 10:26:06 am
Well, thx, that works.  :D

The big beam sounds need some work now, but that's just simple work. I should be able to change the sound files the way I want them to be.
Title: Re: Beam sound problems
Post by: Trivial Psychic on February 03, 2007, 11:12:25 pm
Did you add "steam" to your weapons' flags?
Title: Re: Beam sound problems
Post by: Wanderer on February 04, 2007, 12:57:54 am
'stream'...

Anyway i reported this to Mantis
Title: Re: Beam sound problems
Post by: DarkShadow- on February 04, 2007, 06:52:00 am
Just tested it with stream. Doesn't change anything, the sound is still there. Seems to be hardcoded.
Title: Re: Beam sound problems
Post by: Wanderer on February 04, 2007, 08:44:25 am
Yeah... the sound thing is hardcoded
Title: Re: Beam sound problems
Post by: Vengence on February 04, 2007, 10:33:29 am
Definantly, so use the workarounds :P
Title: Re: Beam sound problems
Post by: Wanderer on February 04, 2007, 11:36:14 am
Actually it may yet get fixed if it is found to be a bug.