Page 1 of 1

Window glass

Posted: Tue Sep 29, 2009 5:07 pm
by daniel
hello,
i wanted to make glass for a window in xsi mod tools, and have done this:

You'll need to select the polygons that you want to enable transparency, then go:
File>Pandemic Tools>Edit Flags
and select one of the following by moving the Transparency slider:
0 = No transparency(default)
1 = Single sided transparency(backface culled)
2 = Double sided transparency(never culled)

but it didn't work. do i have to do something else besides this`? thx for help

Re: window glass

Posted: Tue Sep 29, 2009 5:13 pm
by Master_Ben
In the FAQ there's a tut on hex-editing transparency... I dunno if Meshex will export transparency. Have you actually exported and tried it ingame? because the edit flags may not show up in the Mod Tool (not sure though).

Re: window glass

Posted: Tue Sep 29, 2009 5:15 pm
by AceMastermind
Transparency is only enabled in Edit Flags, your texture is what drives the actual transparency.

Similar topics:
http://www.gametoast.com/forums/viewtop ... 36&t=19357
http://www.gametoast.com/forums/viewtop ... 36&t=14407

Re: Window glass

Posted: Tue Sep 29, 2009 5:51 pm
by daniel
well i also tried the hexeditíng method which didn't work, so i figured it would be easier to do it directly in XSI.
So just so that i got this right (and please correct me if i'm in any point wrong or missing anything):

1. create the object
2. give it a texture, which would be preferably white for a window
3.go to : file,pandemic tools, edit flags and set (for semi-transparency) transparncy to 1, press enter.
4.freeze everything, save , export

Re: Window glass

Posted: Tue Sep 29, 2009 6:02 pm
by Master_Ben
Correction:
2. Give it a Semi-transparent texture.

Re: Window glass

Posted: Tue Sep 29, 2009 6:07 pm
by daniel
which would mean? or : which would be e.g. what?

EDIT: could you give me an example for such a texture? do you know how to make it?

thx for help

Re: Window glass

Posted: Tue Sep 29, 2009 6:48 pm
by AceMastermind
This is from the same post that you partially quoted in your first post:
You need to use the Edit Flags to give polygons the ability to be transparent ingame, it also requires that whatever texture you use on those flagged polygons to have an alpha channel.
http://www.gametoast.com/forums/viewtop ... 70#p243470
Please read topics/posts more carefully

texture with alpha channel = 32 bit TarGA

:google:

Re: Window glass

Posted: Wed Sep 30, 2009 2:12 pm
by daniel
ok well i did what you said(sorry for not reading right :D ).
In xsi it's not displayed transparent( as expected),
when i place it in ZE it IS dislpayed transparent(yeah...)
but when i save everything, munge and play it it's non-transparent in-game again.

??? what am i doing wrong?
plz help

Re: Window glass

Posted: Wed Sep 30, 2009 4:49 pm
by AceMastermind
daniel wrote:what am i doing wrong?
You're using XSI Mod Tool so I assume you must be exporting the object with MshEx but MshEx doesn't read Edit Flag data as far as I know which means you'll need to hex edit the msh file to enable transparency.

If hex editing isn't your thing then you could always download 1 of the 4 available XSI Foundation trials and install the Pandemic Tools then export the object correctly on the first try with transparency enabled and assuming your texture with alpha channel was made correctly then everything should work fine.

If you're 100% positive that you did everything right then do a manual clean and re-munge and see if starts working.

Re: Window glass

Posted: Wed Sep 30, 2009 5:19 pm
by daniel
ok i tried it with hex editing and it worked!!

Thanks very much for your help and patience :bowdown:

(thread can be closed)