SF's Hammer Tutorials - Optimization 2: Hint & Skip

  Рет қаралды 14,033

Lukas Orsvärn

Lukas Orsvärn

Күн бұрын

Пікірлер: 43
@Silwerfish
@Silwerfish 13 жыл бұрын
@mrnicosable The difference is actually quite large. The areaportal texture is an *entity* in the game that can be controlled using inputs/outputs to open or close it. An areaportal does not show any entities that you can't see through the areaportal. Areaportals also take some performance, so you need to make sure it's worth it. Hint is only used to chop up the level in leafs to determine what will be rendered depending on where the camera is. This method is also pretty much free to use.
@Silwerfish
@Silwerfish 14 жыл бұрын
@Sktannagade Proper use of hint/skip will make your map less demanding (more optimized). It's an optimization technique. It won't change the gameplay in your map at all.
@Silwerfish
@Silwerfish 14 жыл бұрын
@Bekey2nd @turb030031993 Great to hear guys, this was the hardest tutorial to make so far so I wasn't sure it was fully understandable, thanks for the feedback. :)
@Silwerfish
@Silwerfish 14 жыл бұрын
@Mariuspersem Yeah, area portal-like thingies you put in windows to stop them from rendering when you're too far away.
@Silwerfish
@Silwerfish 14 жыл бұрын
@SleeperJ I think you can use hint on more than one side if you so wish. Area portals are better than hint in some situations.
@Silwerfish
@Silwerfish 12 жыл бұрын
It matters yes. Think of it like you're placing a piece of paper in the level, and the side (or sides) of a brush that has the hint texture on it, is that piece of paper. Doesn't matter which way it's facing, but it needs to be in the right place.
@Silwerfish
@Silwerfish 13 жыл бұрын
@ViperStarFilms That's weird, I haven't run into that problem before... I can imagine this might happen if there's a leak in your level, have you made sure your level is not leaked?
@Silwerfish
@Silwerfish 14 жыл бұрын
@Mariuspersem There's a lot of things to cover when it comes to optimizing. I'm thinking about doing tutorials about occluders, fog, area portals and those area portal-like ones you can put in windows. Anything not on that list you think I should cover when it comes to optimizing?
@Silwerfish
@Silwerfish 14 жыл бұрын
@raphu604 You can use the debugging tools to maybe find out why that is. Also, I did this tutorial in Half-Life 2 since it for some reason didn't work for me in Ep2.
@Silwerfish
@Silwerfish 14 жыл бұрын
@HUMANCONDlTION Are you sure you have compiled the map before loading the portal file? The portal file is generated when compiling so it can't find it if you haven't compiled it.
@SleeperJ
@SleeperJ 14 жыл бұрын
hi, i was wondering what if you apply the hint texture to 2 sides instead of one does it make a difference? or does it just not make the brush inactive? and would it be better to use area portals instead of the hint and skip or is it situational? lol sorry for all the questions but thanks for takin the time to read it all lol
@ViperStarFilms
@ViperStarFilms 13 жыл бұрын
Hey Silwerfish, great tutorial! But I have a problem. When I press load portal file it doesn't load it, I've ran the map seceral times but when I browse for the .prt file it's not there. This hasn't happened to me in all my maps, so I don't know how to fix it. Pease help me as i'd prefer to see it in the editor before looking at it ingame- Thanks!
@Silwerfish
@Silwerfish 14 жыл бұрын
@jckreilly I'll add it to the request list, thanks!
@Silwerfish
@Silwerfish 14 жыл бұрын
@transformer5622 Yeah there is in Ep2 engine, use an entity called func_viscluster.
@chap1400
@chap1400 14 жыл бұрын
@hatrer when hammer fails to create a .prt file its because u have a leak in the map. goto Map > Load pointfile and hammer will draw a red line to where ur leak is. When all the leaks are filled, the area portals will compile and a portal file will be created. Hope that helps!
@smhht
@smhht 5 жыл бұрын
Redundant now as this vid is so old, but I believe the compiler splits leaves up every 1024 units (both x and y, not z), which will be why 'random' partitions appear automatically, and as high as the skybox (z plane). It's used to break larger areas up. I don't know whether Source compiler has an option to control this, but other BSP-based engines like id Tech 3 (or, should I say, q3map compiler), you can specify a '-blocksize' to either turn this feature off by setting it to 0 if you don't need it (which can greatly decrease compile times), as well as decrease or increase to your preferred value, to make culling more or less aggressive. By default q3map sets it to 1024 I believe, at least with the versions I've used, and I think Source does the same.
@hatrer
@hatrer 14 жыл бұрын
I'm having a problem with a "mall" map I'm doing. It has no portals or "leafs" so it lags majorly. I render with all settings on "normal" but hammer wont generate portal file :o
@MacKenzieShirk
@MacKenzieShirk 12 жыл бұрын
Does it matter what side the hint texture is on?
@raphu604
@raphu604 14 жыл бұрын
I'm making a map right now, but somehow the hints don't work, they don't hide anything.. why is that?
@mrnicosable
@mrnicosable 13 жыл бұрын
Sry but i don't understand the difference betwen this and the areaportal texture. Can you help me?
@Sktannagade
@Sktannagade 14 жыл бұрын
What does hint`? What difference does it do to your map?
@Mariuspersem
@Mariuspersem 14 жыл бұрын
@Silwerfish well, I though those black textures in windows
@Silwerfish
@Silwerfish 14 жыл бұрын
@hatrer That has happened to me as well! I have no idea what causes it, sorry! Just make 100% sure there are no leaks or other errors in your map and if there are no errors, try asking on some forums. I don't know how to solve that anyhow, sorry!
@Neolantis
@Neolantis 11 жыл бұрын
are you still doing tutorials?
@Silwerfish
@Silwerfish 11 жыл бұрын
No.
@Neolantis
@Neolantis 11 жыл бұрын
ah too bad, you did a great job... I am looking for some good ones to start building...found a bunch, but looking for one channel that has it all. thanks again
@VeraxonHD
@VeraxonHD 9 жыл бұрын
Can anyone help me my compile doesn't create a portalfile and also my hint and skip things don't work. I have followed the tutorial to the T. Basically I am trying to make a zombie escape map for my server and I have an elevator. When the elevator is at the top I don't want to render the courtyard area. Thanks :)
@Silwerfish
@Silwerfish 14 жыл бұрын
@fvn13 It was my pleasure. I AM extremely Swedish. ;)
@daniel10166
@daniel10166 14 жыл бұрын
thanks man, very handy to know
@mrnicosable
@mrnicosable 13 жыл бұрын
@Silwerfish Ok, I understand, thx!
@jenzzuffer
@jenzzuffer 11 жыл бұрын
great tutorial
@developmentsource6855
@developmentsource6855 7 жыл бұрын
thanks for the tutorials
@R1zeeK
@R1zeeK 14 жыл бұрын
Nice one!
@Silwerfish
@Silwerfish 14 жыл бұрын
@Geckoinc2 Mission accomplished.. B)
@ViperStarFilms
@ViperStarFilms 13 жыл бұрын
@Silwerfish No actually, good idea thanks.
@MrJackiesUtube
@MrJackiesUtube 12 жыл бұрын
How's your day TODAY? 2 Years later.
@Silwerfish
@Silwerfish 11 жыл бұрын
Hmm, that's too bad. With this tutorial (like with most of my tutorials) I wanted to go through the subject as fast and clearly as I could. It's much harder to describe how this stuff works in text than it is in a video, so I'm not even going to attempt. If you keep searching for information on this subject and keep thinking about it I'm sure you'll be able to understand it soon and come up with the best solution you can for your level. :)
@fvn13
@fvn13 14 жыл бұрын
Thank you very much! You sound extremly swedish!
@Mariuspersem
@Mariuspersem 14 жыл бұрын
make an Super-advanced Optimization, this was too easy for me xD
@aprats2
@aprats2 11 жыл бұрын
thanks! Thanks! thanks! Thanks!thanks! Thanks!thanks! Thanks!thanks! Thanks!thanks! Thanks!thanks! Thanks!thanks! Thanks!thanks! Thanks!
@ALIENwoods
@ALIENwoods 14 жыл бұрын
THis is a good tutorial video, about optimalization, i guess it's better than 3klikkphilips' :)
@Geckoinc2
@Geckoinc2 14 жыл бұрын
I am having an awsome day
@Lennxrd
@Lennxrd Ай бұрын
I guess things were awsome 14 years ago 👍
SF's Hammer Tutorials - Driving APC
4:05
Lukas Orsvärn
Рет қаралды 12 М.
Hammer Editor - What NOT to do and WHY!
16:12
Trivvy
Рет қаралды 48 М.
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
SF's Hammer Tutorials - Optimization 3: Areaportals
7:11
Lukas Orsvärn
Рет қаралды 9 М.
Hammer++ : Exposing Hammer's Shitness
11:19
3kliksphilip
Рет қаралды 383 М.
SF's Hammer Tutorials - Face Poser 3: Lip Sync
8:51
Lukas Orsvärn
Рет қаралды 21 М.
[Source 1] Hammer Tutorial V2 Series #6 "Basic Optimization"
13:12
TopHATTwaffle
Рет қаралды 58 М.
Project-S:  Hint (Optimization)
5:10
PROJECT-S: Source Engine Lessons - Уроки и Игры
Рет қаралды 13 М.
Hammer Tutorial: How to get crazy with displacements!
58:20
totes amaze balls
Рет қаралды 14 М.
Lesson 102 - Simple NPC Dialogue
6:54
Scott and Jennifer Myers
Рет қаралды 4,1 М.
Portal with 3 parts: is this possible?
14:12
optozorax
Рет қаралды 194 М.
SF's Hammer Tutorials - NPC Animations
4:49
Lukas Orsvärn
Рет қаралды 57 М.