Page 1 of 1

Texture problem [Solved]

Posted: Mon Mar 03, 2014 1:37 pm
by Anakin
Hi,

i have a problem with an texture. The model is a plane displayed in the 1st perspective. The problem is that it has the blue/red color on it from the CP lightning and if there are no lights it's black. How can i make this be shown always no care about the lights around it. At the same time it need to be transparent.

Re: texture problem

Posted: Fri Mar 07, 2014 6:16 am
by DarthD.U.C.K.
Did you enable transparency on the plane?

Re: texture problem

Posted: Fri Mar 07, 2014 6:38 am
by Anakin
yes i did. That is not the problem.

Here some pics i hope this explains my problem:

Optimal lights around me
Hidden/Spoiler:
Image
no lights around me
Hidden/Spoiler:
Image
colored lights around me
Hidden/Spoiler:
Image
Please don't care about the HUD position, the last two pics are older than the 1st. It's just the color thing

Re: texture problem

Posted: Fri Mar 07, 2014 6:57 am
by DarthD.U.C.K.
for one part you seem to have the contrast set prety high in the game.
it looks like the plane is affected normally by the lights, do you want to disable that? if so, try enabling additive transparency on the plane.

Re: texture problem

Posted: Fri Mar 07, 2014 7:40 am
by Anakin
I think i did that.
You made the simpleplane for me a while ago. And this i added to the 1st perspective.
I don't know much about XSI, so i do a lot with hex edits (adding cloth, change the flags,..)
http://www.gametoast.com/viewtopic.php?f=27&t=24851

That's what my HBATRB looks like:
48 42 41 54 52 42 04 00 00 00 04 00 00 00

I found that for transparency at the tutorial i posted above at your post.
http://www.gametoast.com/viewtopic.php?p=424522#p424522

Re: texture problem

Posted: Fri Mar 07, 2014 8:54 am
by DarthD.U.C.K.
the "04" gives it onesided transparency but thats not additive. try using "44".

Re: texture problem

Posted: Fri Mar 07, 2014 9:06 am
by Anakin
that's the result:
It seams that BF makes the HUD transparent instead of darken it.
But i just want it lighted all the time.
Hidden/Spoiler:
Image
Image
Image
And that is the result when i tryed 06:
Hidden/Spoiler:
Image

Re: texture problem

Posted: Fri Mar 07, 2014 9:29 am
by DarthD.U.C.K.
yeah, i doenst look good with additive transparency.
the problem is you cant make something "lighted all the time" in swbf. all models in the world are affected by the lights, only hudelements arent.

Re: texture problem

Posted: Fri Mar 07, 2014 9:31 am
by Anakin
mh is it possible to make an other msh behind the HUD (and behind the camera) that glows strong enought to ligth the hud, but not light the hands/weapon??

Re: texture problem

Posted: Fri Mar 07, 2014 11:21 am
by DarthD.U.C.K.
i dont think that would work but you can always make the texture brighter. i think the problem wouldnt be as bad if you set your games contrast lower.

Re: texture problem

Posted: Fri Mar 07, 2014 11:37 am
by Anakin
black is black the contrast didn't change something on it (i tryed without sweetfx)

And there is no way to get it working??

I have an other texture (on an shotgun) that is displayed all the time, but not glowing. i use 01 as flag. can this be combinated with the transparency??


==EDIT==

just found out that 01 is hardedged. And when i looked up your tabel in the tutorial i saw there is 05 for transparence and hardedged and it works fine :cool:

Re: texture problem

Posted: Fri Mar 07, 2014 12:55 pm
by AceMastermind
Anakin wrote:..
just found out that 01 is hardedged. And when i looked up your tabel in the tutorial i saw there is 05 for transparence and hardedged and it works fine
Those are 1st value numbers for 5th place flags, not 2nd values. It would be 10 for hardedged and 50 for hardedged+additive transparency.

Re: texture problem [solved]

Posted: Fri Mar 07, 2014 12:57 pm
by Anakin
thanks for the correction, but who cares it works :funny2:

Re: Texture problem [Solved]

Posted: Fri Mar 07, 2014 1:00 pm
by AceMastermind
Anakin wrote:..but who cares..
It matters when someone is searching for answers and they happen to come across your thread first and use the wrong values, then they create a new thread asking why its not working when they got their information from a solved thread.

Re: Texture problem [Solved]

Posted: Fri Mar 07, 2014 1:16 pm
by Anakin
ok you are right.