Removing hangar glow, "metalic" look or envmap

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Removing hangar glow, "metalic" look or envmap

Post by YaNkFaN »

is there a way to remove the glow around the hangar i checked in the .odf and .msh option but none of them seemed to have any effect
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: removing hangar glow

Post by Maveritchell »

Which hangar? It's some simple .msh hexediting, you need to remove the glow flag.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: removing hangar glow

Post by YaNkFaN »

the rep hangar and you need to hex edit? so i should just remove the line glow flag?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: removing hangar glow

Post by Maveritchell »

You could remove the "-vertexlighting" from the .msh.option, that would have basically the same effect.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: removing hangar glow

Post by YaNkFaN »

removing vertex lighting made the hangar responsive to light but did not remove the glow how would i hex edit it like what lines would i change in order to remove the glow or at least dim it.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: removing hangar glow

Post by DarthD.U.C.K. »

uh repsharpshooter told me how to remove a flag from amodel
how can i acces the xfire-chatarchive?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: removing hangar glow

Post by Maveritchell »

Here's a copy of the mesh stripped of its "lightmap" flag, that should remove the glow from the large white "lips" of the hangar. To learn how to do this, look in the "how to enable transparency" topic in the FAQ.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

How to remove the "metalic" look or envmap

Post by YaNkFaN »

thanks a ton

EDIT
pretty much self explanatory but is there a way to do it through hex editing and if so how exactly would i do it?

Topics merged -Staff
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: how to remove the "metalic" look or envmap

Post by DarthD.U.C.K. »

you can override the old flag via hexediting
(repsharpshooter told me how to do it some time ago, but i dont know how to view the xfirechatarchive :oops: )
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: how to remove the "metalic" look or envmap

Post by YaNkFaN »

would just removing the line envmap solve the problem?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: how to remove the "metalic" look or envmap

Post by DarthD.U.C.K. »

no, you have to modify these 6 bytes which controll the flag
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: how to remove the "metalic" look or envmap

Post by YaNkFaN »

which 6 bytes?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: how to remove the "metalic" look or envmap

Post by DarthD.U.C.K. »

i dont know i cant remember
User avatar
Culvar
1st Lieutenant
1st Lieutenant
Posts: 429
Joined: Thu Jul 10, 2008 10:36 am

Re: how to remove the "metalic" look or envmap

Post by Culvar »

DarthD.U.C.K. wrote:you can override the old flag via hexediting
(repsharpshooter told me how to do it some time ago, but i dont know how to view the xfirechatarchive :oops: )
Left click the name of which persons you want to view, and go down to View Chat Log.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: how to remove the "metalic" look or envmap

Post by DarthD.U.C.K. »

open the mesh, search for "ATRB", then afetr atrb you should see: 04 00 00 00 00 06
try to change it to: 04 00 00 00 00 00
(this is the first time i do something hex-related, so im not shure, if it works)

@culvar:thanks!
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: how to remove the "metalic" look or envmap

Post by YaNkFaN »

i changed those lines and i did see an effect in zero editor however in game is still isn't working i also cleaned and munged
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: how to remove the "metalic" look or envmap

Post by DarthD.U.C.K. »

you saw an effect in ze?
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: How to remove the "metalic" look or envmap

Post by RepSharpshooter »

If you override all the ATRB values to 00 00 00 00 then nothing should be rendered except a flat texture.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: How to remove the "metalic" look or envmap

Post by YaNkFaN »

i did that and i am workign with the tantive4 halls if that helps in ze they have a flat texture but in game they still are shiny

and
If you override all the ATRB values to 00 00 00 00 then nothing should be rendered except a flat texture.
does that include the 04 at the front?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: How to remove the "metalic" look or envmap

Post by Maveritchell »

Don't do the first 04.

And didn't we just go over this in another topic? Glowmap, Lightmap, envmap, whatever it's all the same thing.

Especially if you actually read the topic I directed you to.
Post Reply