Reflections ?

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

Post Reply
User avatar
Lozza
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Tue Jan 05, 2010 5:11 am
Games I'm Playing :: STALKER - TDU2
Location: Australia. Melbourne
Contact:

Reflections ?

Post by Lozza »

Can you add reflections of the world to stormtrooper models or something, can't you go into the tga option for stormtrooper.tga, and right REFLECTION - map - cheesecake, random code writing ?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Reflections ?

Post by AQT »

Imperial Modder wrote:Can you add reflections of the world to stormtrooper models or something
Yes, use a hex editor (http://www.gametoast.com/forums/viewtop ... 20#p279620).
User avatar
Lozza
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Tue Jan 05, 2010 5:11 am
Games I'm Playing :: STALKER - TDU2
Location: Australia. Melbourne
Contact:

Re: Reflections ?

Post by Lozza »

AQT wrote:
Imperial Modder wrote:Can you add reflections of the world to stormtrooper models or something
Yes, use a hex editor (http://www.gametoast.com/forums/viewtop ... 20#p279620).
Ok.... I don't understand a single thing of what AceMastermind wrote, do I need to download hex edit or something, cause i used to have hex edit, but all I did when I put a model into it it just came up with a bunch of random symbols and stuff ?
User avatar
sim-al2
2nd Lieutenant
2nd Lieutenant
Posts: 412
Joined: Mon Jul 06, 2009 10:26 pm
Projects :: Mapping on occasion
Games I'm Playing :: SWBFII + MW4 + SC4
Location: In the cockpit of some vehicle...

Re: Reflections ?

Post by sim-al2 »

Hidden/Spoiler:
That's a hex editor for you. I actually thought it should be rows of two-digit number groups. Are you sure you didn't open it with notepad or something? But I never have actually done hex editing so I wouldn't be surprised if I'm wrong.
Edit: Dumb hidden. Yes I'm right with the hex number stuff but I just learned about the "other" stuff today...
Last edited by sim-al2 on Sat Jun 26, 2010 2:16 am, edited 2 times in total.
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: Reflections ?

Post by DarthD.U.C.K. »

alright, to clear some things up:
you can apply an "environmentmap" to models, thats a cubemap you can skin however you want (look into the naboo worldassets for examples), reflecting the actualy real-time envirnoment isnt possible
to apply the environmentmapshader, use repsharpshooters Meshtool, it can do that for you automatically.
if you would want to hexedit the shader on the model manually, its prety difficult when you dont have hex-editing knowledge because you have to insert another TEX (if i remember correctly)-slot in the model in order to reference the cubemap/environment texture

i hope i could help
User avatar
Lozza
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Tue Jan 05, 2010 5:11 am
Games I'm Playing :: STALKER - TDU2
Location: Australia. Melbourne
Contact:

Re: Reflections ?

Post by Lozza »

DarthD.U.C.K. wrote:alright, to clear some things up:
you can apply an "environmentmap" to models, thats a cubemap you can skin however you want (look into the naboo worldassets for examples), reflecting the actualy real-time envirnoment isnt possible
to apply the environmentmapshader, use repsharpshooters Meshtool, it can do that for you automatically.
if you would want to hexedit the shader on the model manually, its prety difficult when you dont have hex-editing knowledge because you have to insert another TEX (if i remember correctly)-slot in the model in order to reference the cubemap/environment texture

i hope i could help
Ok thanks Darthduck, is a cube map only visible by light, or is it just a retexture for that part of the model? Is battlefront 2 phonged?
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: Reflections ?

Post by DarthD.U.C.K. »

battlefront uses the phong shader i think,yes

the cubemap is no real new texturprojection, depending on the vantage point of the player the "environment"(=cubemap) is being projected on the envmapped model(-part).
on naboo the fountainballs reflect the cubemap with a 100% opacity, on the rebelsnipers helmet however the opacity seems to be much lower
Post Reply