Bumpmap isn't working

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
[TFA]Padawan_Fighter
High General
High General
Posts: 806
Joined: Wed Mar 25, 2009 3:37 pm
Projects :: Ha - as if I will ever get back to them
Games I'm Playing :: SWBF2 ARK EliteDngrs
xbox live or psn: No gamertag set
Location: Lost at sea

Bumpmap isn't working

Post by [TFA]Padawan_Fighter »

Hey,

so I'm trying to put a bump map on a model. I went to Mshtool and applied the proper command to it (I typed in the .msh name, typed bumpmap and then typed the name of the texture I wanted to bump), and it compiled a new msh (or m5h, as I renamed it bash to .msh). I then made a bump texture for it, and then made a .tga.option for that bump texture, with the parameters the same of that of a Mos Eisley bumpmap .option file. Munged the game, nothing. Manual clean, munged again, still nothing.

I also have shadows on here. Am I missing something?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Bumpmap isn't working

Post by Fiodis »

To make sure, your bump texture has the same filename as your original texture but with "_bump" added on to the end?
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: Bumpmap isn't working

Post by DarthD.U.C.K. »

if you have "-format bump_alpha" in the msh.option, it lets battlefront look for the bumpinformation in the bumpmaps alphachannel. change the format to simply "bump" and it should work. atleast if thats the reason for the bumpmaps nonappearance ingame
Jaspo
Command Sergeant Major
Command Sergeant Major
Posts: 282
Joined: Sun Mar 01, 2009 4:34 am
Projects :: AotC DoW+++Boonta Eve Classic
Games I'm Playing :: WoT MBWBVC Robocraft
xbox live or psn: No gamertag set
Contact:

Re: Bumpmap isn't working

Post by Jaspo »

Also, I don't think bumpmaps are visible unless lighting is set to highest quality. Additionally, the world must have lights in in which are shining on the texture for it's bumpyness to be visible. so, put a light directly on it, turn up all of your graphics settings, and see what you get. Another really good way to see if its working is to substitute a plain white image for the main texture...then it will be obvious if there is any bump mapping occuring.
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: Bumpmap isn't working

Post by DarthD.U.C.K. »

its not necessary to have another light beside the global one for the bumpmap to show up. you should always be able to see the bumpmap if the lightangle isnt horrible and the bumpscale is high enough. the default is alright as long as you have a range from black to white.
User avatar
[TFA]Padawan_Fighter
High General
High General
Posts: 806
Joined: Wed Mar 25, 2009 3:37 pm
Projects :: Ha - as if I will ever get back to them
Games I'm Playing :: SWBF2 ARK EliteDngrs
xbox live or psn: No gamertag set
Location: Lost at sea

Re: Bumpmap isn't working

Post by [TFA]Padawan_Fighter »

Sorry about the delay guys. Anyway, heres my .option file:

Code: Select all

-bumpmap -format bump -bumpscale 3.0
I havent noticed any real difference. Should I just fool with the bumpscale any? Does the bump texture matter at all? I changed it to gray and contrasted it a bit. Or does the meshtool bump and the .option bump contradict each other? I thought you were supposed to do it with meshtool as well as give it a .option. But still, Idk.

Oh, wow, I just cleaned and remunged again, and it worked. Don't know what I did in my few days of absence but it worked. But it only shows up on the highest lighting setting. How do I make it work for all of them?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Bumpmap isn't working

Post by AQT »

[TFA]Padawan_Fighter wrote:But it only shows up on the highest lighting setting. How do I make it work for all of them?
You can't.
User avatar
[TFA]Padawan_Fighter
High General
High General
Posts: 806
Joined: Wed Mar 25, 2009 3:37 pm
Projects :: Ha - as if I will ever get back to them
Games I'm Playing :: SWBF2 ARK EliteDngrs
xbox live or psn: No gamertag set
Location: Lost at sea

Re: Bumpmap isn't working

Post by [TFA]Padawan_Fighter »

That's strange...then why do stock bump maps work on medium lighting quality as well?
User avatar
Marvel4
Rebel Colonel
Rebel Colonel
Posts: 556
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Bumpmap isn't working

Post by Marvel4 »

[TFA]Padawan_Fighter wrote:That's strange...then why do stock bump maps work on medium lighting quality as well?
They don't.
User avatar
[TFA]Padawan_Fighter
High General
High General
Posts: 806
Joined: Wed Mar 25, 2009 3:37 pm
Projects :: Ha - as if I will ever get back to them
Games I'm Playing :: SWBF2 ARK EliteDngrs
xbox live or psn: No gamertag set
Location: Lost at sea

Re: Bumpmap isn't working

Post by [TFA]Padawan_Fighter »

Hmm...okay, I think I get it. I must have mistaken the effect on the crashed Mos Eisley ship at the Medium setting as a bump map. I think it's more of an env map or something. Is that what it is?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Bumpmap isn't working

Post by AQT »

[TFA]Padawan_Fighter wrote:I think it's more of an env map or something. Is that what it is?
It's a specular map.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Bumpmap isn't working

Post by THEWULFMAN »

AQT wrote:
[TFA]Padawan_Fighter wrote:I think it's more of an env map or something. Is that what it is?
It's a specular map.

And Bumpmap if I am not mistaken.
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: Bumpmap isn't working

Post by sim-al2 »

THEWULFMAN wrote:
And Bumpmap if I am not mistaken.
Not on medium quality tho, which he was asking if it could be done.
Marvel4 wrote:
[TFA]Padawan_Fighter wrote:That's strange...then why do stock bump maps work on medium lighting quality as well?
They don't.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Bumpmap isn't working

Post by THEWULFMAN »

sim-al2 wrote:
THEWULFMAN wrote:
And Bumpmap if I am not mistaken.
Not on medium quality tho, which he was asking if it could be done.
Marvel4 wrote:
[TFA]Padawan_Fighter wrote:That's strange...then why do stock bump maps work on medium lighting quality as well?
They don't.

Ah, I stand corrected. I didnt read all of it.
Post Reply