Author Topic: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues  (Read 5562 times)

Evoc

  • Posts: 127
  • Turrets: +13/-12
Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« on: August 03, 2008, 04:47:23 am »
Ok, I am a mapping newbie. I am currently working on a map that is full of windows. The only problem is, when I use the glass, sometimes when I look through the glass (in Tremulous), the things in the distance are black, or even some of the other windows are black. And, sometimes I can see through brushes. I think that this may be a problem with the vis, as the Tremulous does not "detect" that the brush is transparent, it just is, so it doesnt draw everything on the other side. Is there any way around this? Or, how do I get it to display everything behind the glass correctly? Maybe it has to do with "vis hint brushes," but I have no idea what those are other than that they help determine what is displayed to the player.

My second question is an easier one; I have some vents, and they are perfect, although I do not know how to get the grates over the ends to work. In Karith, in the entrances to most of the vents, there is a small grate that you can walk through. How is this "noclipping" effect achieved?

Thanks. Oh, and whoever helps is credited in my map. :P
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

Kaleo

  • Posts: 2098
  • Turrets: +176/-220
    • KaleoDesign
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #1 on: August 03, 2008, 05:14:04 am »
Make sure your windows brushes are detail brushes.
Quote from: Stannum
Thou canst not kill that which doth not live,
but you can blow it into chunky kibbles!
I has a cookie, and u can has a cookie, but i no givs u mai cookie...

n.o.s.brain

  • Posts: 339
  • Turrets: +1337/-24
    • youtube page
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #2 on: August 03, 2008, 06:52:16 am »
for the noclipping effect, use the shader nodrawnonsolid from textures/common/  to texture the whole brush, then texture one face of the brush (by ctrl+shift+leftclick) with the shader file from karith, or any other shader grate.

epsy

  • Posts: 205
  • Turrets: +8/-25
    • Armagetron Advanced!
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #3 on: August 03, 2008, 12:12:53 pm »
also, if you use your own shader, disable culling, so that the texure is also seen on the other side
Warning: All opinions expressed in my posts are mine and mine alone. Any connection to any group I am affiliated with - be it the ArmagetronAd Developers or any other group, is purely coincidental unless otherwise expressly stated. Don't be a dolt when you read my posts, as they *may* require some brainpower and thinking (also purely coincidental). Any opinion in my posts not expressed by me are purely figments of your imagination and will be dealt with accordingly.
SigTemplate by Khasla.

Evoc

  • Posts: 127
  • Turrets: +13/-12
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #4 on: August 03, 2008, 03:13:30 pm »
Wow, making the window brush into a detail brush did the trick, thanks! I have yet to try the vent thing, but I will in a few minutes after I finish making the rest of my map's windows work.
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

Evoc

  • Posts: 127
  • Turrets: +13/-12
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #5 on: August 03, 2008, 03:49:31 pm »
also, if you use your own shader, disable culling, so that the texure is also seen on the other side

How would I go about disabling culling?
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

Samurai.mac

  • Posts: 317
  • Turrets: +18/-17
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #6 on: August 03, 2008, 11:04:30 pm »
"cull TwoSided" should do the trick.

epsy

  • Posts: 205
  • Turrets: +8/-25
    • Armagetron Advanced!
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #7 on: August 04, 2008, 12:28:20 pm »
cull disable or cull none, as said in the manual i linked
Warning: All opinions expressed in my posts are mine and mine alone. Any connection to any group I am affiliated with - be it the ArmagetronAd Developers or any other group, is purely coincidental unless otherwise expressly stated. Don't be a dolt when you read my posts, as they *may* require some brainpower and thinking (also purely coincidental). Any opinion in my posts not expressed by me are purely figments of your imagination and will be dealt with accordingly.
SigTemplate by Khasla.

Evoc

  • Posts: 127
  • Turrets: +13/-12
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #8 on: August 04, 2008, 06:37:06 pm »
Ok. My problem is that I keep trying to make the vent work using the shader from karith, and lo' and behold, I cannot get it working. Could someone list the steps needed to get the vent working (because I cannot seem to to get it working)? I created the brush, put nodrawonsolid on the whole thing, then Ctrl + Shift clicked one side and put the shader on it. That didn't work, so I tried putting it on both sides. It still didn't work!

Halp!
« Last Edit: August 05, 2008, 03:15:02 am by Evoc »
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

cactusfrog

  • Posts: 390
  • Turrets: +678/-176
    • tremulous fun server offical site
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #9 on: August 05, 2008, 02:17:36 am »
i don't use nodrawsolid at all because it is unrealistic, put the vent cover somewhere on the floor near the opening and you wont have any more problems with it.

Evoc

  • Posts: 127
  • Turrets: +13/-12
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #10 on: August 05, 2008, 03:14:12 am »
Wait could you explain further? I put the vent covering over my vent, applied the shader from karith all over it, did Shift+S and then Fit, and then compiled and loaded it. It's not working!

Could someone explain EXACTLY what I need to do?
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

n.o.s.brain

  • Posts: 339
  • Turrets: +1337/-24
    • youtube page
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #11 on: August 05, 2008, 03:19:38 am »
are you sure the vent texture you used from karith was the one with the white line around it? (the white line means its a shader)

Evoc

  • Posts: 127
  • Turrets: +13/-12
Re: Glass "Vis" Issues and Vent Entrance Grate "Noclip" Issues
« Reply #12 on: August 05, 2008, 07:45:10 pm »
Yes, definitely. White lines means shader. Green line means it is in your map.
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better