Problem with Gel

Avatar
Coldknife
10 Posts
Posted May 25, 2011
Replied 3 minutes later
Ok it was a mistake sorry for that i only use hammer and i observed that but i'm new to hammer so all i say is supposition due to observations, but i still thinking using env_cubemap is a good way to stop the problem with gels. i stopped mine with it =)
Advertisement
Registered users don’t see ads! Register now!
Avatar
msleeper
4,136 Posts
Admin
Posted May 25, 2011
Replied 7 minutes later
Gels and cubemaps have nothing in common, other than the gel splatter uses them for it's reflections. Gels require both the "Map has paint" setting, and lighting (with no leaks). That's it.
Avatar
Pesinn
12 Posts
Posted May 27, 2011
Replied 1 day later
A got more problems :neutral:

I have made a simple map (just a box with four walls, one floor and one roof...). I cant see any leak! And there is no .lin file created when I run the map.

But still the log file says:
fixing up env_cubemap materials on brush sides...
0...1...2...3...4...5...6...7...8...9...10* leaked *

It doesn?t matter what I do... it always seems to leak. Have anyone idea what I might be doing wrong here?

Avatar
Another Bad Pun
516 Posts
Posted May 27, 2011
Replied 31 minutes later
If any of your brushes are tied to an entity, some let light go through them. For example: func_detail can't seal a map. Also if you have an area_portal that isn't sealed tight, it can leak in a different way. If you have an entity outside your map it will leak, or if you happen to have a light floating outside it it will leak. None of these may be the issue, but this is what has happened to me before.

Edit: No idea about the lin. file. BTW, Nodraw can seal a map too, but it sometimes looks trippy if put in the wrong places.

Avatar
Mog
52 Posts
Posted May 27, 2011
Replied 33 minutes later

Pesinn wrote:
A got more problems :neutral:

I have made a simple map (just a box with four walls, one floor and one roof...). I cant see any leak! And there is no .lin file created when I run the map.

But still the log file says:
fixing up env_cubemap materials on brush sides...
0...1...2...3...4...5...6...7...8...9...10* leaked *

It doesn?t matter what I do... it always seems to leak. Have anyone idea what I might be doing wrong here?

Can you post your source vmf?

Avatar
Pesinn
12 Posts
Posted May 27, 2011
Replied 4 hours later

I am only using func_detail. If that doesnt seal a map, what else can I use?

Here is the source vmf:

versioninfo
{
   "editorversion" "400"
   "editorbuild" "5304"
   "mapversion" "2"
   "formatversion" "100"
   "prefab" "0"
}
visgroups
{
}
viewsettings
{
   "bSnapToGrid" "1"
   "bShowGrid" "1"
   "bShowLogicalGrid" "0"
   "nGridSpacing" "64"
   "bShow3DGrid" "0"
}
world
{
   "id" "1"
   "mapversion" "2"
   "classname" "worldspawn"
   "skyname" "sky_black_nofog"
   "maxpropscreenwidth" "-1"
   "detailvbsp" "detail.vbsp"
   "detailmaterial" "detail/detailsprites"
   "maxblobcount" "250"
   solid
   {
      "id" "2"
      side
      {
         "id" "1"
         "plane" "(-832 384 64) (2240 384 64) (2240 -2816 64)"
         "material" "CONCRETE/CONCRETE_BTS_FLOOR002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 -1 0 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "2"
         "plane" "(-832 -2816 0) (2240 -2816 0) (2240 384 0)"
         "material" "CONCRETE/CONCRETE_BTS_FLOOR002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 -1 0 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "3"
         "plane" "(-832 384 64) (-832 -2816 64) (-832 -2816 0)"
         "material" "CONCRETE/CONCRETE_BTS_FLOOR002B"
         "uaxis" "[0 1 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "4"
         "plane" "(2240 384 0) (2240 -2816 0) (2240 -2816 64)"
         "material" "CONCRETE/CONCRETE_BTS_FLOOR002B"
         "uaxis" "[0 1 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "5"
         "plane" "(2240 384 64) (-832 384 64) (-832 384 0)"
         "material" "CONCRETE/CONCRETE_BTS_FLOOR002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "6"
         "plane" "(2240 -2816 0) (-832 -2816 0) (-832 -2816 64)"
         "material" "CONCRETE/CONCRETE_BTS_FLOOR002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      editor
      {
         "color" "0 133 226"
         "visgroupshown" "1"
         "visgroupautoshown" "1"
      }
   }
   solid
   {
      "id" "6"
      side
      {
         "id" "7"
         "plane" "(-832 384 1536) (2240 384 1536) (2240 -2816 1536)"
         "material" "TRAINCARS/CROOFHPATTERN1MSDM"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 -1 0 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "8"
         "plane" "(-832 -2816 1472) (2240 -2816 1472) (2240 384 1472)"
         "material" "TRAINCARS/CROOFHPATTERN1MSDM"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 -1 0 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "9"
         "plane" "(-832 384 1536) (-832 -2816 1536) (-832 -2816 1472)"
         "material" "TRAINCARS/CROOFHPATTERN1MSDM"
         "uaxis" "[0 1 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "10"
         "plane" "(2240 384 1472) (2240 -2816 1472) (2240 -2816 1536)"
         "material" "TRAINCARS/CROOFHPATTERN1MSDM"
         "uaxis" "[0 1 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "11"
         "plane" "(2240 384 1536) (-832 384 1536) (-832 384 1472)"
         "material" "TRAINCARS/CROOFHPATTERN1MSDM"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "12"
         "plane" "(2240 -2816 1472) (-832 -2816 1472) (-832 -2816 1536)"
         "material" "TRAINCARS/CROOFHPATTERN1MSDM"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      editor
      {
         "color" "0 235 132"
         "visgroupshown" "1"
         "visgroupautoshown" "1"
      }
   }
   solid
   {
      "id" "7"
      side
      {
         "id" "13"
         "plane" "(-832 -2816 1472) (2240 -2816 1472) (2240 -2880 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 -1 0 -256] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "14"
         "plane" "(-832 -2880 64) (2240 -2880 64) (2240 -2816 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 -1 0 -256] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "15"
         "plane" "(-832 -2816 1472) (-832 -2880 1472) (-832 -2880 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[0 1 0 256] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "16"
         "plane" "(2240 -2816 64) (2240 -2880 64) (2240 -2880 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[0 1 0 256] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "17"
         "plane" "(2240 -2816 1472) (-832 -2816 1472) (-832 -2816 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "18"
         "plane" "(2240 -2880 64) (-832 -2880 64) (-832 -2880 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      editor
      {
         "color" "0 141 162"
         "visgroupshown" "1"
         "visgroupautoshown" "1"
      }
   }
   solid
   {
      "id" "9"
      side
      {
         "id" "30"
         "plane" "(-832 448 1472) (2240 448 1472) (2240 384 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 -1 0 512] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "29"
         "plane" "(-832 384 64) (2240 384 64) (2240 448 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 -1 0 512] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "28"
         "plane" "(-832 448 1472) (-832 384 1472) (-832 384 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[0 1 0 -512] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "27"
         "plane" "(2240 448 64) (2240 384 64) (2240 384 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[0 1 0 -512] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "26"
         "plane" "(2240 448 1472) (-832 448 1472) (-832 448 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "25"
         "plane" "(2240 384 64) (-832 384 64) (-832 384 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      editor
      {
         "color" "0 141 162"
         "visgroupshown" "1"
         "visgroupautoshown" "1"
      }
   }
   solid
   {
      "id" "14"
      side
      {
         "id" "43"
         "plane" "(-896 384 1472) (-832 384 1472) (-832 -2816 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 256] 0.25"
         "vaxis" "[0 -1 0 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "44"
         "plane" "(-896 -2816 64) (-832 -2816 64) (-832 384 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 256] 0.25"
         "vaxis" "[0 -1 0 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "45"
         "plane" "(-896 384 1472) (-896 -2816 1472) (-896 -2816 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[0 1 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "46"
         "plane" "(-832 384 64) (-832 -2816 64) (-832 -2816 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[0 1 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "47"
         "plane" "(-832 384 1472) (-896 384 1472) (-896 384 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 256] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "48"
         "plane" "(-832 -2816 64) (-896 -2816 64) (-896 -2816 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 256] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      editor
      {
         "color" "0 131 112"
         "visgroupshown" "1"
         "visgroupautoshown" "1"
      }
   }
   solid
   {
      "id" "18"
      side
      {
         "id" "60"
         "plane" "(2240 384 1472) (2304 384 1472) (2304 -2816 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 -1 0 256] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "59"
         "plane" "(2240 -2816 64) (2304 -2816 64) (2304 384 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 -1 0 256] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "58"
         "plane" "(2240 384 1472) (2240 -2816 1472) (2240 -2816 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[0 1 0 -256] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "57"
         "plane" "(2304 384 64) (2304 -2816 64) (2304 -2816 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[0 1 0 -256] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "56"
         "plane" "(2304 384 1472) (2240 384 1472) (2240 384 64)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      side
      {
         "id" "55"
         "plane" "(2304 -2816 64) (2240 -2816 64) (2240 -2816 1472)"
         "material" "METAL/BLACK_WALL_METAL_002B"
         "uaxis" "[1 0 0 0] 0.25"
         "vaxis" "[0 0 -1 0] 0.25"
         "rotation" "0"
         "lightmapscale" "16"
         "smoothing_groups" "0"
      }
      editor
      {
         "color" "0 131 112"
         "visgroupshown" "1"
         "visgroupautoshown" "1"
      }
   }
}
cameras
{
   "activecamera" "-1"
}
cordons
{
   "active" "0"
}
Avatar
ChickenMobile
2,460 Posts
Posted May 27, 2011
Replied 37 minutes later

Pesinn wrote:
I am only using func_detail. If that doesnt seal a map, what else can I use?

Here is the source vmf:

  1. Func_details should only be used on blocks that do not contribute to the physical structure of the map

  2. Every block that touches the 'void' should be a World brush in order to 'seal' what is inside. Select all your brushes that touch outside your map and click the 'To World' button to the right.

  3. I think they were asking you to upload your .vmf somewhere and then post a link to dl it. By posting the whole of your code you wasted around 4 pages of scrolling.

  4. A map will constantly say it leaks if there is no lights inside the map. Please place an light entity and it will remove the error.

Avatar
msleeper
4,136 Posts
Admin
Posted May 27, 2011
Replied 1 hour later
Read this article on when and how to use func_detail.

Also, you can post VMFs as post attachments.

Advertisement
Registered users don’t see ads! Register now!
Avatar
Pesinn
12 Posts
Posted Jun 02, 2011
Replied 5 days later
I havent had time to work on this. But thx for the help, I will check this out soon :smile: