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 modelSorry but you are not allowed to view spoiler contents.
2> On the Import Settings window, make sure you have these settings:
(https://dl.dropboxusercontent.com/u/33498917/KCMM/Importing/Step2.png)
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.
[/spoiler]
Step 2: Merging the modelsSorry but you are not allowed to view spoiler contents.
Step 3: Setting up the materialsSorry 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.
[/spoiler]
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
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. :)
this tutorial just gave me my next idea for a good sonic mod (THAT ISNT ANOTHER FREAKING SHADOW)thanks
ok I must be doing something wrong here whenever I import a new object, it loses its rig and wont move the bones ._.
(http://i.imgur.com/iEY6M9a.png)
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: 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 ._.
(http://i.imgur.com/iEY6M9a.png)
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.
Updated this tutorial. Had a huge error in which I forgot to add the Merging Settings on Step 2 and formatting issues.
Sorry if I necropost this, but I can't find the Import Settings window.
Where is it?