Clip Brushes or Invisible Barriers
by Peter Ryan aka TorQue[MoD] · in Artist Corner · 01/11/2003 (4:34 pm) · 7 replies
Just wondering if anyone knows how to make Clip Brushes, or Invisible Barriers in Torque for the purpose of not allowing the player beyond a certain area. IE, making it so the player can not leave the mission area because they simply run into an invisible wall.
Thanks!
-TorQue[MoD]
Thanks!
-TorQue[MoD]
#2
01/17/2003 (10:47 pm)
The NULL texture? I guess you just have to create a texture called NULL.PNG and use it on any brush made in World Craft?
#3
01/17/2003 (11:57 pm)
Yeah, that works. Seems like it would be better to code something that won't allow players to leave the mission area, though
#4
01/18/2003 (12:54 am)
The null texture should have an RGB value of 255 0 255.
#5
01/18/2003 (1:41 am)
It actually doesn't make a difference what RGB color you use for the null texture. The null texture that came with T2 (after a quick chech) is 252, 2, 252. As long as it is named Null, you should be good.
#7
01/18/2003 (9:26 am)
Thanks for finishing the reason I posted it, Eric. :) Taken from the old Dynamix docs:Quote:You should include a "null" texture in your custom texture sets. A null texture is a texture with the RGB value of 255 0 255, and should be named "null.png". This texture does not need to be more than 16x16 pixels in size. This color is bright pink. Faces with a null texture are not rendered in the same way as a standard textured face. There are fewer computations involved in drawing and transforming a face with a null texture resulting in better performance. Use null textures on faces that will never be visible to a player in your shape.
Torque Owner Desmond Fletcher
fletcher