[Tip] Doors with bullet ricochets!

Discussion in 'Tutorials & Resources' started by Nineaxis, Aug 13, 2009.

  1. Nineaxis

    aa Nineaxis Quack Doctor

    Messages:
    1,767
    Positive Ratings:
    1,404
    There's a lit of piece of polish I look for in maps, and I consider it quite important. And that is bullet ricochets on doors.

    Here we have a generic door in Hammer:
    [​IMG]

    Let's have a look in-game:
    [​IMG]

    Notice something wrong? We're firing a minigun at a metal door, and it might as well not even exist! Good thing there's an easy way to fix this...

    [​IMG]

    You'll notice that I've done two things: first, I textured the func_door with metal/ibeam001b. "But Nineaxis", you say, "now that door is going to show up in game! I textured it with nodraw so it wouldn't!".

    And that's why you go into the properties of the func_door, and change Render Mode to Don't Render. This, as the name implies, means that the func_door will not render. But the surface type is still there, and the metal texture makes it metal.

    Let's take another look at this door in-game.

    [​IMG]

    That's better.
     
    • Thanks Thanks x 12
  2. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,683
  3. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,467
    It also prevents stickies from sticking to the door.
     
  4. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,742
    I also used this method instead of clip brushes for cetain things in hoodoo and furnace creek, it makes a wooden barricade prop (with no collision D:) give off wood chips when shot :)
     
    • Thanks Thanks x 2
  5. luxatile

    aa luxatile deer

    Messages:
    2,289
    Positive Ratings:
    1,348
    Wow, so that's why Valve does it... Very useful, I'm gonna change this immediately. :)
     
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,531
    Why?
     
  7. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,683
    If I remember correctly your pre-fab doors don't have this.
     
  8. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,531
    You are noob and remember incorrectly. I in fact did this. The difference was I used a metal grating texture to facilitate the viewing of the door skin or any other object that exist beyond the plane of the brush face.
     
    • Thanks Thanks x 2
  9. re1wind

    aa re1wind

    Messages:
    644
    Positive Ratings:
    382
    Or if tf2 had a metal nodraw texture ala L4d...
     
  10. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Wait, so sticky-bomb-attachment is part of materials properties instead of entity class/properties? <scribbles notes furiously>
     
  11. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,531
    no. sticky bombs will not stick to brush entities. period. They will however stick to props, this is why the func_door covers the door prop, or else you'd get floating stickies when the door opens.
     
  12. Penguin

    aa Penguin Clinically Diagnosed with Small Mapper's Syndrome

    Messages:
    1,992
    Positive Ratings:
    1,233
    I don't understand why we have a thread for a flag but w/e.
     
  13. Nineaxis

    aa Nineaxis Quack Doctor

    Messages:
    1,767
    Positive Ratings:
    1,404
    ..it's a tip. I notice that most mappers don't do this.