{"id":5067,"date":"2022-11-06T20:32:38","date_gmt":"2022-11-06T19:32:38","guid":{"rendered":"http:\/\/roboblog.fatal-fury.de\/?p=5067"},"modified":"2022-11-06T20:32:38","modified_gmt":"2022-11-06T19:32:38","slug":"skip-and-hint-brushwork-in-praxis","status":"publish","type":"post","link":"http:\/\/roboblog.fatal-fury.de\/?p=5067","title":{"rendered":"skip and hint brushwork in praxis"},"content":{"rendered":"<p>Hi All!<\/p>\n<p>I want to show you some skip and hint brushwork in praxis.<\/p>\n<p>First I'll show you an overview of the map. The big green dot is where I take the sceenshots in game. And the line of sigth is blocked by one of the walls of the small room.<\/p>\n<p><overview.png><br \/>\n<a href=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/overview.png\" rel=\"attachment wp-att-5068\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/overview-300x288.png\" alt=\"overview\" width=\"300\" height=\"288\" class=\"alignnone size-medium wp-image-5068\" srcset=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/overview-300x288.png 300w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/overview.png 663w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>But If you enable r_speeds 1 and gl_wireframe 2 in game, you see in the next screenshot pretty much everything from the map is rendered. Although the small building (with the NULL texture on top) blocks line of sight. 1200 wpoly nd 5500 epolys are rendered.<\/p>\n<p><img1.jpg><br \/>\n<a href=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img1.jpg\" rel=\"attachment wp-att-5070\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img1-300x169.jpg\" alt=\"img1\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-5070\" srcset=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img1-300x169.jpg 300w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img1-768x432.jpg 768w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img1-1024x576.jpg 1024w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img1.jpg 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>To understand this, we'll load vis portal into J.A.C.K. They are stored in the .prt file but first you have to edit the file, otherwise it wont load. Open the file with a simple text editor. Keep the first two lines, then remove every line till the first line with the round brackets. (The number of lines you have to delte is the first number in the file.) It should then look like this:<\/p>\n<p><img2.png><br \/>\n<a href=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img2.png\" rel=\"attachment wp-att-5072\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img2-300x50.png\" alt=\"img2\" width=\"300\" height=\"50\" class=\"alignnone size-medium wp-image-5072\" srcset=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img2-300x50.png 300w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img2.png 423w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Or use the tool fixprt. You can download it here https:\/\/gamebanana.com\/tools\/6786<\/p>\n<p>In the next image you see some vis portals in blue which I loaded into J.A.C.K via Menu - Mmap - Load Portal File. There are two vis leafs marked. One in yellow and one in magenta. The start point is in the yellow leaf which goes up to the ceiling. The reason why pretty much everything<br \/>\nis visible from the startpoint is, because its visible from the yellow portal. It dosen't matter the position of the player.<\/p>\n<p><img3.png><br \/>\n<a href=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img3.png\" rel=\"attachment wp-att-5073\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img3-300x202.png\" alt=\"img3\" width=\"300\" height=\"202\" class=\"alignnone size-medium wp-image-5073\" srcset=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img3-300x202.png 300w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img3-768x517.png 768w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img3.png 846w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>For better understanding I also make a screenshot in J.A.C.K form the opposide of the map where you can see the yellow leaf. As you can see in the next image.<\/p>\n<p><img4.png><br \/>\n<a href=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img4.png\" rel=\"attachment wp-att-5074\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img4-300x194.png\" alt=\"img4\" width=\"300\" height=\"194\" class=\"alignnone size-medium wp-image-5074\" srcset=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img4-300x194.png 300w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img4-768x496.png 768w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img4.png 816w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In the next immage the player position is in the magenta leaf, right in front of the wall. Now only the sourounding walls of the map itself are rendered (and the lights (func_detail) and some other stuff on the ground (func_illusionary)). The magenta vis leaf is as high as the small room with the NULL texture.<\/p>\n<p><img5.jpg><br \/>\n<a href=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img5.jpg\" rel=\"attachment wp-att-5075\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img5-300x169.jpg\" alt=\"img5\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-5075\" srcset=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img5-300x169.jpg 300w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img5-768x432.jpg 768w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img5-1024x576.jpg 1024w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img5.jpg 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>How we can achieve this? We have to decrease the hight of the yellow leaf to the hight of the small room. We simply split the leaf with the hint texture. In the next image you can see the brush I made. One side with the skip texture and the other with the skip texture. The hint side face up while will2k suggest to face it down. I don't know if there is any technical reason for this. It shoudlnt be. I like to few my maps from top. So put the hint texture on top of the brush make it easyer to see it in J.A.C.K.<\/p>\n<p><img6.png><br \/>\n<a href=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img6.png\" rel=\"attachment wp-att-5076\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img6-300x200.png\" alt=\"img6\" width=\"300\" height=\"200\" class=\"alignnone size-medium wp-image-5076\" srcset=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img6-300x200.png 300w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img6-768x511.png 768w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img6.png 846w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>After running the compiler and load in the new vis leafs file, the leafs are cutted at the height of the small room. I marked the leafs in magenta as you can see in the next image.<\/p>\n<p><img7.png><br \/>\n<a href=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img7.png\" rel=\"attachment wp-att-5077\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img7-300x200.png\" alt=\"img7\" width=\"300\" height=\"200\" class=\"alignnone size-medium wp-image-5077\" srcset=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img7-300x200.png 300w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img7-768x512.png 768w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img7.png 848w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>I started the game and take a screenshot from the start positon of the player. It works! The wpolys drops from 1200 to 533 and the epolys from 5500 to 375. (56% and 93% saved. It was worth it!)<\/p>\n<p><img8.jpg><br \/>\n<a href=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img8.jpg\" rel=\"attachment wp-att-5078\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img8-300x169.jpg\" alt=\"img8\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-5078\" srcset=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img8-300x169.jpg 300w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img8-768x432.jpg 768w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img8-1024x576.jpg 1024w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img8.jpg 1920w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>==============================<\/p>\n<p>Next I'll show you how vis portals\/leafs are good to detect world brushes which are potential good for func_detail.<\/p>\n<p>Here I made a lamp hanging from the ceiling. I forgot to turn it into a func_detail and as a result, the vis portals\/leafs are cutted according to the rotation of the brush. This really looks not right.<\/p>\n<p><img9.png><br \/>\n<a href=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img9.png\" rel=\"attachment wp-att-5079\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img9-300x196.png\" alt=\"img9\" width=\"300\" height=\"196\" class=\"alignnone size-medium wp-image-5079\" srcset=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img9-300x196.png 300w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img9-768x501.png 768w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img9.png 817w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>After changing the light brush to func_detail, run compiler, load prt file, the vis leafs\/portals look way better :) And of cource the number of vis leafs\/portals decreates, which is good (usually).<\/p>\n<p><img10.png><br \/>\n<a href=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img10.png\" rel=\"attachment wp-att-5080\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img10-300x195.png\" alt=\"img10\" width=\"300\" height=\"195\" class=\"alignnone size-medium wp-image-5080\" srcset=\"http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img10-300x195.png 300w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img10-768x498.png 768w, http:\/\/roboblog.fatal-fury.de\/wp-content\/uploads\/2022\/11\/img10.png 815w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Thats all for today. Many Thanks to theBoss and bluesed for their patience and endlos tips :)<\/p>\n<p>Here are somegood links:<\/p>\n<p>twhl goldsource tutorials https:\/\/twhl.info\/wiki\/page\/category%3AGoldsource_Tutorials<\/p>\n<p>from will2k<br \/>\nA Systematic Approach to Level Design https:\/\/gamebanana.com\/tuts\/10747<br \/>\nPlanning To Win Sketching Your Level  https:\/\/gamebanana.com\/tuts\/10980<br \/>\nWinning your optimization battle against the source engine https:\/\/gamebanana.com\/tuts\/11178<br \/>\nOptimization Testing in Source Engine https:\/\/gamebanana.com\/tuts\/11586<\/p>\n<p>the wall (german) https:\/\/thewall.hehoe.de\/<br \/>\nr_speeds und ihre Optimierung https:\/\/thewall.hehoe.de\/artikel\/r_speeds\/r_speeds.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi All! I want to show you some skip and hint brushwork in praxis. First I'll show you an overview of the map. The big green dot is where I take the sceenshots in game. And the line of sigth is blocked by one of the walls of the small room. But If you enable [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-5067","post","type-post","status-publish","format-standard","hentry","category-allgemein"],"_links":{"self":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/5067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5067"}],"version-history":[{"count":3,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/5067\/revisions"}],"predecessor-version":[{"id":5081,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=\/wp\/v2\/posts\/5067\/revisions\/5081"}],"wp:attachment":[{"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5067"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/roboblog.fatal-fury.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}