Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started 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?
-
I ran across the exact same problem a couple of months ago. No fix as far as I know. :(
-
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.
-
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.
-
Did you add "steam" to your weapons' flags?
-
'stream'...
Anyway i reported this to Mantis
-
Just tested it with stream. Doesn't change anything, the sound is still there. Seems to be hardcoded.
-
Yeah... the sound thing is hardcoded
-
Definantly, so use the workarounds :P
-
Actually it may yet get fixed if it is found to be a bug.