Results 1 to 4 of 4

Hybrid View

  1. #1
    MSgt. Shooter Person
    Join Date
    Sep 2008
    Location
    Planet Andromeda, planning your annihilation
    Posts
    149

    Question 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.

  2. #2
    MSgt. Shooter Person
    Join Date
    Nov 2008
    Posts
    140

    Default

    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.

  3. #3

    Default

    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

  4. #4
    MSgt. Shooter Person
    Join Date
    Sep 2008
    Location
    Planet Andromeda, planning your annihilation
    Posts
    149

    Default

    Thanks, Acecutter. I've got it now. The beam works perfectly, with a few exceptions.


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.