1. On August 16th at 9pm CST, the site will be put in to read only mode for maintenance. Maintenance should not take longer than an hour.

Player Clip Brush?

Discussion in 'Mapping Questions & Discussion' started by timberghost_paintball, Jan 24, 2008.

  1. timberghost_paintball

    timberghost_paintball L2: Junior Member

    Messages:
    77
    Positive Ratings:
    106
    I'm about ready to add some player clip brushes to prevent a few areas were sticky jumping could cause some gameplay issues and I was wondering about a few things.
    1. Do player clip brushes create vis leaves and more precisely can they partially intersect with world geometry in order to make less clip brushes or would it be better to have more brushes that never intersect world geometry?
    2. If clip brushes effect leaves I'm assuming that the compiling process would not have to calculate the area inside a clip brush so would player clip brushes over say large parts of the sky reduce compile time?

    And lastly if anyone has any good info on player clip brushes in relation to optimization and performance I would be interested in learning about it.:D
     
  2. tenaciousg

    tenaciousg L1: Registered

    Messages:
    44
    Positive Ratings:
    7
    after you compile you gotta type sv_cheats 1, then after thats in there's a code and i dont know it off the top of my head but itll show the vis leaves with red outlines, almost like wireframe
    do you know what the 'hint' texture does?

    http://www.student.ru.nl/rvanhoorn/...ts&PHPSESSID=3b43700627cdafe8abdc64aba1933bf4
     
    Last edited: Jan 24, 2008
  3. DrHaphazard

    DrHaphazard L5: Dapper Member

    Messages:
    249
    Positive Ratings:
    12
    Yeah that guide that Tenacious posted is bar none the best to look at when you get around to optimization. Its long but definetly thorough.
     
  4. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    I put that guide in the tutorial section :) Anyways, I'm pretty sure that player clip will not affect vis leafs. The console command that Tenacious was thinking of is "mat_leafvis 1".
     
  5. tenaciousg

    tenaciousg L1: Registered

    Messages:
    44
    Positive Ratings:
    7
    that's it Immortal-D thank you. timber try out that command in your map
     
  6. timberghost_paintball

    timberghost_paintball L2: Junior Member

    Messages:
    77
    Positive Ratings:
    106
    thanks I'll give it a shot