entity/texture visible through walls?

Discussion in 'Mapping Questions & Discussion' started by bob+M|M+, Dec 28, 2011.

  1. bob+M|M+

    bob+M|M+ L6: Sharp Member

    Messages:
    348
    Positive Ratings:
    185
    Coulda sworn I came across an entity like this before. Basically I want to parent an entity to a player that could be visible from anywhere in the map, so you always know where the player is. Anyone know if this is possible?
     
  2. bob+M|M+

    bob+M|M+ L6: Sharp Member

    Messages:
    348
    Positive Ratings:
    185
    Got it. Found a texture that can be seen from anywhere. Here's the vmt.

    {
    "$baseTexture" "hud\arrow_big"
    "$translucent" 1
    "$alpha" 1
    "$vertexalpha" "1"
    "$ignorez" "1"
    "$no_fullbright" "1"
    "$vertextcolor" "1"
    "%keywords" "tf"
    }
     
  3. Shanghai

    Shanghai L6: Sharp Member

    Messages:
    394
    Positive Ratings:
    217
    I know it's possible to give players the same outline the cart has serverside, but I don't know if it's possible through the map itself.
     
  4. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,216
    Are you making an escort map, Bob?
     
  5. bob+M|M+

    bob+M|M+ L6: Sharp Member

    Messages:
    348
    Positive Ratings:
    185
    I guess you could call it an escort map, but instead of one VIP, your whole team is VIP. It's basically just zombie fortress game mode, but L4D style where the survivors are actually pushing instead of camping. I'm using this to display the location of survivors so zombies don't get lost and can punish stragglers.
     
  6. Shanghai

    Shanghai L6: Sharp Member

    Messages:
    394
    Positive Ratings:
    217
    Are the survivors going for control points?
     
  7. bob+M|M+

    bob+M|M+ L6: Sharp Member

    Messages:
    348
    Positive Ratings:
    185
  8. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    A bit of fair warning, the $ignorez flag will not work completely. It only renders on top of everything else if it is in the PVS to begin with. When a map is properly optimized the PVS is fairly small, and it won't render over very much or very far before it is dropped from consideration.
    and before you think of it, putting it in the 3D sky won't work either, I tried that once. 3D sky components will always render behind the world no matter what.

    The outline effect might be a better choice to look into. Probably by parenting an outlined object to the thing you want to track. Plus, then it won't render when you have line-of-sight to the target and get in the way, since it was coded for this kind of stuff.
     
    • Thanks Thanks x 1