how to solve map leaks


(yankeedoodle) #1

My friend and I are setting our first steps in creating maps, but we’re already having a first problem. When we try to build a map which is not a hollowed cube, it says: map leaked.
I know it’s got something to do with the map being exposed to the void, but how do I solve this?


(twt_thunder) #2

you need to have a sealed box around your map


(Mateos) #3

But if they have a map designed only in interiors, the VIS will be calculated outside :confused:

In GtkRadiant, when it happens, you should have a red line drawn in 2D and 3D modes to locate where the leak happen; Your map has to be sealed with structural brushes (When you make a brush it is by default structural so no worry for learning).


(yankeedoodle) #4

but can I make this sealed box invisible someway, otherwise it just looks weird and not realistic that the entire map takes place in a cube.


(Mateos) #5

How is your map layout? Is it inside or outside?

Maybe a screenshot if you can?


(twt_thunder) #6

[QUOTE=Mateos;439676]How is your map layout? Is it inside or outside?

Maybe a screenshot if you can?[/QUOTE]

no he cant because the map leaks… :smiley: cant compile a leaked map

And if he gonna see the box around the map, what he needs is a skybox :penguin:


(Mateos) #7

[QUOTE=thunderpwn;439697]no he cant because the map leaks… :smiley: cant compile a leaked map

And if he gonna see the box around the map, what he needs is a skybox :penguin:[/QUOTE]

Still, he can make a screenshot from the editor 3D view :3

And again a skybox would be needed if his map is in exterior :slight_smile: If it’s only interiors there would be no need.


(yankeedoodle) #8

It is an exterior map. The map isn’t much yet. It’s just a sort of large box without ceiling.
Does this mean that the map leaks because I don’t have a skybox?


(Mateos) #9

Yes, the playable area has to be separated from the void outside, so you need in case of exterior a culled box (Made of 6 brushes for N/E/W/S and top/down), textured with Caulk, and the inside of these with a skybox shader, like textures/skies_sd/sd_siwasky (Press S and copy/paste this in the Texture field; Will appear as missing shader but it is OK).


(yankeedoodle) #10

So I just need to make a gigantic cube and give every side a skytexture?
How do I make one picture of a texture fit over a whole side of the cube?


(twt_thunder) #11

[QUOTE=yankeedoodle;439740]So I just need to make a gigantic cube and give every side a skytexture?
How do I make one picture of a texture fit over a whole side of the cube?[/QUOTE]

No need to, use the texture mateos told you and it will automatic be a sky


(Mateos) #12

If you stretch it, the sky will be stretched :3

For other textures: press S while you’ve selected and textured a surface, there’s a button Fit, it will do the job :slight_smile:


(yankeedoodle) #13

It works, thx guys!