Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Red Orchestra: Ostfront 41-45 Forums > Red Orchestra Modifications > Sound

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-2007, 04:12 PM
DevilDog (Teufelhund) DevilDog (Teufelhund) is offline
Senior Member
 
Join Date: Feb 2006
Location: USA
Posts: 156
Default Sound issue (or maybe coding).....

I having a bit of a problem with the horn on our truck. For some reason the driver can hear it, but no one else. I've many different things, but no luck.

Is it possible that I coudl be doing something wrong when I import the wave files? Once the sound is imported, the properties are the same as any other sound we currently use. The sound is mono as well (1, 16, 44100).

I'll dump the code below as well.

To keep it simple I used fairly straightforward coding as a last resort. Though I was trying to use the ServerPlayHorn function and have also tried custom code. So, any thoughts? Thanks in advance for any help.

var() sound VehHornSound;

simulated function Fire(optional float F)
{
//local int i;

//ServerPlayHorn(i);

PlaySound(VehHornSound, SLOT_None, 1.0,,600);

/*
if (Role == ROLE_Authority)
{
PlayOwnedSound(HornSounds[i], SLOT_None, 160/255.0,, 400, 1, False);
}
else
{
PlaySound(HornSounds[i], SLOT_None, 160/255.0,, 400, 1, False);
}
*/
}
__________________
Reply With Quote
  #2  
Old 12-07-2007, 05:45 PM
worluk's Avatar
worluk worluk is offline
Senior Member
 
Join Date: Nov 2005
Posts: 2,217
Default

sounds (bwahaha ) like a replication issue.
Reply With Quote
  #3  
Old 12-07-2007, 10:35 PM
DevilDog (Teufelhund) DevilDog (Teufelhund) is offline
Senior Member
 
Join Date: Feb 2006
Location: USA
Posts: 156
Default

lol, good one!

That's what I thought at first, but you could be right. I could have overlooked something. I didn't see any of the existing sounds in a replication block though.
__________________
Reply With Quote
  #4  
Old 12-08-2007, 06:18 AM
worluk's Avatar
worluk worluk is offline
Senior Member
 
Join Date: Nov 2005
Posts: 2,217
Default

you sure Fire is called on the server?
Reply With Quote
Reply

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 -4. The time now is 06:21 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC