01-20-2010, 11:00 PM
(12-12-2009, 03:33 AM)Marto link Wrote: Hey MJ, there is one thing I was never able to figure out when converting units to WGL:This problem is driving me nuts again. I'm experimenting with adding 3rd party vehicles to WGL and as long as I use WGL weapons and ammo tracers and cloudlets show up but as soon as I extend those WGL (weapon) classes no tracers show up.
When I convert vehicle, eg a Humvee with an MG on top, and in the config file get it to use WGL M2 and WGL ammo, the tracers never show up.
Do your vehicle/heli conversions show the tracers up when firing?
By now I figured out that there are arrays with weapon types in wglevents.pbo which control the FX effects in the eventHandlers but I can't backtrace the list for vehicle machineguns. The valid weapon class names aren't listed anywhere in the wglevents.pbo ...
I'm also looking for a way to extend/overwrite the wglevents.pbo to add 3rd party weapon and ammo classes to the FX eventhandlers. Overwriting the actual wglevents.pbo is not a nice option and having a seperate xyevents.pbo for the 3rd party addons will waste (a small - but bearable? - amount) of system resources I reckon.