|
Hyper.nl Unreal Services The forum of Hyper.nl Unreal Services and the semi-offical resource for Winged Unicorn's Unreal mods
|
View previous topic :: View next topic |
Author |
Message |
Shadow
Joined: 31 Mar 2008 Posts: 97 Location: Ukraine
|
Posted: Mon Jul 07, 2008 10:06 am Post subject: Sound volume |
|
|
I have a question, maybe somebody knows...
Which sound slots are the loudest?Or - how to program PlaySound function correctly to have really loud effects?
Seems sometimes needs to have impressive sound volume for big booms (such as nuke), and sometimes I can't catch best result.Can somebody advice? |
|
Back to top |
|
|
mental-HunteR
Joined: 05 May 2006 Posts: 363 Location: The Netherlands
|
Posted: Mon Jul 07, 2008 1:55 pm Post subject: |
|
|
Yea, try one of these:
PlaySound(EffectSound1,,7.0,,16000.000000,Frand()*0.8+0.6);
PlaySound(EffectSound1,,7.0,,16000.000000);
the one completely up i got from some ut mod, the one below that is the same but always the same sound, the first one highers or lowers the pitch everytime the sounds used.
and you can hear them thru almost the WHOLE level. _________________
|
|
Back to top |
|
|
Bleeder91
Joined: 28 Sep 2006 Posts: 265
|
Posted: Mon Jul 07, 2008 2:05 pm Post subject: |
|
|
hmm that 16000 sounds like the soundradius and the 7.0 the loudness... i tryed this once too, its just a big guess. with some settings the sound wont even play at all 0.o or maybe i just screwed things up
Code: | native(264) final function PlaySound
(
sound Sound,
optional ESoundSlot Slot,
optional float Volume,
optional bool bNoOverride,
optional float Radius,
optional float Pitch
); |
and the Slot could be one of these:
Code: | enum ESoundSlot
{
SLOT_None,
SLOT_Misc,
SLOT_Pain,
SLOT_Interact,
SLOT_Ambient,
SLOT_Talk,
SLOT_Interface,
}; |
hmm SLOT_interface makes only the triggerer hear the sound, like the "say"command bleep..cool.. _________________ Unreallity - Wrath of the Skaarj is still developing! Check out the new refreshing website!
|
|
Back to top |
|
|
Shadow
Joined: 31 Mar 2008 Posts: 97 Location: Ukraine
|
Posted: Mon Jul 07, 2008 3:12 pm Post subject: |
|
|
But which one from slots provides more loudness?Usually, I use SLOT_Misc, SLOT_Interact and SLOT_None.
Besides, usually to add loudness, in code i repeated PlaySound function 2 or 3 times at once with same sound.That gave me some effect that was close to things I needed, but...Not absolutely the SAME I needed .... |
|
Back to top |
|
|
mental-HunteR
Joined: 05 May 2006 Posts: 363 Location: The Netherlands
|
Posted: Mon Jul 07, 2008 4:22 pm Post subject: |
|
|
I mostly uses SLot_Misc SLot_Interact and Slot_Talk. But my code..is really simple.. _________________
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|