Getting UTBeamWeapons to work
These things are driving me nuts. I've created a beam weapon based on the link gun, but I can't get a beam or a muzzle flash to show up. It does damage when it hits a target, but as I said before, there are no effects. Additionally, there are no simple examples out there to follow on how to make a working beam weapon, and when I look at existing code for beam weapons that already work, there is nothing in it that defines what particle system the beam or muzzle flash uses. If there are any tutorials out there, could someone point me to one? Thanks.
I had trouble with the link gun as well. It wasn't until after hours of frustration did I realize that the weapon is what you see in first person and the weapon attachment is what you see when looking at someone else holding the gun (or third person view).
If you aren't seeing anything when looking at someone else firing the gun then it's likely a weapon attachment issue. If you aren't seeing anything from first person then it's likely the weapon that is broken.
Also, I think a lot of the stuff for the link gun is defined in the default properties, so you may want to check that out.
K 2 things to check when creating weapons, specially beam weapons.
1.- Did you create the weapon sockets correctly, Orientation, rotation, and name are very important for the code to pick them up correctly.
2.- Now particle systems are defined in the default properties. The problem with the link gun in particular, is that if has a whole particle system to create the tubes that come out when using the alternate fire so your weapon might look a bit weird with this effect on it. either way, The only particle system stated in the Weapon code it self is the muzzle flash. The "Beam" and 3rd person flash are found in the attachment in said weapon. Most likely look for a default property called
MuzzleFlash = particlesystem'reference'
or something like that. Trust me there arent many properties with anything similar to it. Also if you would like the change lets say the beam from the link gun to the one used by the shockrifle, you also have to change the attachment code, most of the times the code in the attachment handles such things as how the beams act. Hope this info helps you out
Thanks, Acecutter. I've got it now. The beam works perfectly, with a few exceptions.