Results 1 to 9 of 9
  1. #1
    Iron Guard
    Join Date
    Apr 2009
    Location
    you would like to know wouldn't you?
    Posts
    604

    Question How do i replace weapons?

    How do i replace any weapon with a different weapon? For example:

    I want to replace the Stinger with my own custom weapon called "SuperStinger".

    I do not want to replace weapon in my inventory like the Enforcer.
    "The right to play god...is now mine"
    ~Albert Wesker


    PureUT3Mods: Volume 1 - Mutator Pack:
    http://utforums.epicgames.com/showthread.php?t=723693

  2. #2
    MSgt. Shooter Person
    Join Date
    May 2009
    Location
    California
    Posts
    372

    Default

    Use a Mutator that calls CheckReplacement then use ReplaceWith to change it to your new weapon
    "Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are,
    by definition, not smart enough to debug it." - Brian W. Kernighan

  3. #3
    Iron Guard
    Join Date
    Apr 2009
    Location
    you would like to know wouldn't you?
    Posts
    604

    Default

    You mean the Script. Or do i have to create the script. I am not good at making scripts. I am still a n00b.
    "The right to play god...is now mine"
    ~Albert Wesker


    PureUT3Mods: Volume 1 - Mutator Pack:
    http://utforums.epicgames.com/showthread.php?t=723693

  4. #4
    MSgt. Shooter Person
    Join Date
    May 2009
    Location
    California
    Posts
    372

    Default

    I'll Make One for you if you want, but there are many examples of doing this on the forums,
    heres one for example. It shouldn't be too hard. If you have any problems feel free to ask.
    "Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are,
    by definition, not smart enough to debug it." - Brian W. Kernighan

  5. #5

    Default

    Quote Originally Posted by Oblivion2500 View Post
    I am not good at making scripts. I am still a n00b.
    Gee, that's too bad.


    I recommend reading tutorials and finding script examples similar to what you want to do. Understanding is the first step.
    Wormbo's UT/UT2004/UT3 mods | PlanetJailbreak | Unreal Wiki | Liandri Archives

    <elmuerte> you shouldn't do all-nighters, it's a waste of time and effort
    <TNSe> nono
    <TNSe> its always funny to find code a week later you dont even remember writing
    <Pfhoenix> what's worse is when you have a Star Wars moment
    <Pfhoenix> "Luke! I am your code!" "No! Impossible! It can't be!"
    Note that your questions via PMs will be ignored if they actually belong in the forum.

  6. #6

    Default

    Or you could just use the configurable Weapon Replacement mutator that comes with the game...

  7. #7
    Iron Guard
    Join Date
    Apr 2009
    Location
    you would like to know wouldn't you?
    Posts
    604

    Default

    Thanks for you help!
    "The right to play god...is now mine"
    ~Albert Wesker


    PureUT3Mods: Volume 1 - Mutator Pack:
    http://utforums.epicgames.com/showthread.php?t=723693

  8. #8
    Iron Guard
    Join Date
    Apr 2009
    Location
    you would like to know wouldn't you?
    Posts
    604

    Default

    I am getting a lot better in modding. Maybe i am just a little bit of a n00b.
    "The right to play god...is now mine"
    ~Albert Wesker


    PureUT3Mods: Volume 1 - Mutator Pack:
    http://utforums.epicgames.com/showthread.php?t=723693

  9. #9
    MSgt. Shooter Person
    Join Date
    May 2009
    Location
    California
    Posts
    372

    Default

    Hey we're all newbs at first, but learning transforms us into scripters.
    "Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are,
    by definition, not smart enough to debug it." - Brian W. Kernighan


 

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.