Hex edit glow
Moderator: Moderators
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Hex edit glow
I've been trying to hex edit glow in to my map Bespin Escape. So far I've got the carbon chamber working but I'm having trouble with the clock tower. I've changed the number 00 to 02 here: 04 00 00 00 02 00 00 00, after HBATRB bes2_prop_lamp_skirt.tga in the
bes2_bldg_clock_tower msh file but only a few sides glow, and not the whole lamp. I've also been having trouble getting bes2_bldg_street_lamp, bes2_bldg_bars, and the skyway support working as the section next to bes2_prop_lamp_skirt.tga reads 04 00 00 00 02, and 04 00 00 00 09 respectively, and I don't know where to place 02.
Any help would be much appreciated
bes2_bldg_clock_tower msh file but only a few sides glow, and not the whole lamp. I've also been having trouble getting bes2_bldg_street_lamp, bes2_bldg_bars, and the skyway support working as the section next to bes2_prop_lamp_skirt.tga reads 04 00 00 00 02, and 04 00 00 00 09 respectively, and I don't know where to place 02.
Any help would be much appreciated
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: hex edit glow
why not use Reps meshtools? You can easily apply a glow to .msh files using that.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: hex edit glow
^ From my experience, using the meshtool to apply glow to the Bespin models causes problems.
Jendo, here's my rule when I did this: if all seven values after 04 of the MATD you want to apply glow to is 00, don't change anything. If the fourth value after 04 is anything but 00, change it to 02.
As for the problem with the clock tower, I don't think it's fixable but the glow intensity (controlled by the opaqueness of the alpha layer) of the other side should be more than enough visually from a distance.
I think I'll just release what I have so others don't have to go through this tedious task.
Jendo, here's my rule when I did this: if all seven values after 04 of the MATD you want to apply glow to is 00, don't change anything. If the fourth value after 04 is anything but 00, change it to 02.
As for the problem with the clock tower, I don't think it's fixable but the glow intensity (controlled by the opaqueness of the alpha layer) of the other side should be more than enough visually from a distance.
I think I'll just release what I have so others don't have to go through this tedious task.
- Marvel4
- Rebel Colonel

- Posts: 556
- Joined: Mon Jun 21, 2010 12:57 pm
- Projects :: Marvel4s BF1 Conversion Pack + Era Mod
Re: hex edit glow
When I used the meshtool to add glow, the whole model disappeared...
In my conversion I edited both 04 00 00 00 00 and 04 00 00 00 09 to 04 00 00 00 02 and it worked fine (you can see it on my screenshots).
In my conversion I edited both 04 00 00 00 00 and 04 00 00 00 09 to 04 00 00 00 02 and it worked fine (you can see it on my screenshots).
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: hex edit glow
Do the meshtools have issues with bumpmaps, does anyone know? that might be whats causing me problems....
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: hex edit glow
I never had any issues with any of the meshtool's functions aside from glow mapping.
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: hex edit glow
Thanks AQT, now the street lamps and clock towers work.AQT wrote:^ From my experience, using the meshtool to apply glow to the Bespin models causes problems.
Jendo, here's my rule when I did this: if all seven values after 04 of the MATD you want to apply glow to is 00, don't change anything. If the fourth value after 04 is anything but 00, change it to 02.
As for the problem with the clock tower, I don't think it's fixable but the glow intensity (controlled by the opaqueness of the alpha layer) of the other side should be more than enough visually from a distance.
I think I'll just release what I have so others don't have to go through this tedious task.
I've also been able to get the bes2 bldg_bars to work but they disappear from a distance, and the skyway support lamps have completely disappeared, having only one entry bes2_prop_lamp_skirt.tga in the msh file.
I get a feeling as my map has bigger distances than the stock cloud city this could be the cause, plus I'm using Windows 7. I might just install BFII on my Vista computer to see if this makes a difference.
Thanks Marvel4, that also did the trick.Marvel4 wrote:When I used the meshtool to add glow, the whole model disappeared...
In my conversion I edited both 04 00 00 00 00 and 04 00 00 00 09 to 04 00 00 00 02 and it worked fine (you can see it on my screenshots).
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: hex edit glow
the meshtool works perfectly, the problem is that pandemic changed and edited the pandemictool/flagsystem while developing bf1 and 2 which can result in problems with some modelslucasfart wrote:Do the meshtools have issues with bumpmaps, does anyone know? that might be whats causing me problems....
i never had any problems with meshtools bumspecmapping and envmapping
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: hex edit glow
You need to hex edit 2 different materials to make all sides glow:Jendo7 wrote:I've been trying to hex edit glow in to my map Bespin Escape. So far I've got the carbon chamber working but I'm having trouble with the clock tower. I've changed the number 00 to 02 here: 04 00 00 00 02 00 00 00, after HBATRB bes2_prop_lamp_skirt.tga in the
bes2_bldg_clock_tower msh file but only a few sides glow, and not the whole lamp.
Material0
Material1
You can see this for yourself if you have Unwrap 3D and the msh import plugin for it, you do not need to purchase anything just to view msh files.
Hidden/Spoiler:
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Hex edit glow
Thanks Ace, I'll definitely try that out.
- Marvel4
- Rebel Colonel

- Posts: 556
- Joined: Mon Jun 21, 2010 12:57 pm
- Projects :: Marvel4s BF1 Conversion Pack + Era Mod
Re: Hex edit glow
Yes, this will definitely come in handy, thanks Ace! 
