Why Do Bullets Pass Through Func_seethrough?

CageyCagey Ex-Unknown Worlds Programmer Join Date: 2002-11-15 Member: 8829Members, Retired Developer, NS1 Playtester, Constellation
<div class="IPBDescription">(when player alpha < 255)</div>I'm working on an observatory room that includes a glass wall with the following characteristics:

1) The observatory is L-shaped, so players can see each other through the glass.
2) The glass curves to meet the ceiling, and I'd like the commander to be able to build under it.

I tried using a func_seethrough with the player alpha set to 64 to simulate glass that the commander can build under, but the end result doesn't work properly--players can shoot through the wall to hit enemies on the other leg of the L-shape. The brush clips properly, and skulks can walk up the glass -- I just need a way to block bullets without blocking the commander's ability to build on the floor.

Comments

  • Lord_RequiemLord_Requiem Join Date: 2002-11-20 Member: 9481Members
    Clip brush, perhaps?
  • watch_me_diewatch_me_die Join Date: 2002-11-10 Member: 8107Members
    clip brushes won't block bullets, and won't let skulks climb them either

    maybe you could make the vertical part of the window a func_wall and just leave the top as a func_seethrough... if you can understand what i mean, hard to explain without being able to see the level
  • OlljOllj our themepark-stalking nightmare Fade Join Date: 2002-12-12 Member: 10696Members
    edited December 2002
    Why the easy way when you can fail in the complicated one.

    The easy solution is making glass transparency the god old way:
    Make func_wall, render mode "Color", FX amount "determines Transparency (69 is fine for Glass)"
    To make the commander NOT to build on the top plane use a second brush with "func_nobuild" above this plane
    (it will be invisible ingame)

    Some Flags, determine if you can shoot throught and more, are important there.
  • MerkabaMerkaba Digital Harmony Join Date: 2002-01-24 Member: 22Members, Retired Developer, NS1 Playtester
    edited December 2002
    This is a bug. If a func_seethrough is NOT opaque (i.e. rendered to an amount of 255 to the ground players) then it can be shot though.

    If you try it on ns_hera, you'll see that you can actually shoot through the ceiling of the glass tubeway, because the ceiling panels are func_seethroughs.
  • watch_me_diewatch_me_die Join Date: 2002-11-10 Member: 8107Members
    <!--QuoteBegin--Ollj+Dec 19 2002, 06:39 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Ollj @ Dec 19 2002, 06:39 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Why the easy way when you can fail in the complicated one.

    The easy solution is making glass transparency the god old way:
    Make func_wall, render mode "Color", FX amount "determines Transparency (69 is fine for Glass)"
    To make the commander NOT to build on the top plane use a second brush with "func_nobuild" above this plane
    (it will be invisible ingame)

    Some Flags, determine if you can shoot throught and more, are important there.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    will that make it so the commander can build underneath though?
  • CageyCagey Ex-Unknown Worlds Programmer Join Date: 2002-11-15 Member: 8829Members, Retired Developer, NS1 Playtester, Constellation
    edited December 2002
    w.m.d -- image taken with gl_wireframe 2:

    <img src='http://xp-cagey.com/ns_janus0000.jpg' border='0' alt='user posted image'>

    Disclaimer: I'm still doing basic layout, so I <i>know</i> it's ugly and needs detail! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->

    Unfortunately, the wall is sloped, so it's not a matter of the vertical part and the horizontal one -- it's continuous <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->.

    Someone standing behind the left glass wall can shoot someone standing behind the right one and vice versa.

    Ollj -- if you reread my original post, I want the commander to be <i>able</i> to build under the glass, nobuild is opposite of what I'm looking for.

    Merkaba -- I've submitted a bug report.
  • ChromeAngelChromeAngel Join Date: 2002-01-24 Member: 14Members, NS1 Playtester, Contributor
    Reading the suggestions I tend to agree that the lower 2 sections need to be func_wall and the upper 2 sections func_seethrough. I doubt there would be a visible join.

    Unless this is a major bottlneck in the map I doubt anyone would have noticed ayway.
  • CageyCagey Ex-Unknown Worlds Programmer Join Date: 2002-11-15 Member: 8829Members, Retired Developer, NS1 Playtester, Constellation
    edited December 2002
    I guess any skulks high on the walls will just be shootable through the glass.

    I'm not worried about visible joins -- the non-facing sides are already null textured anyway.

    EDIT: on trying to reproduce the problem again, I couldn't get grenades to fly through -- it appears that the problem is hitscan only.
  • watch_me_diewatch_me_die Join Date: 2002-11-10 Member: 8107Members
    edited December 2002
    grenades can't pass through them, its just normal bullets <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' valign='absmiddle' alt='confused.gif'><!--endemo-->

    i'd still go with see through for the top 2 panels and wall for the bottom 2

    EDIT: oops you already noticed that <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
  • p00tp00t Join Date: 2002-12-20 Member: 11254Members
    Honestly i think u should have the first 3 bottom sections as a normal func wall, this will totally eliminate the chance of anyone hitting anything on the other side.

    Also i understand u want to be able to build under it, but by the screen shot i see that you would only be losing 3-4 buildable feet. If u take into consideration that there wont be any **obscenity** shooting through the walls at aliens <!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' valign='absmiddle' alt='skulk.gif'><!--endemo--> and theres still plenty of room to build <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' valign='absmiddle' alt='siege.gif'><!--endemo--> + <!--emo&::sentry::--><img src='http://www.unknownworlds.com/forums/html/emoticons/turret.gif' border='0' valign='absmiddle' alt='turret.gif'><!--endemo--> , the game-play is still improved. Id rather not have any "glitchy" type of exploits and only lose alittle bit of build space for it.

    There are alot of spaces in the normal maps where normal ground cant be built on cause of a design type thing they had to work around... no one really complains about it.

    Is there even a res spot in that location? If not, you really dont even need to worry about the build space since not much will even be built there, ever. If it is strategic there is still plenty of build room... just leave the glass panes past the 3 bottom ones see-through.

    I really like the glass effect, very nice.

    just my 2 cents.
  • WraithOfDarkWraithOfDark Join Date: 2002-10-01 Member: 1393Members
    Func_Seethrough is driving me nuts 'cos it doesn't work with texture transparency. I try to use a railing texture to create a 'cage' around an outdoor room and it just renders what should be see-through to players as black, looks terrible with sky above it.
    Need a combination of func_seethrough and func_wall.
  • WraithOfDarkWraithOfDark Join Date: 2002-10-01 Member: 1393Members
    Nevermind, I managed to do it with a func_illusionary and a clip textured brush.
    This might work with your windows, set them all to func_seethrough and plate them with clip textured brushes which I think stop bullets.
    No bug, no unbuildable space.
  • tommy14tommy14 Join Date: 2002-11-15 Member: 8839Members
    have you tried putting a a func button of invisible blue texture out between the glass, with the buttons health set at 1 or 2? in other mods buttons set like that "absorbed" the gun damage....

    the other thing that worked in other mods was 3 layers of func wall with invisible texure....

    another thing to do is to penalize the shooters for being such idiots as to try and shoot out glass wall facing empty vacume of space. trigger hurts that target the shooters might help in that regard......
Sign In or Register to comment.