Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Backslash on October 25, 2008, 10:06:17 pm

Title: 'stream' flag -- how is it supposed to work?
Post by: Backslash on October 25, 2008, 10:06:17 pm
I looked in the wiki (http://www.hard-light.net/wiki/index.php/Weapons.tbl#.22stream.22), I looked at the code, I tried it in game... maybe I'm just missing something, but what is the 'stream' flag really for?

Take two guns that have, for example, firewait of 0.5 second.  A has the stream flag, B doesn't, they are otherwise identical.  I hold down the trigger with A selected for 10 seconds.  I let go, switch to B, hold down the trigger for 10 seconds.  Is there supposed to be a difference?  Am I misunderstanding how it's supposed to be used?
Title: Re: 'stream' flag -- how is it supposed to work?
Post by: Nuke on October 25, 2008, 11:58:31 pm
i think stream just makes the sounds loop instead of playing it for every shot. for fast firing weapons to sound correctly.set a firewait of like .5 and use a sound thats a couple seconds long, you should be able to hear the difference.
Title: Re: 'stream' flag -- how is it supposed to work?
Post by: Galemp on October 27, 2008, 08:50:12 am
i think stream just makes the sounds loop instead of playing it for every shot.

:eek2: That actually makes sense! Wow!