[Brawlbox v0.69b] Combining Brawl models

Started by Albafika, November 24, 2013, 06:07:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

November 24, 2013, 06:07:10 AM Last Edit: December 06, 2014, 05:34:42 AM by Albafika
The model to add must have all the bones of the character it's going over.

For this example, I'll be using these 2:

Models to add (Grip and Blade are 2 separate objects in the same DAE, labelled BraveSword.DAE):
Sorry but you are not allowed to view spoiler contents.

Character to which the sword is going to be added to:
Sorry but you are not allowed to view spoiler contents.


So, what we will be doing for this example is this:

1. Adding a new sword by merging the new sword's mdl0 with the character's mdl0.
2. Removing the old sword.
3. Set up materials.
Step 1: Preparing the model
Sorry but you are not allowed to view spoiler contents.


2> On the Import Settings window, make sure you have these settings:


The Sword will replace the model, with it ending up being like this:
Sorry but you are not allowed to view spoiler contents.


3> Right click the Mdl0 (In this case, it's named FitMia) and click "Export". You have to export it as a mdl0:
Sorry but you are not allowed to view spoiler contents.


Now you have converted the DAE into a ready-to-import mdl0.

Step 2: Merging the models
Sorry but you are not allowed to view spoiler contents.

Step 3: Setting up the materials
Sorry but you are not allowed to view spoiler contents.


3> Set the material to the old sword's material (In my case, Alondite_Blade)

Sorry but you are not allowed to view spoiler contents.


As you can see, the texture is wrong. That is because that material is using the old sword's texture. Now we need to go to this material, expand it, and we'll have this:
Sorry but you are not allowed to view spoiler contents.

I need to rename Alondite_Blade to Brave_Sword (The old sword's texture was named Alondite_Blade. The new sword's is Brave_Sword, so what I'm doing is: making the material call the new texture):
Sorry but you are not allowed to view spoiler contents.


Now my sword's blade will be using the correct texture:

Sorry but you are not allowed to view spoiler contents.


If this method doesn't works, try this:

Quote from: BlackJax96 on November 19, 2013, 02:11:34 AM
Quote from: br3compactor on November 19, 2013, 01:57:56 AM
BJax, when you import an object from another model, along with it's texture, and it does show up fine in brawlbox but not at all ingame, what could be the cause?
The last model exploded in-game but looked fine in Brawlbox because the imported objects were weighted and rebuilt with texture matrices due to the metal materials, but didn't have their assets set in float. They also didn't have a linked color node when the shader and material called for one.

I linked the one color node to all the objects (go to the object's properties, click on the empty slot for ColorNode0, choose a color node in the dropdown) and converted all the imported assets (vertices, uvs, normals) to float by setting ForceRebuild and ForceFloat to true on the node.

An alternate solution from the one above would be to go into the imported materials' properties, go to LightChannel1, set the ColorSource to Register and set the MaterialColor to a color like 128,128,128,255 or whatever you have set in the color node. Then go to the last texture reference in each metal material and make sure HasTextureMatrix is set to false. Then you can either go back to each one and turn them back to true (this forces the assets to be rewritten in float automatically) or delete the metal materials, if you don't want the metal box to work.

Bottom line: I'm willing to update the tutorial on parts you guys feel I need to further clarify.

I... Love.. This! When I'll be able to fully use my PC, I'll definitely try this! Thanks!
should be sticked somewhere
"Atone for my sins? I don't have any sins to atone for nor have I forced such a meaningless concept on anyone." -Archer
[spoiler]
Quote from: WarioMANX on May 02, 2014, 07:33:43 PM
Best color, most stars, and least amount of power. The good life.
Quote from: LC the Immolator on November 07, 2014, 03:57:35 PMLearning sucks, yeah, but it's from learning that you can eventually create masterpieces.

Quote from: Akeno-san on November 24, 2013, 05:19:56 PM
I... Love.. This! When I'll be able to fully use my PC, I'll definitely try this! Thanks!
should be sticked somewhere
Hopefully it's of use to you whenever you get to merge MDL0s. :)

November 25, 2013, 11:36:24 PM #3 Last Edit: November 25, 2013, 11:42:47 PM by Mr.Doggie
this tutorial just gave me my next idea for a good sonic mod (THAT ISNT ANOTHER FREAKING SHADOW)thanks
Quote from: Miacis on December 10, 2013, 04:48:45 PM
Never underestimate the power of the ass.


Quote from: Mr.Doggie on November 25, 2013, 11:36:24 PM
(THAT ISNT ANOTHER FREAKING SHADOW)
Why :oshi: AI W4nt enothah SHhad0W!
xD
"Atone for my sins? I don't have any sins to atone for nor have I forced such a meaningless concept on anyone." -Archer
[spoiler]
Quote from: WarioMANX on May 02, 2014, 07:33:43 PM
Best color, most stars, and least amount of power. The good life.
Quote from: LC the Immolator on November 07, 2014, 03:57:35 PMLearning sucks, yeah, but it's from learning that you can eventually create masterpieces.

August 05, 2014, 06:12:11 AM #5 Last Edit: August 05, 2014, 06:15:18 AM by ShadowRockShoota
ok I must be doing something wrong here whenever I import a new object, it loses its rig and wont move the bones ._.


EDIT: NVM for whatever retarded reason brawlbox doesnt move the object until after you hit save, close brawlbox, then reopen it again
:notimp: SAKURAAIIIIIIIII!BLAAAAAAAAACKJAAAAAAAXX!!!!!!!!!!!
Quote from: Miacis on December 10, 2013, 04:48:45 PM
Never underestimate the power of the ass.


August 05, 2014, 06:56:40 AM #6 Last Edit: August 05, 2014, 07:00:55 AM by TheSoraKid
Quote from: ShadowRockShoota on August 05, 2014, 06:12:11 AM
ok I must be doing something wrong here whenever I import a new object, it loses its rig and wont move the bones ._.


EDIT: NVM for whatever retarded reason brawlbox doesnt move the object until after you hit save, close brawlbox, then reopen it again
:notimp: SAKURAAIIIIIIIII!BLAAAAAAAAACKJAAAAAAAXX!!!!!!!!!!!
I see that you're using the v0.71 of BrawlBox.

Try upgrading to v0.73 if you can.

Btw, this this necroposting, I think.


I found content to put into video form!!! That's fine right? I mean I'm almost finished making the clone engine stuff, only gotta upload it.
Click Sig For My Tutorial Thread

I'm Just You're Friendly Forum Pseudo Narcissist
[spoiler]
Quote from: Ricky (Br3) on June 25, 2014, 06:40:22 PM
[white]This is Nyan. She He is indeed random and also definitely not a pervert.
I Will Accept Everyone's Faults As Long As They're Not Annoying.

Updated this tutorial. Had a huge error in which I forgot to add the Merging Settings on Step 2 and formatting issues.

Damn it, you need the bones, can't we import those?

Sorry if I necropost this, but I can't find the Import Settings window.

Where is it?
Before someone attacks me:
No, I won't say/accept the term "American" to refer exclusively to people or things from the United States.
America is a continent and deal with it.
I'm an American, but not necessarily from the U.S.