Window glass

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
User avatar
daniel
Master Sergeant
Master Sergeant
Posts: 167
Joined: Sun Mar 22, 2009 12:21 pm

Window glass

Post 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
Master_Ben
Lieutenant General
Lieutenant General
Posts: 675
Joined: Wed Nov 12, 2008 9:50 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Watching your PC over your shoulder. No, the other sholder....

Re: window glass

Post 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).
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: window glass

Post 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
User avatar
daniel
Master Sergeant
Master Sergeant
Posts: 167
Joined: Sun Mar 22, 2009 12:21 pm

Re: Window glass

Post 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
Master_Ben
Lieutenant General
Lieutenant General
Posts: 675
Joined: Wed Nov 12, 2008 9:50 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Watching your PC over your shoulder. No, the other sholder....

Re: Window glass

Post by Master_Ben »

Correction:
2. Give it a Semi-transparent texture.
User avatar
daniel
Master Sergeant
Master Sergeant
Posts: 167
Joined: Sun Mar 22, 2009 12:21 pm

Re: Window glass

Post 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
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Window glass

Post 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:
User avatar
daniel
Master Sergeant
Master Sergeant
Posts: 167
Joined: Sun Mar 22, 2009 12:21 pm

Re: Window glass

Post 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
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Window glass

Post 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.
User avatar
daniel
Master Sergeant
Master Sergeant
Posts: 167
Joined: Sun Mar 22, 2009 12:21 pm

Re: Window glass

Post 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)
Post Reply