Game Development Community

Interior Transparency (Dif) - Exists?

by Dee · in Torque Game Engine · 11/22/2003 (8:52 pm) · 9 replies

I do remember reading somewhere, that support for dif transparency was fixed.

If so, how would I flag a texture as transparent?

Using WC/Hammer.

#1
11/22/2003 (9:01 pm)
Well I tried looking about it on the map2dif exporter documentation, but that doesn't say anything about transparencies. So I assume the documentation hasn't been updated yet. Anyone else knows that would like to let the secret out? Because I sure would love to know. :)
#2
11/22/2003 (11:57 pm)
Theres 2 resources that add it, but they wont work on HEAD at the moment, im trying to update Deus's one.
#3
11/23/2003 (2:26 pm)
Http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4648

Thats the one i implemented, you may need to play around with it to get it solid.
Working on optimizing it at the moment, large slowdown when there are *too* many trans on screen. *300-400 individual*
#4
11/23/2003 (5:21 pm)
Thanks for the pointer Luke.
#5
11/24/2003 (10:01 am)
Still a little stuck on this
>>...how would I flag a texture as transparent?
>>Using WC/Hammer.

I found items about using a 'trans' entity, but it's not really clear.

Anyone have a small sample wc file with a texture tied to a trans entity, so I could dissect it?
#6
11/24/2003 (12:05 pm)
You have to bind the bruah to the entity, not sure how in WorldCraft. Look at some general level creation tuts for WC.

In quark, you just add the trans entity and in tree view, drag the brush(s) on to it.
#7
11/24/2003 (5:13 pm)
I've checked the map2dif source code and realize that it requires a 'trans' entity to work.

Does anyone have the quark or worldcraft definition/parameters for the trans entity?

Or can someone share a DataTorque.qrk or Torque.fgd file with the 'trans' entity in it?
#8
11/24/2003 (5:33 pm)
Right click on the brush in worldcraft, and its like assign to entity or something, and pick the trans entity, *shuffles around teh desk looking under and over stuff for back-up cd* ahhh yes *loads cd into rom* The trans entity is
Quote:
@SolidClass = trans : "Transparent Entity"
[
]
#9
11/24/2003 (7:06 pm)
That's the ticket I was looking for.

Thanks Luke, Chris.

@Nathan
You can simply follow Lukes pointer here:
>>Http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4648

Then modify the Torque.fgd file to add

@SolidClass = trans : "Transparent Entity"
[
]

as per Chris.

Then use the following info, if needed, to help tie the 'trans' entity to the brush.
http://www.garagegames.com/docs/torque.sdk/tools/worldcraft/chapter6.html