Texture Packs: Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
[https://www.dotpdn.com/downloads/pdn.html paint.net] | [https://www.dotpdn.com/downloads/pdn.html paint.net] | ||
[https://bridgeduel.xyz/hostin/tpackguide/pxEexpansion.dll paint.net 1px expansion plugin] | |||
[https://apps.microsoft.com/detail/9WZDNCRFJ3T6 3D Builder] | [https://apps.microsoft.com/detail/9WZDNCRFJ3T6 3D Builder] | ||
[https://btroblox.net/ BetterRoblox] | |||
<h3>Required Programs</h3> | <h3>Required Programs</h3> | ||
Line 25: | Line 29: | ||
[http://bridgeduel.xyz/hostin/tpackguide/guide3.png Making the canvas bigger just made some white outlines around your texture], you will need to use the selection wand or the square selection tool to remove it. After you're done, save the files as a .png (paint.net will try to make it .pdn). I suggest making a seperate folder for the texture pack to keep it more organized. | [http://bridgeduel.xyz/hostin/tpackguide/guide3.png Making the canvas bigger just made some white outlines around your texture], you will need to use the selection wand or the square selection tool to remove it. After you're done, save the files as a .png (paint.net will try to make it .pdn). I suggest making a seperate folder for the texture pack to keep it more organized. | ||
[ | [https://wiki.bridgeduel.xyz/wiki/images/4/4b/Guide7.png You will make 2 folders inside of the pack folder now.] One of them will be called "whitened", the other will be called "normal". | ||
Open your resized textures and paint all of them white. Remember to [http://bridgeduel.xyz/hostin/tpackguide/guide4.png turn off anti-aliasing] in the paint bucket tool. Save them into the "whitened" folder. | Open your resized textures and paint all of them white. Remember to [http://bridgeduel.xyz/hostin/tpackguide/guide4.png turn off anti-aliasing] in the paint bucket tool. Save them into the "whitened" folder. | ||
Install the [https://bridgeduel.xyz/hostin/tpackguide/pxEexpansion.dll 1px expansion paint.net plugin] and move it to C:\Program Files\paint.net\Effects (restart paint.net when ur done) | |||
Once you painted all of the textures white, it's time to move on to the next step. Take the non-whitened textures, then go into [http://bridgeduel.xyz/hostin/tpackguide/guide5.png Effects>Distort>1px Expansion] in paint.net. Repeat this 4 more times. | Once you painted all of the textures white, it's time to move on to the next step. Take the non-whitened textures, then go into [http://bridgeduel.xyz/hostin/tpackguide/guide5.png Effects>Distort>1px Expansion] in paint.net. Repeat this 4 more times. | ||
When you are done, save all of the textures into the " | When you are done, save all of the textures into the "normal" folder. | ||
<h3>Go on without fixing the black outlines (don't do this if you fixed them in the last step)</h3> | <h3>Go on without fixing the black outlines (don't do this if you fixed them in the last step)</h3> | ||
Line 55: | Line 61: | ||
When you have tilted the item correctly, press the save icon in the top right. 3D Builder will try to save it as .3mf, but replace it with .obj. | When you have tilted the item correctly, press the save icon in the top right. 3D Builder will try to save it as .3mf, but replace it with .obj. | ||
Save the .obj and .mtl file into the | Save the .obj and .mtl file into the "normal" folder. When you are asked to save the .png, press "Cancel". | ||
Repeat this with all of the textures. | |||
Well done! You have now exported all of the needed textures into .objs! | |||
<h3>Importing the .obj files into Roblox Studio</h3> | |||
Open Roblox Studio and make a Classic Baseplate. | |||
Find the "Import 3D" button and press it. It's located around the top of the screen. (Make sure you are in the Home or Avatar tab). | |||
Now you need to import all of the .obj files one-by-one. | |||
When you are done, you can close Studio! | |||
<h3>Getting the Mesh and Texture IDs</h3> | |||
[https://create.roblox.com/dashboard/creations?activeTab=Model Go to your Roblox Dashboard.] You should see the models you've uploaded there. | |||
Hover over the first one, then press the three dots. Press "Open Asset Details". | |||
If you installed BetterRoblox, you should see the [https://wiki.bridgeduel.xyz/wiki/images/6/6b/Guide8.png explorer icon] in the top right. | |||
Press it, [https://wiki.bridgeduel.xyz/wiki/images/a/a9/Guide9.png?20231111173339 then press "default".] | |||
Under "Appearance", you should see "MeshId" and "TextureId". | |||
<h3>Importing the textures into Bridge Duel</h3> | |||
Now, join Bridge Duel. It's time to import the textures! | |||
Go into Settings>Textures and Meshes. This is the texture pack editor. | |||
You will want to get one of your items Mesh and TextureID. For the sake of this tutorial, I will be importing a sword I made. | |||
After getting the swords meshID, you will enter it right into the "SwordMesh" box in the Textures and Meshes menu. | |||
The model may look huge! This is because the base Bridge Duel meshes are much smaller than what we exported. For this reason [https://bridgeduel.xyz/hostin/tpackguide/sizefixer.json i made this JSON] you can import to fix the sizes. | |||
You will import all of the mesh and texture IDs one by one, and after that your masterpiece is finished! You can share it with others by pressing the "Export to JSON" button. |
Revision as of 17:45, 11 November 2023
Texture packs allow players to customize the look of their items, by uploading Models to Roblox and importing it into the game. From Bridge Duel, they can export or import a texture pack as a JSON file, allowing them to share their creations easily.
Guide (Windows Only)
Recommended Programs
paint.net 1px expansion plugin
Required Programs
Preparing the textures to be exported
First of all, you will need to open all of your textures with paint.net.
(optional) Fix the black outline in your items
When you are done, press CTRL+R on one of your textures in paint.net. A "Resize" window should pop up.
Resize the texture to 1000x1000. Do this for all of the remaining ones! This is to prevent Roblox from blurring our items.
When you are done, press CTRL+SHIFT+R. This should bring up a popup window called "Canvas Size". Set the canvas size to 1024x1024.
Making the canvas bigger just made some white outlines around your texture, you will need to use the selection wand or the square selection tool to remove it. After you're done, save the files as a .png (paint.net will try to make it .pdn). I suggest making a seperate folder for the texture pack to keep it more organized.
You will make 2 folders inside of the pack folder now. One of them will be called "whitened", the other will be called "normal".
Open your resized textures and paint all of them white. Remember to turn off anti-aliasing in the paint bucket tool. Save them into the "whitened" folder.
Install the 1px expansion paint.net plugin and move it to C:\Program Files\paint.net\Effects (restart paint.net when ur done)
Once you painted all of the textures white, it's time to move on to the next step. Take the non-whitened textures, then go into Effects>Distort>1px Expansion in paint.net. Repeat this 4 more times.
When you are done, save all of the textures into the "normal" folder.
Go on without fixing the black outlines (don't do this if you fixed them in the last step)
We will make 2 folders now. They will be called "whitened" and "normal".
press CTRL+R on one of your textures in paint.net. A "Resize" window should pop up.
Resize the texture to 1024x1024. Do this for all of the remaining ones! This is to prevent Roblox from blurring our items.
Save these textures in a folder somewhere.
Importing all the textures into 3D Builder
Open 3D Builder and press "New Scene". You should see a checkered baseplate and some topbar items.
One of those topbar items is called "Insert". Press it then press "Add". It should show up quite a bit of options from there, but we're going to press on "Load Image".
Set "Levels" to the lowest possible you can go.
When you pressed it, a prompt should show up. Now import one of your whitened textures. When importing tilted textures (swords, pickaxes, bows) be sure to tilt them correctly.
When you have tilted the item correctly, press the save icon in the top right. 3D Builder will try to save it as .3mf, but replace it with .obj.
Save the .obj and .mtl file into the "normal" folder. When you are asked to save the .png, press "Cancel".
Repeat this with all of the textures.
Well done! You have now exported all of the needed textures into .objs!
Importing the .obj files into Roblox Studio
Open Roblox Studio and make a Classic Baseplate.
Find the "Import 3D" button and press it. It's located around the top of the screen. (Make sure you are in the Home or Avatar tab).
Now you need to import all of the .obj files one-by-one.
When you are done, you can close Studio!
Getting the Mesh and Texture IDs
Go to your Roblox Dashboard. You should see the models you've uploaded there.
Hover over the first one, then press the three dots. Press "Open Asset Details".
If you installed BetterRoblox, you should see the explorer icon in the top right.
Press it, then press "default".
Under "Appearance", you should see "MeshId" and "TextureId".
Importing the textures into Bridge Duel
Now, join Bridge Duel. It's time to import the textures!
Go into Settings>Textures and Meshes. This is the texture pack editor.
You will want to get one of your items Mesh and TextureID. For the sake of this tutorial, I will be importing a sword I made.
After getting the swords meshID, you will enter it right into the "SwordMesh" box in the Textures and Meshes menu.
The model may look huge! This is because the base Bridge Duel meshes are much smaller than what we exported. For this reason i made this JSON you can import to fix the sizes.
You will import all of the mesh and texture IDs one by one, and after that your masterpiece is finished! You can share it with others by pressing the "Export to JSON" button.