alienari / bitfighter

Automatically exported from code.google.com/p/bitfighter
Other
0 stars 0 forks source link

Sound Effect enum is sent across network. Should redesign #486

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

sam686 and I just hit an issue where I added some effects to the SFXProfiles 
enum for 019d and it caused sound effect errors when connecting to an 019c 
server.  This was because we are sending the enum ID across the network from 
the server.

Is this the proper way to do this?

It seems like the enum should be used client-side only so we don't run into 
these type of problems.

Should we redesign this?

Original issue reported on code.google.com by buckyballreaction on 20 Dec 2014 at 5:24

GoogleCodeExporter commented 9 years ago
I found code where the server can broadcast a message with any sound effect it 
wants.  Is this something that may be useful?  Perhaps we could adapt to allow 
levelgens to trigger sounds.

Original comment by buckyballreaction on 10 Jul 2015 at 2:54