News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 7th Apr 2005, 04:57 PM   #1
Registered User
Raven's Avatar
Join Date: Jan. 17th, 2004
Posts: 147
Question [UT'99] why sound is so low

I write code for lightning. The problem is, that sound is played too low, and I don't know what I need to do, to make it work properly. Here is code:

class TCOLightningSound extends TCOLightning;

#exec OBJ LOAD FILE=..\Sounds\AmbOutside.uax PACKAGE=AmbOutside

var() sound LightningSound;
var() byte LightningVolume;
var() bool LightningbNoOverride;
var() byte LightningRadius;

function PlayThunder()
  PlaySound(LightningSound, SLOT_None, float(LightningVolume)*128, LightningbNoOverride, float(LightningRadius)*25);

Raven is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 05:21 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2015, vBulletin Solutions, Inc.

Copyright ©1998 - 2015, BeyondUnreal
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer