1. Welcome to the Brawl website! Feel free to look around our forums. Join our growing community by typing /register in-game!

Other How to create a resource pack - Simple

Discussion in 'Resource Packs' started by BrawlerAce, Dec 8, 2013.

Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...
  1. BrawlerAce

    BrawlerAce Well-Known Member

    Joined:
    Aug 4, 2013
    Messages:
    6,616
    Ratings:
    +2,113
    Before I start on the torial, for those of you who don't know, a resource pack is an API replacement for texture packs. Soon, resource packs will allow modification of code, which means that mods/plugins will be their own resource packs, but that won't be there for a while. If you want to update a texture pack, use the Texture Ender.
    Resource packs have these improvements over texture packs:
    • Being able to edit or add new sounds
    • Changing or adding new music
    • Animated textures
    • Language files
    • Splashes
    • Fonts
    • Etc.
    But, let's get started!

    Designing a resource pack

    1. Create a new folder to store all of your work in. You can download a resource pack template here, and unzip it into your folder instead.
    2. Figure out what server you want to make a resource pack for.
    MC-War: https://www.brawl.com/threads/48/
    MC-WarZ: https://www.brawl.com/threads/105/
    MinecraftParty: Do /texture while on a Party server

    (note: Any instructions from here assume that you're using a template or the server resource pack, or both, and that you're making a non-HD pack)

    3. Create a pack.mcmeta file. This will show Minecraft that what you're making is a resource pack. To get one, you can grab this from the template or the server resource pack. You can open the file with any text editor, although I like to use Notepad++, which is free and can be found here. When you open the file, it should look like this.
    Code:
    {
      "pack":{
          "pack_format":1,
          "description":"My Resource Pack"
      }
    }
    Edit the description by changing what "My Resource Pack" says to what you want. Special unicode characters can be found here.

    4. (optional) You can add a custom picture for your resource pack, in a file called pack.png. It is a 128x128 image by default, although you can make it 256x256 or something. (that's an HD pack then) Just remember to save it as pack.png or your image won't show up.

    5. There should be an assets folder. Open that up. There should be a minecraft folder inside that, open it after. Here are the files that you're actually editing. In the default template, you will find a font, icon, lang, texts, sounds, and a textures folder.

    Any files that are missing are automatically replaced by default files, so just delete anything you don't need. Also, you shouldn't edit the font folder, as this might mess up the text, and the icons folder, as you cannot edit anything in there anyways. (changes won't show)

    6. Open the textures folder. Inside, you will find the blocks, colormap, entity, environment, font (different from the other one), gui, items, map, misc, models, painting, and particles folders. The first thing you probably want to do is edit items (for MC-War and MC-WarZ, and a bit of MinecraftParty). Open the items folder. Inside, you will find all the textures for items like hoes, pickaxes, diamonds, etc. If you haven't already done this (this is optional), drag the items folder from the server resource pack in, so that you can see the custom textures. (guns, grenades, hammers, stars, etc)

    7. Open an item file with a image editing program that supports single pixels AND transparency. (this means no Photoshop or Paint)
    I recommend using either Paint.net or GIMP for this.
    When you open it, you will see the texture. Zoom in so that you can see it better, and do your edits. After that, save the file. DO NOT RENAME THE FILE INTO SOMETHING DIFFERENT, OR IT WON'T WORK!

    8. Repeat this with all the other textures you want to edit.

    9. Delete any files you haven't edited. This will save space, and will make the file smaller and easier to download.

    10. Go back one level to the minecraft folder, and open the sounds folder. This is a little harder.
    To grab sound files, look up high quality sound and music files on Google. Then download them, either with a download link or (in the case of YouTube videos that allow you to use it) a YouTube to MP3 converter. After downloading your needed files, use a sound editor to open the file. I recommend Audacity, but there are more out there...
    Now, edit the sound file, removing excess noise, changing speed, etc. After that, go to the Export tab, or do Ctrl+Shift+E (assuming you're using Audacity). Export it as the sound file you're editing, in the .ogg format. If it isn't in that format, then custom sounds won't work. Continue with that until you're done editing.

    11. Now to complete the resource pack. If you don't need to distribute it, skip this step and the next step.
    Grab all the files inside your folder and drag them into an archive, or compressed folder. Make sure that when you open the file, it shows you the pack.png, the pack.mcmeta, the assets folder, etc.

    12. Upload it to a hosting website like Mediafire or Dropbox. (you must make an account beforehand) Remember to set the sharing settings so that everyone can view it, or we won't be able to download and enjoy your resource pack.

    13. To install, launch Minecraft, go to options, click on Resource Packs, click on Open resource packs folder, and drag your pack in. Simple.

    Tips:
    • I suggest not editing any fonts, they're hard to do.
    • To use a template like Faithful, drag any files from the template to your pack.
    • To make animations....
    Create a file. Let's say you want to animate a snowball. First, make a file called snowball.png.mcmeta. Then open it with your text editor and paste this in.
    Code:
    {
      "animation":{
          "width":1,
          "height":7,
          "frametime":1,
          "frames":[{
            "index":0,
            "time": 0
            },
            1,2,3,4,5,6,4,2]
      }
    }
    I usually make a 16x(16 times the number of frames you want in the animation) image, and paste the image over and over again, so that it looks stacked. In that case, set height to the number of frames you have and width to 1. The area that says frames is a list of frames, in the order they are to play in. The index and time modules can be used together to specify a frame that should take a different amount of time than the default.

    Really, all you need is this to make an animation.
    Code:
    {
      "animation": {}
    }
    However, it only makes each frame last 1 frame.

    _______________________________________________________________________________________
    • You can place a file in the same directory as your pack.png and other stuff called sounds.json. (it has to be in the .json format) This file is in your default minecraft directory, in the assets folder. You can add new sounds and music, as well as remove some. For instance, you can add a new cave sound like this.
    Code:
    {
      "ambient.cave.cave": {
        "category": "ambient",
        "sounds": [
          "ambient/cave/cave1",
          "ambient/cave/cave10",
          "ambient/cave/cave11",
          "ambient/cave/cave12",
          "ambient/cave/cave13",
          "ambient/cave/cave2",
          "ambient/cave/cave3",
          "ambient/cave/cave4",
          "ambient/cave/cave5",
          "ambient/cave/cave6",
          "ambient/cave/cave7",
          "ambient/cave/cave8",
          "ambient/cave/cave9"
        ]
    This is the default cave thing. Now let's say you want to add a file called cave666, and remove cave9. It would look like this.
    Code:
    {
      "ambient.cave.cave": {
        "category": "ambient",
        "sounds": [
          "ambient/cave/cave1",
          "ambient/cave/cave10",
          "ambient/cave/cave11",
          "ambient/cave/cave12",
          "ambient/cave/cave13",
          "ambient/cave/cave2",
          "ambient/cave/cave3",
          "ambient/cave/cave4",
          "ambient/cave/cave5",
          "ambient/cave/cave6",
          "ambient/cave/cave7",
          "ambient/cave/cave8",
          "ambient/cave/cave666"
        ]
    _____________________________________________________________________________________
    • When making guns, remember to have the front of the gun pointing towards the left corner, or it doesn't render properly.
    • Try to go with resolutions like 16x, 32x, 64x, 128x, 256x, etc. 512x is the largest resolution there is, and you shouldn't go beyond it, because Minecraft doesn't support resource packs with a resolution above 512x512 pixels, and it will likely overload your Minecraft.
    Thanks to @gamemaster800 for the two tips above!


    I hope this helped you guys in creating resource packs and stuff. I will add most suggestions, so post in the comments what should be added! I might add screenshots, but not right now.
     
    • Informative Informative x 6
    • Like Like x 1
    #1 BrawlerAce, Dec 8, 2013
    Last edited by a moderator: Jun 13, 2015
  2. Niek__

    Niek__ Well-Known Member

    Joined:
    Aug 5, 2013
    Messages:
    2,050
    Ratings:
    +204
    I'm about to make a resource pack, thanks!
     
  3. gamemaster800

    gamemaster800 Well-Known Member

    Joined:
    Aug 4, 2013
    Messages:
    2,480
    Ratings:
    +613
    Another trick for creating guns. All guns in a resource pack must have there tip pointing in the top left corner.

    Example
    Good
    [​IMG]

    Bad
    [​IMG]

    Image Sizes To Be On The Safe Side Should Be
    16x16
    32x32
    64x64
    128x128
    512x512
     
    • Useful Useful x 2
  4. BrawlerAce

    BrawlerAce Well-Known Member

    Joined:
    Aug 4, 2013
    Messages:
    6,616
    Ratings:
    +2,113
    Anything else I need to add? I was thinking about adding things specific to War or WarZ, and of course, screenshots. Anything else?
     
  5. Daudzoe

    Daudzoe Well-Known Member

    Joined:
    Aug 5, 2013
    Messages:
    1,873
    Ratings:
    +656
  6. PigOiler

    PigOiler Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    569
    Ratings:
    +138
     
  7. F1r3tar

    F1r3tar Highly Established Member

    Joined:
    Aug 3, 2013
    Messages:
    8,931
    Ratings:
    +1,826
    Just saying this though, but I'm kind of getting sick of all these texture packs people are releasing. #TooMany
     
  8. kingocheese

    kingocheese Active Member

    Joined:
    Aug 15, 2013
    Messages:
    560
    Ratings:
    +44
  9. BrawlerAce

    BrawlerAce Well-Known Member

    Joined:
    Aug 4, 2013
    Messages:
    6,616
    Ratings:
    +2,113
    It is simple, there are more complicated things you can do with a resource pack, like custom textures, shadows, sounds...
     
  10. kingocheese

    kingocheese Active Member

    Joined:
    Aug 15, 2013
    Messages:
    560
    Ratings:
    +44
    I guess, but its still looks rly complicated :grinning:
     
  11. BrawlerAce

    BrawlerAce Well-Known Member

    Joined:
    Aug 4, 2013
    Messages:
    6,616
    Ratings:
    +2,113
    It's simple if you read through it. Want a video tutorial? :V
     
    • Like Like x 1
  12. kingocheese

    kingocheese Active Member

    Joined:
    Aug 15, 2013
    Messages:
    560
    Ratings:
    +44
    No thanks, I'm not into making resource packs, but I'm sure other people would!
     
  13. Cappuccino

    Cappuccino Well-Known Member

    Joined:
    Aug 13, 2013
    Messages:
    1,058
    Ratings:
    +340
    Hell yeah :V
     
  14. freakiziod123

    freakiziod123 Well-Known Member

    Joined:
    Aug 3, 2013
    Messages:
    1,985
    Ratings:
    +354
    :V
    Now people know how.
     
  15. BrawlerAce

    BrawlerAce Well-Known Member

    Joined:
    Aug 4, 2013
    Messages:
    6,616
    Ratings:
    +2,113
    What, is that a bad thing?
    :v
    v:
     
  16. RyGuy

    RyGuy developer man

    Joined:
    Aug 8, 2013
    Messages:
    1,960
    Ratings:
    +1,067
    Is GIMP or pant.net available to use on mac? Also how do you give items custom names.
     
  17. BrawlerAce

    BrawlerAce Well-Known Member

    Joined:
    Aug 4, 2013
    Messages:
    6,616
    Ratings:
    +2,113
    1. I believe they are.
    2. Find the lang folder, and edit the EN_US file with Notepad++
     
  18. RyGuy

    RyGuy developer man

    Joined:
    Aug 8, 2013
    Messages:
    1,960
    Ratings:
    +1,067
    Lang folder? EN_US? I am only a rook here :V
     
  19. Jared252525

    Jared252525 Well-Known Member

    Joined:
    Aug 28, 2013
    Messages:
    1,499
    Ratings:
    +333
    Use pixlr.com
     
Loading...
Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...