|
Thunder Starbrook
Registered User
Join date: 25 Dec 2006
Posts: 98
|
04-05-2007 02:45
I know nothing about scripts and just want to know if a couple of things are possible, some advice would be great..
I want to trigger several different sound effects for a gun, not only for different bullets in the gun but for different fire modes, can this be done?
ie: full auto and single fire would have different sounds but the same bullet, switch to a grenade, a different sound altogether, all in the same gun.
No need to explain how this might be done, cause it would go straight over my head lol but is it possible?
Thanks!
|
|
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
|
04-05-2007 02:51
Yes, it is possible and rather easy.
_____________________
--AeonVox--Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
|
|
Thunder Starbrook
Registered User
Join date: 25 Dec 2006
Posts: 98
|
04-05-2007 02:51
Thanks!
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-05-2007 02:52
From: Thunder Starbrook I know nothing about scripts and just want to know if a couple of things are possible, some advice would be great..
I want to trigger several different sound effects for a gun, not only for different bullets in the gun but for different fire modes, can this be done?
ie: full auto and single fire would have different sounds but the same bullet, switch to a grenade, a different sound altogether, all in the same gun.
No need to explain how this might be done, cause it would go straight over my head lol but is it possible?
Thanks! Yes it can be done very easily using llPlaySound(filename, volume)
|
|
Thunder Starbrook
Registered User
Join date: 25 Dec 2006
Posts: 98
|
04-05-2007 02:53
Umm what about stopping sounds?
Could i have a looped sound for full auto that would stop when the trigger is released?
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-05-2007 02:59
From: Thunder Starbrook Umm what about stopping sounds?
Could i have a looped sound for full auto that would stop when the trigger is released? llStopSound()
|
|
Thunder Starbrook
Registered User
Join date: 25 Dec 2006
Posts: 98
|
04-05-2007 03:02
Thanks again 
|