clip projectiles and bullets but not players

Discussion in 'Mapping Questions & Discussion' started by awatemonosan, May 24, 2010.

  1. awatemonosan

    awatemonosan L1: Registered

    Messages:
    39
    Positive Ratings:
    2
    How would i create a brush that blocks projectiles and bullets but not players?
     
  2. Bad Vlad

    Bad Vlad L2: Junior Member

    Messages:
    71
    Positive Ratings:
    16
    tools/blockbullets? I think?

    It's a tool brush like playerclip. Sawmill's sawmill uses it.
     
  3. awatemonosan

    awatemonosan L1: Registered

    Messages:
    39
    Positive Ratings:
    2

    does that block rockets, grenades and other physical projectiles?
     
  4. Bad Vlad

    Bad Vlad L2: Junior Member

    Messages:
    71
    Positive Ratings:
    16
    It should. I've never used it before, though.
     
  5. PL-7764

    PL-7764 L6: Sharp Member

    Messages:
    376
    Positive Ratings:
    67
    Blockbullets is solid to players. It blocks all types of weapons too, including rockets, Jarate, etc.
     
  6. awatemonosan

    awatemonosan L1: Registered

    Messages:
    39
    Positive Ratings:
    2
    so it blocks everything lol.

    is there anyway to block just projectiles and bullets but NOT players?
     
  7. Bad Vlad

    Bad Vlad L2: Junior Member

    Messages:
    71
    Positive Ratings:
    16
    http://developer.valvesoftware.com/wiki/Tool_textures

    This is misleading then.
     
  8. awatemonosan

    awatemonosan L1: Registered

    Messages:
    39
    Positive Ratings:
    2
    hrm, i am checking out func_clip_vphysics
    [noob] Does the player have a targetname? [/noob]
     
  9. awatemonosan

    awatemonosan L1: Registered

    Messages:
    39
    Positive Ratings:
    2
    Took a stab in the dark and put in player. It blocks physical projectiles now.
    Now to figure out a way to stop bullets... I dont think thats possible... :(
     
    Last edited: May 24, 2010
  10. alecom

    alecom L8: Fancy Shmancy Member

    Messages:
    516
    Positive Ratings:
    120
    Have a wall made out of the block_bullets 1 unit thick, and then use a trigger teleport each side of it.
     
  11. Prestige

    aa Prestige im not gay anymore

    Messages:
    1,769
    Positive Ratings:
    1,517
    clever
     
  12. honeymustard

    honeymustard L9: Fashionable Member

    Messages:
    698
    Positive Ratings:
    273
    If you're using blockbullets, make sure you make it func_detail.
     
  13. Lancey

    aa Lancey Currently On: ?????

    Messages:
    3,076
    Positive Ratings:
    1,314
    func_nogrenades will block physical projectiles, but I can't think of anything that blocks bullets but not players.

    Why? It doesn't split visleaves.
     
  14. Geal

    Geal L4: Comfortable Member

    Messages:
    162
    Positive Ratings:
    56
    the main problem with something that blocks bullets but not players is that it's invisible - you could be backpedaling and shooting and an enemy, and suddenly your bullets stop traveling across the room. You'll need a clever visual excuse as to why players can pass through this area but bullets can't.
     
  15. alecom

    alecom L8: Fancy Shmancy Member

    Messages:
    516
    Positive Ratings:
    120
    Or you shoot a rocket in your own face!
    You should totally use lasers to visualize.
     
  16. Bad Vlad

    Bad Vlad L2: Junior Member

    Messages:
    71
    Positive Ratings:
    16
    Or incorporate something like the Portal particle screen. People are familiar with that.
     
  17. honeymustard

    honeymustard L9: Fashionable Member

    Messages:
    698
    Positive Ratings:
    273
    Yes it does.
     
    • Thanks Thanks x 1
  18. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Me neither. Wait, has anybody tried with displacements? IIRC you can set flags on them... Yeah:
    • No Physics Collision - Disables any physics objects colliding with the displacement.
    • No Hull Collision - Disables any player or NPC collisions with the displacement.
    • No Ray Collision - Disables raycasts colliding with the displacement. Gunfire and bullets will not collide with the displacement surface.

    Sounds like disabling collision for the second one only might do it. If projectiles still pass through, maybe func_nogrenades?

    Another icky workaround would be a piece of glass with a teleporter zone on each side...
     
  19. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,768
    Positive Ratings:
    5,508
    Displacements won't work. Hull collision is both players and hitscan/projectiles. Physics collision will do grenades and stickies.
     
  20. Cynick

    Cynick L4: Comfortable Member

    Messages:
    153
    Positive Ratings:
    144
    Can you use a func_clip_vphysics with its filter set to a filter_activator_class set to "player" and the negated key set to true?

    EDIT: And textured blockbullets as well