![]() |
sound
I know how to play files, but.. this is the question:
when you use your sword, and someone is far away, they don't hear it as loud as tho you were close, does this work with sound effects too? I know midi's are the whole level.. but are WAV's like the sword? if so you could make some really interesting NPC's that play a file and spun around the player, etc, etc. I'd like to know, before I try... |
As far as I know, all sounds played in ganis are treated as though they originate from the centre of the gani. Sounds played via the 'play' command don't have positions, so there're no volume modifications.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Hm. On my sound card, at least, Loriel is quite right. In weapons, however, it just plays the sound full volume.
Try this script if you want to see how your computer handles Graal's sounds and distances. NPC Code: You'll notice that play2 lets you control whereabouts a sound is being played from. Play does seem to take the position of the NPC. |
well, then I invite you all to make some cool sound effects using whatever method works best for you, and perhaps something will begin.
|
| All times are GMT +2. The time now is 05:46 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.