![]() |
#1
|
|||
|
|||
![]()
Can any of the coding guru's suggest why the code below fails with a 'sound not part of maddox' runtime error when I run this script with a mission. Seems like the compiler doesn't recognise that maddox.sound is referenced in my project (but it is). No errors show up in C# express.
code removed by author
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash. Get the latest COD Team Fusion patch info HERE Last edited by salmo; 10-18-2012 at 09:22 AM. |
#2
|
|||
|
|||
![]()
//$reference parts/core/sound.dll
didn't work? BTW The "new" soundengine is in fmodex.dll and fmod_event.dll, it's from a 3rd party developer http://www.fmod.org/ may be this is the problem. |
#3
|
|||
|
|||
![]()
The sound.dll is already referenced, and yes, it didn't work. I'll try the FMOD components instead. Thankyou
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash. Get the latest COD Team Fusion patch info HERE Last edited by salmo; 08-30-2012 at 10:36 PM. |
#4
|
|||
|
|||
![]()
New (similar) problem
![]() code removed by author UPDATE: Fmod is unmanaged C++ and thus can't be referenced directly into .Net. You have to use the FMOD wrapper. Now I'm looking for the wrapper. UPDATE: Found the wrapper, imported the cs files into my project, but now there is an 'incompatible' error between FMOD for CLOD & the fmodex classes in the wrapper ![]() Is there a way to reference FMOD in C# express projects?
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash. Get the latest COD Team Fusion patch info HERE Last edited by salmo; 10-18-2012 at 09:22 AM. |
#5
|
|||
|
|||
![]()
Bump
__________________
__________________ Win7, 64bit Ultra Asus P8P67Pro MB Intel i7-2600K Coursair 16GB (4x 4GB), DDR3-1600MHz Gainward Nvidia 580GTX 3GB DDR5 850-Watt Modular Power Supply WIN7 and COD on Gskill SSD 240GB 40" Panasonic LCD TrackIR5 + Thrustmaster Warthog stick, throttle & pedals |
#6
|
|||
|
|||
![]()
If you are trying to play a non standard sound on the client (player's) machine, I'm afraid that will not work.
You will end up with the sound being played on the server which, if running on your machine, will make you thing is coming from the client. |
![]() |
|
|