User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mapping:cawe:leaks [2009-07-05 11:24]
127.0.0.1 external edit
mapping:cawe:leaks [2015-05-18 22:09] (current)
Line 6: Line 6:
 ===== What is a Leak? ===== ===== What is a Leak? =====
  
-Maps created for the Cafu engine are preprocessed by several compile tools (e.g. CaBSP, CaPVS, CaLight) for optimal performance. These compile tools assume that any map has an inside (where the player and monsters are), and an outside that nobody except for the mapper will ever see. The inside must be //sealed "​air-tight"​ or "​water-tight"//​ from the outside. ​+Maps created for the Cafu engine are preprocessed by several compile tools (e.g. CaBSP, CaPVS, CaLight) for optimal performance. These compile tools assume that any map has an inside (where the player and monsters are), and an outside that nobody except for the mapper will ever see. The inside must be //sealed "​air-tight"​ or "​water-tight"//​ from the outside.
  
 That is, if you imagine you flood-filled the map from the inside with water or pressurized air, at no point must the water or air be able to escape to the outside. Therefore, each place where that would be possible is called a //leak//. That is, if you imagine you flood-filled the map from the inside with water or pressurized air, at no point must the water or air be able to escape to the outside. Therefore, each place where that would be possible is called a //leak//.
Line 55: Line 55:
  
 Sometimes leaks can also be caused by bad brushes like the one shown in this example (click image to enlarge). Sometimes leaks can also be caused by bad brushes like the one shown in this example (click image to enlarge).
-Such leaks are the most problematic:​ They are very hard to see visually, and they can get CaBSP thoroughly confused((If you ever experience such a case and cannot get it fixed by remaking the offending brushes, [[http://www.cafu.de/forum/|let us know]]. Please include the related map as an attachment.)).+Such leaks are the most problematic:​ They are very hard to see visually, and they can get CaBSP thoroughly confused((If you ever experience such a case and cannot get it fixed by remaking the offending brushes, [[http://forum.cafu.de|let us know]]. Please include the related map as an attachment.)).
 Even worse, usually not much helps but deleting the offending brush, and make it anew with the [[mapping:​cawe:​editingtools:​newbrush|New Brush]] and other tools. Even worse, usually not much helps but deleting the offending brush, and make it anew with the [[mapping:​cawe:​editingtools:​newbrush|New Brush]] and other tools.
  
Line 72: Line 72:
  
 A leak is a hole in the world, where the inside of it is exposed to the A leak is a hole in the world, where the inside of it is exposed to the
-(unwanted) outside region. Thus, I generated ​a leak pointfile. +(unwanted) outside region. Thus, a leak pointfile ​has been generated
-Load this file into CaWE, and find the beginning of the line.+Load this file into the world editor ​CaWE, and find the beginning of the line.
 Hint: The beginning is always near one of the "​info_player_start"​ entities. Hint: The beginning is always near one of the "​info_player_start"​ entities.
 Then find and fix the leak by tracing the line until you reach the outside. Then find and fix the leak by tracing the line until you reach the outside.
-(always ​take the shortest path, so this should be easy.)+(The line always ​takes the shortest path, so this should be easy.)
  
 Notes: Notes:
Line 82: Line 82:
 - Use the grid. The grid is useful to fix leaks + to avoid them from the start. - Use the grid. The grid is useful to fix leaks + to avoid them from the start.
 - Make sure that *all* "​info_player_start"​ entities are inside the world! - Make sure that *all* "​info_player_start"​ entities are inside the world!
 +- Be aware that both the clip hull and the draw hull must be sealed.
 - Please refer to the documentation for additional information. - Please refer to the documentation for additional information.
  
Line 87: Line 88:
  
 FATAL ERROR: Stopped by leak. FATAL ERROR: Stopped by leak.
-Program aborted. ​+Program aborted.
 </​code>​ </​code>​
  
mapping/cawe/leaks.1246785860.txt.gz · Last modified: 2013-01-07 12:07 (external edit)