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
yes guy from two years ago, you should optimize your maps, always
@@jojobobee8777 i should wait at least a year, but yes guy from a week ago, you are too correct
yes guy from 6 years ago, you are correct
1:37 Wow... you just managed to solve all my problems and and answer all my questions with this one sentence... thanks!
Thanks men, it is the best tutorial that I found .
men?
I tend to use this more then the hint and skip. I should start to do both
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.
@PROTOTYPEsurf It would actually make it more laggy because of all the calculations it is making, use hint and skip brushes instead
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? :(
@MrChocolateification Did you use displacements as floor? There should be a brush below them
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 ?
why when i make area portal i cant use its options ?
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.
so if say another player can see the npc but you can't because were you are standing do they get rendered for you?
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.
Why not use hint?
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.
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?
yes
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
@T1M3L4PS3 Tie it to an entity and make it func_areaportal
Does func_areaportalwindow work the same way?
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.
Thanks
@T1M3L4PS3 3:30, you didint make it areaportal