1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Weapons

Discussion in 'Programming' started by Lemoni, Nov 26, 2001.

  1. Lemoni

    Lemoni The Philosapher

    Joined:
    Feb 17, 2001
    Messages:
    628
    Likes Received:
    0
    i making a mod that replaces weapons but how do i get the mod to replace guns in existing maps?
    Any takers please?
     
  2. eXoR

    eXoR Lead coder

    Joined:
    Oct 22, 2001
    Messages:
    36
    Likes Received:
    0
    Use the mutator function CheckReplacement. Then check if the actor that CheckReplacement is called for is a weapon, and if so, call ReplaceWith for the weapon that CheckReplacement was called and replace it with one of yours.
     
  3. Lemoni

    Lemoni The Philosapher

    Joined:
    Feb 17, 2001
    Messages:
    628
    Likes Received:
    0
    cool chears thats easy i just didn't know what the function was.
    is there a tc version or is it the same
     
  4. aspie

    aspie It's all good baby.

    Joined:
    Feb 24, 2001
    Messages:
    315
    Likes Received:
    0
    Check out dmmutator.uc
     

Share This Page