SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: RepComm on December 06, 2012, 07:49:31 PM

Title: Hex editing units
Post by: RepComm on December 06, 2012, 07:49:31 PM
http://www.swbfgamers.com/index.php?topic=5299.0   link for transparency tutorial.
I am trying to make parts of the darktrooper invisible (transparent), so I started with that tutorial.
Problem is, when you search for .tga in the darktrooper msh file, and try to
Quote"move it back a few places to where it says HBATRB"
That line does not exist anywhere around the tga name inside the msh...
However, I did find ATRB. Would this be the same thing? I don't really have time to go experimenting, so if someone already knows, do tell :D
-RC-
EDIT: I figured out, just to use MSH viewer... (facepalm) guess what!
Title: Re: Hex editing units
Post by: Snake on December 08, 2012, 07:01:04 AM
Sweet!
Title: Re: Hex editing units
Post by: 21 | Reacter on December 12, 2012, 05:29:52 AM
Quote from: -RepublicCommando- on December 06, 2012, 07:49:31 PM
http://www.swbfgamers.com/index.php?topic=5299.0   link for transparency tutorial.
I am trying to make parts of the darktrooper invisible (transparent), so I started with that tutorial.
Problem is, when you search for .tga in the darktrooper msh file, and try to  That line does not exist anywhere around the tga name inside the msh...
However, I did find ATRB. Would this be the same thing? I don't really have time to go experimenting, so if someone already knows, do tell :D
-RC-
EDIT: I figured out, just to use MSH viewer... (facepalm) guess what!

I think its the same. I believe that are the colors = atrb = a(lpha) t(idk =P) and r(red) and b(lue)  But im not sure  ???
Alpha is the transparency - layer.
Title: Re: Hex editing units
Post by: tirpider on December 12, 2012, 01:03:02 PM
Quote from: 21 | Reacter on December 12, 2012, 05:29:52 AM
I think its the same. I believe that are the colors = atrb = a(lpha) t(idk =P) and r(red) and b(lue)  But im not sure  ???
Alpha is the transparency - layer.

You are close.
ATRB is where you set the render flags and types for the model.
Colors are going to be in the DATA chunk right above it.

Here are my MSH tag structure notes: [info].msh structure notes (http://www.swbfgamers.com/index.php?topic=3905.0)

And here are Ande's: Ande's ATRB info (http://www.ande.pytalhost.eu/reorganized_msh_tables.htm#atrb)

He and I have pretty close to the same info. His is more detailed.

@ RC - Thats a groovy trooper
EhPortal 1.34 © 2025, WebDev