Page 1 of 1

Help with adding glow

Posted: Mon Nov 22, 2010 6:46 am
by [TFA]Padawan_Fighter
Hey,


I'm trying to make one of the lights on my model glow. I have the meshtool, but I'm not sure which MATD is for the lights. How do I find it in the hex editor?

Re: Help with adding glow

Posted: Mon Nov 22, 2010 10:35 am
by DarthD.U.C.K.
check how the material is called in xsi. you can do that by going into the scenerootmode in the explorer( press s), open the models entry and look howthe material below is called (or even better: give it a proper name).
in the msh, when you want to edit the flag for this material, usefor the "HBATRB"-entry below the materials name.

Re: Help with adding glow

Posted: Mon Nov 22, 2010 10:50 am
by THEWULFMAN
If you want to add glow to an object, open it up in a hex-editer, and look for a line at the begining like this

Code: Select all

HBATRB        TXOD       rep_inf_trooper.tga
And then look over at the hex grid on the left, and look for the corrospoding coode, it should look like this

Code: Select all

48 42 41 54 52 42 04 00 00 00 00 00 00 54 58 30 44 1C 00 00 00, and so on
change the fourth set of 00s to 02, like this

Code: Select all

48 42 41 54 52 42 04 00 00 00 02 00 00 54 58 30 44 1C 00 00 00
save, munge, and play

Re: Help with adding glow

Posted: Mon Nov 22, 2010 11:05 am
by DarthD.U.C.K.
he was asking how to find out which material belongs to which model in meshtool, not how to hexedit glow.

Re: Help with adding glow

Posted: Mon Nov 22, 2010 11:07 am
by THEWULFMAN
[TFA]Padawan_Fighter wrote:How do I find it in the hex editor?

Re: Help with adding glow

Posted: Mon Nov 22, 2010 11:53 am
by DarthD.U.C.K.
[TFA]Padawan_Fighter wrote:I have the meshtool, but I'm not sure which MATD is for the lights. How do I find it in the hex editor?
context, thats the magic word. but we are getting a bit offtopic here