Page 1 of 1

Halo 2 Materials

Posted: Thu Feb 09, 2006 3:56 pm
by Talin64
This may be a odd question for some of you, but here goes.
It appears Halo2 stores the material types of there collision models as a string id.
So this prompts me to believe there is a material string table look up in either the scenario sbsp or global tag?
Anyone seen anything like that.
Thanks Talin

it may be in the hlmt on a per model basis

Posted: Fri Feb 10, 2006 7:00 am
by Snave
Would this be for example, stone, dirt, sand etc?

Posted: Fri Feb 10, 2006 7:12 am
by Talin64
yes,
As an example in coagulation
tag:
scenarios\objects\nature\trees\tree_redcedar\redcedar_m\redcedar_m

Materials:
StringReference|52|bark|4
StringReference|56|branch|6

What is missing is material properties?

Posted: Fri Feb 10, 2006 8:20 am
by TheTyckoMan
matg has something like that, check out the ifp for that tag (under "materials" and "something materials") In something materials it has like 4 string ids and then a lot of dependencies :wink:

Posted: Fri Feb 10, 2006 8:22 am
by Snave
I thought that the material properties were bark & branch? And the materials were the shaders etc

Posted: Fri Feb 10, 2006 12:11 pm
by Talin64
collision doesn't have shaders.
I am really not sure what properties it would have though but it is more for
like when you shoot dirt vs metal
you get a different sound and flying dirt.