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.

Eeeeeek!!

Discussion in 'Ask a Coder' started by BondJamesBond, Jan 29, 2002.

  1. BondJamesBond

    BondJamesBond New Member

    Joined:
    Sep 23, 2001
    Messages:
    43
    Likes Received:
    0
    What code do I need to make a UT pistol that reloads and all that stuff? Is there a mod that I can refer to for scripts??

    Sorry for asking the same question in two posts.. :eek:

    Thanks in advance,
    -Rainbow Six
     
  2. Wormbo

    Wormbo Administrator Staff Member

    Joined:
    Jun 4, 2001
    Messages:
    5,910
    Likes Received:
    35
    If you mean automatically reload after a certain amount of ammo is used, look at the code of UnrealShare.AutoMag or EIBotpackUpgrade.EI_EnforcerReload. [pimp]Enhanced Items mod from my homepage[/pimp]:D
     
  3. BondJamesBond

    BondJamesBond New Member

    Joined:
    Sep 23, 2001
    Messages:
    43
    Likes Received:
    0
    Thanks!!

    Yeah, I'll check out the Enhanced Items. Thanks abunch!

    -Rainbow Six
     
  4. WheatPuppet

    WheatPuppet Corriganism

    Joined:
    Jan 22, 2002
    Messages:
    85
    Likes Received:
    0
    I want you to post that tutorial for the Enhanced Items mutator. I am in the uncomfortable position in uscript where I would know what everything means if I could figure out where the hell all these out-of-class references come from. I find it quite irritating. I get it but I can't get it.
     
  5. BondJamesBond

    BondJamesBond New Member

    Joined:
    Sep 23, 2001
    Messages:
    43
    Likes Received:
    0
    By the way...

    Hey!

    I checked out the Enhanced Items, but no help. It has all that Slave/Master junk, and it uses stuff from it's Parent. (EnhancedWeapon)

    And, how do I align the Muzzle Flash in the first person view? What variables control that? Is there a way other than hacking at it?

    KEWL MOD, THOUGH!

    -Rainbow Six
     
  6. WheatPuppet

    WheatPuppet Corriganism

    Joined:
    Jan 22, 2002
    Messages:
    85
    Likes Received:
    0
    I had this idea, but have not had the time to implement it yet:
    Copy the code of a weapon into a text file and comment about what everything does (or at least what you can figure out) and then post that commented code to the forums and get everyone else to fill in the gaps. I thought it might help for us early coders. Would people actually pay attention to me if I did that?
     
  7. Kangus

    Kangus Zombie on your pwn!

    Joined:
    Jan 29, 2001
    Messages:
    978
    Likes Received:
    0
    Damn straight we would... I've actually wanted to go through and uber comment all the base UT weapons & pickups for sometime now..... just haven't had the time or patience to do a whole weapon on my own.
     
  8. WheatPuppet

    WheatPuppet Corriganism

    Joined:
    Jan 22, 2002
    Messages:
    85
    Likes Received:
    0
    Score! As soon as I get my hands on some uscript I will comment and post [hint]unless someone beats me to it[/hint].
     
  9. Wormbo

    Wormbo Administrator Staff Member

    Joined:
    Jun 4, 2001
    Messages:
    5,910
    Likes Received:
    35
    OK, I'll continue with the tutorial, but you'll need some knowledge in UnrealScript to understand it. (only basic stuff)
     
  10. WheatPuppet

    WheatPuppet Corriganism

    Joined:
    Jan 22, 2002
    Messages:
    85
    Likes Received:
    0
    Basic knowledge I have, it is all the specific class-reference that I need exposure to (i.e. zoneinfo.gravity or whatever). It's the stuff that only appears once (as in only one weapon or pickup, like carrying dual enforcers) that needs explaining.
     

Share This Page