Hammer Tutorial #21 optimization Part 4- Area Portals

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024
  • In this set of 5 tutorial you will learn optimization 101. Optimization is making your map run better, and result in better game play. When done correctly you will also learn how to majorly cut down on compile times.
    Common terms you may not know but will encounter:
    World brush: a brush that isn't tied to any entity
    Skybox: the collection of "tools/skybox" textured brushes that cover the top of your map, giving the appearance of a sky
    3d-skybox: see above, only instead of an appearing sky projects another part of the map
    Framerate, or FPS (frames per second): how fast your map runs, the higher the smoother, the better!
    Compiling: To turn an editable map into a playable map
    vbsp: The first compiling program, takes care of general BSP structure, and portalling
    vvis: The second compiling program, takes care of visibility, can take hours on an unoptimised map, luckily can also take seconds if optimised right
    vrad: The third and last compiling program, takes care of ( the static ) lighting your map
    bsp: Binary space partitioning, basically a format to write and use maps (originally ported from Quake)
    Console commands:
    Sv_cheats 1
    Mat_leafvis 1
    Mat_wireframe 3
    Things covered in these tutorials:
    Tutorial 1 - func_detail, and skybox.
    • Hammer Tutorial #21 op...
    Tutorial 2 - solving leaks, fish bowl therey
    • Hammer Tutorial #21 op...
    Tutorial 3 - hint and skipping
    • Hammer Tutorial #21 op...
    Tutorial 4 - area portals
    • Hammer Tutorial #21 op...
    Tutorial 5 - occluders
    • Hammer Tutorial #21 op...
    Links on this subject:
    Custom game menu with dev command button:
    files.tophattwa...
    Written guide to optimazition:
    rvanhoorn.ruhos...
    Vvis:
    developer.valve...
    Leaks:
    developer.valve...
    Areaportals:
    developer.valve...
    Occluders:
    developer.valve...
    An indepth look on visleafs:
    developer.valve...
    Hint brushes:
    developer.valve...
    Skip brush:
    developer.valve...
    Visibility optimazition:
    developer.valve...
    **********************************************
    All, and any downloads you may need are here:
    www.tophattwaff...
    **********************************************
    Download this tutorial:
    www.tophattwaff...
    **********************************************
    Contact Info:
    Steam: Doogiehoogie
    AIM: Doogiehoogie
    E-Mail: Doug@TopHATTwaffle.com
    X-Fire: rocketrascal34
    FPSBanana: www.fpsbanana.c...
    Skype: TopHATTwaffle
    Ventrilo: www.tophattwaff...
    RUclips: Rocketrascal34
    Website: www.tophattwaffle.com Follow me on Twitter: / tophattwaffle Support me on Patreon: / tophattwaffle

Комментарии • 26

  • @MagmaSloth64
    @MagmaSloth64 9 лет назад +12

    yes guy from two years ago, you should optimize your maps, always

    • @jrespace04
      @jrespace04 3 года назад +1

      @@jojobobee8777 i should wait at least a year, but yes guy from a week ago, you are too correct

    • @Uprank
      @Uprank 2 года назад +1

      yes guy from 6 years ago, you are correct

  • @kodak1587
    @kodak1587 4 года назад +2

    1:37 Wow... you just managed to solve all my problems and and answer all my questions with this one sentence... thanks!

  • @RadeRaiD
    @RadeRaiD 8 лет назад +1

    Thanks men, it is the best tutorial that I found .

  • @ROBK636
    @ROBK636 14 лет назад +1

    I tend to use this more then the hint and skip. I should start to do both

  • @rvgr420
    @rvgr420 2 года назад +1

    I think that the improper use of this might be the reason why some of the maps in Black Mesa (Half-Life 1 remake in Source) have terrible optimization.

  • @dogchow33
    @dogchow33 12 лет назад

    @PROTOTYPEsurf It would actually make it more laggy because of all the calculations it is making, use hint and skip brushes instead

  • @MrGamingplan
    @MrGamingplan 6 лет назад

    I know this is 8 years old, but hopefully someone can answer my question, maybe even the channel owner, I've set up my areaportal doors and they work fine, but my areportal window doesnt work, from the front, the inside of the building is only rendered at a distance and upon getting close, the inside disappears, and from the inside, the area portal allows me to see into the void, but there's no point file, so theres no leaks? help? :(

  • @rickinator9
    @rickinator9 13 лет назад

    @MrChocolateification Did you use displacements as floor? There should be a brush below them

  • @jamiewright2556
    @jamiewright2556 5 лет назад

    I use old half-life and worldcraft 3.3 not source
    Can I use valve hammer 4 use old half-life and compile with Nems tools batch compiler ?

  • @zergidrom4572
    @zergidrom4572 5 лет назад

    why when i make area portal i cant use its options ?

  • @MrChocolateification
    @MrChocolateification 13 лет назад

    I have a beach map that im working on and it has leaks, but when I load point file, All it has is this tiny line in he middle of nowhere of which I can clearly see both ends yet I cans find the leak... HELP!
    PS: I have done no optimization so no hint, skip, occlude, or area portal. Etc.

  • @elronman
    @elronman 14 лет назад

    so if say another player can see the npc but you can't because were you are standing do they get rendered for you?

  • @kru5hStep
    @kru5hStep 12 лет назад

    How much optimization needs to be done on say a DR or a mg_course map? I am currently constructing one and just need to know if I need to make the effort and optimize it.. Just wondering about users playing it etc etc.

  • @TheBoringEdward
    @TheBoringEdward 4 года назад

    Why not use hint?

  • @Stroggdorr
    @Stroggdorr 13 лет назад

    How come firefox starts laggins sooo bad when I watch this video then the video gets superslow and your talking is like a-a-a-t-t-t - - -a-a-l-l-l-l-l and shit.

  • @PROTOTYPEsurf
    @PROTOTYPEsurf 13 лет назад

    can this unlag map? i mean if i have a fuckin big surf map and when join more people, all people have lower fps..and i used some models..can this help me with fps?

  • @Seven-or1lx
    @Seven-or1lx 2 месяца назад

    Sometimes i use func_portals and they cause a fatass leak in my map like all I see is skybox from the other side of portal lol

  • @dogchow33
    @dogchow33 12 лет назад

    @T1M3L4PS3 Tie it to an entity and make it func_areaportal

  • @dogchow33
    @dogchow33 12 лет назад

    Does func_areaportalwindow work the same way?

    • @JamDoggie
      @JamDoggie 6 лет назад

      i know this is six years old but to anyone who has this question still: func_areaportalwindow makes it so if you are far enough away it fades out everything is is area portaling out.

    • @Linkz64
      @Linkz64 6 лет назад

      Thanks

  • @vanhakaveri
    @vanhakaveri 12 лет назад

    @T1M3L4PS3 3:30, you didint make it areaportal