Separating Shaders On Custom Models

Tutorials for the Xbox version of Halo 2.
Post Reply
User avatar
DarkShallFall




Artisan Recreator Trickster Connoisseur
Advisor Pyre Renovator Sigma
Snitch! Enthraller New Age Miner

Posts: 1992
Joined: Fri Jan 20, 2006 2:49 pm
Location: MI, USA
Contact:

Separating Shaders On Custom Models

Post by DarkShallFall »

Intro:
This tutorial is going to explain how to separate shader groups on a custom model.

First extract the model you are going to be replacing, with entity(I'm using 1.4 for this tutorial)
Image

Every model in Halo 2 has at least one or more shaders. When you extract a model there will be mesh groups, these groups will identify the shader grouping. So open the extracted model in a modeling application(I will be using Misfit model 3d for this)
Image
Image
This is the group window:
Image
The bitmap that the group is dependent on is usually close or exactly the same as the shaders name that it represents.

There are two groups for each shader. The bottom group is the one that is the actual shader.
So it goes(Red is the used one)
0
0
1
1
2
2
Image

Merge your model into the extracted model.
Image
Image

Select the original mesh that you extracted form halo and hide it.
Image
Image

After that select part of the mesh you want as a different shader from the rest.
Image

Once selected you can add it to a group, to do that click the add to group button in the grouping menu and all the selected faces will be added to that group.
Image

After that, unhide the mesh you hid before. The reason we had to hide it is because if you delete it the groups that are there with it are also deleted.
Image
Then reselect the mesh and delete it.
Image
Image
Then save and inject back into your map and enjoy a model with separated shaders :)
Image
Image
Last edited by DarkShallFall on Wed Jan 09, 2008 7:32 am, edited 1 time in total.
Image
Iron_Forge wrote:I assume I won?..I should get an emblem...
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post by grimdoomer »

fuckin nice :D
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

Post by DrXThirst »

Wow, amazing!
Image
User avatar
G.I.R.




Recreator Coroner

Posts: 3221
Joined: Thu Aug 11, 2005 1:07 pm
Location: Missouri
Contact:

Post by G.I.R. »

Great work! I've been wondering how to do this ever since model injection was released. :D
Image
I think Noobraska is a pretty cool state. eh grows corn and doesn't afraid of anythng.
(12:18:11 AM) GTAF: DAMNIT GIR WE ARE ON THE SUBJECT OF VINCE'S DICK.
User avatar
Tural




Conceptionist Acolyte Bloodhound Recreator
Socialist Connoisseur Droplet Scorched Earth
Grunge

Posts: 15628
Joined: Thu Jun 16, 2005 3:44 pm
Location: Lincoln, NE
Contact:

Post by Tural »

It appears that all it's doing is changing the material ID, which would be expected if you wanted to have different shaders on a single model. I'm rather surprised nobody posted something concerning this before, as that's a pretty basic concept.
User avatar
Keablr





Posts: 343
Joined: Thu Jul 07, 2005 8:57 pm
Location: Chicago
Contact:

Post by Keablr »

Awesome Dark!!!
Image
mr_penguin





Posts: 541
Joined: Thu Feb 08, 2007 5:39 pm
Location: NJ

Post by mr_penguin »

hey thanks man for posting this, I now feel like an idiot for not taking notice of the groups.
Your mom became oversized. Please make your mom smaller before reposting. :shock:
Infern0 wrote:You just shave the excess bush and burn the leftovers.
User avatar
Rockymods




Wordewatician 500

Posts: 721
Joined: Sun Apr 08, 2007 10:33 am
Contact:

Post by Rockymods »

Tural wrote:It appears that all it's doing is changing the material ID, which would be expected if you wanted to have different shaders on a single model. I'm rather surprised nobody posted something concerning this before, as that's a pretty basic concept.
I did on two forums, including this one. Atleast it's here now, thanks argon! I needed this
Post Reply