|
|
« on: November 23, 2013, 11:07:10 PM » |
|
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): Character to which the sword is going to be added to: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 Step 2: Merging the modelsStep 3: Setting up the materialsThere are several ways to do this. In this case, I just went to the new Objects and, on the settings to the right, went to OpaMaterial, and set it to the old sword's materials. It saves up work as metal materials won't [censored] up this way. To do this:
1> Go into the MDL0>Objects, and select the new object (Must be at the bottom).
2> To the panel on the right, find OpaMaterial: 3> Set the material to the old sword's material (In my case, Alondite_Blade)
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: 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): Now my sword's blade will be using the correct texture:
If this method doesn't works, try this:
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.
|
|
« Last Edit: December 05, 2014, 10:34:42 PM by Albafika »
|
Logged
|
|
|
|
|
|
|
« Reply #1 on: November 24, 2013, 10:19:56 AM » |
|
I... Love.. This! When I'll be able to fully use my PC, I'll definitely try this! Thanks! should be sticked somewhere
|
|
|
Logged
|
"Atone for my sins? I don't have any sins to atone for nor have I forced such a meaningless concept on anyone." -Archer
Best color, most stars, and least amount of power. The good life. Learning sucks, yeah, but it's from learning that you can eventually create masterpieces.
|
|
|
|
|
|
« Reply #2 on: November 24, 2013, 12:56:14 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.
|
|
|
Logged
|
|
|
|
|
|
|
« Reply #3 on: November 25, 2013, 04:36:24 PM » |
|
this tutorial just gave me my next idea for a good sonic mod (THAT ISNT ANOTHER FREAKING SHADOW)thanks
|
|
« Last Edit: November 25, 2013, 04:42:47 PM by Mr.Doggie »
|
Logged
|
Never underestimate the power of the ass.
|
|
|
|
|
|
« Reply #4 on: November 26, 2013, 12:37:15 PM » |
|
(THAT ISNT ANOTHER FREAKING SHADOW)
Why AI W4nt enothah SHhad0W! xD
|
|
|
Logged
|
"Atone for my sins? I don't have any sins to atone for nor have I forced such a meaningless concept on anyone." -Archer
Best color, most stars, and least amount of power. The good life. Learning sucks, yeah, but it's from learning that you can eventually create masterpieces.
|
|
|
|
|
|
« Reply #5 on: August 05, 2014, 12: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 SAKURAAIIIIIIIII!BLAAAAAAAAACKJAAAAAAAXX!!!!!!!!!!!
|
|
« Last Edit: August 05, 2014, 12:15:18 AM by ShadowRockShoota »
|
Logged
|
Never underestimate the power of the ass.
|
|
|
|
|
|
« Reply #6 on: August 05, 2014, 12:56:40 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 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.
|
|
« Last Edit: August 05, 2014, 01:00:55 AM by TheSoraKid »
|
Logged
|
|
|
|
|
|
|
« Reply #7 on: August 09, 2014, 06:34:18 AM » |
|
Btw, this this necroposting, I think.
Tutorials can be necroposted, so can Sticky threads.
|
|
|
Logged
|
|
|
|
|
|
|
« Reply #8 on: August 12, 2014, 04:44:36 PM » |
|
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.
|
|
|
Logged
|
Click Sig For My Tutorial Thread I'm Just You're Friendly Forum Pseudo Narcissist 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.
|
|
|
|
|
|
« Reply #9 on: December 05, 2014, 10:37:11 PM » |
|
Updated this tutorial. Had a huge error in which I forgot to add the Merging Settings on Step 2 and formatting issues.
|
|
|
Logged
|
|
|
|
|
|
|
« Reply #10 on: December 16, 2014, 03:15:10 PM » |
|
Damn it, you need the bones, can't we import those?
|
|
|
Logged
|
|
|
|
|
|
|
« Reply #11 on: February 11, 2015, 09:55:38 PM » |
|
Sorry if I necropost this, but I can't find the Import Settings window.
Where is it?
|
|
|
Logged
|
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.
|
|
|
|
|