Map Troubles

Psyphil

L3: Member
Nov 6, 2007
125
60
Placement
To define a cubemap’s position in space inside of a game map, we use the env_cubemap entity. When the map is compiled with VBSP, world geometry surfaces automatically associate themselves with the nearest cubemap to their surface.

It is important to note that cubemaps can have multiple uses depending on how they are placed in a game map. Some cubemaps will need to be placed to help reflections on static world geometry. Other cubemaps must be placed to help reflections on entities like NPCs or the player. The placement of these cubemaps must follow a few simple heuristics (depending on their utility) to ensure the maximal benefit, visually.

If a cubemap is intended for NPCs or the player, it should be placed 64 units above the ground so that it most accurately represents the world at that point in space for a standing creature.​
If a cubemap is intended for static world geometry, it should be at least 16 units away from all brush surfaces.​
Cubemaps should be placed in all areas of visual contrast. A hallway with bright yellow light will need a cubemap, especially if it is next to a room with low blue light. Without these two distinct cubemaps, reflections and specular highlights will seem incorrect on entities and world geometry.​

Basicly place one (or more if it's big) in every room
 

ChickenLover

L2: Junior Member
Jun 28, 2008
95
19
however, it still shows the purple checkerboard

You need to link the face of the glass. So there should be an option to link Brush Faces. Select the glass you want, you can hold control to mark multiple faces. Also, I usually use a cubemap size of 16x16 for glass or reflective surfaces.
 

Baraleth

L4: Comfortable Member
Aug 8, 2008
172
54
hey. does anyone know what this mean?
info_player_teamspawn failed to find control point round named blue_respawn_1
info_player_teamspawn failed to find control point round named red_spawnroom_01
It appears in the console when I join a team and when the round first starts

LD
 
Oct 6, 2008
1,947
445
http://www.haradirki.de/hl2/error.htm

"Du hast zuviele Leaves in deiner Map. Du solltest deine Map optimieren, um diesen Fehler zu entfernen. Du kannst du dir auch deine Map mal mit GLVIEW ansehen um dir ein Bild von der Sache zu machen."

Dang just as I was enjoying this - you had to ruin it for me and put in a translation:mad:

LOL just kidding - thanks for the info :wow:
 

Baraleth

L4: Comfortable Member
Aug 8, 2008
172
54
Alright. I know it has been a long time since I posted something regarding my map, but I once again have some errors. heres the compile log:
** Executing...
** Command: "d:\program files\valve\steam\steamapps\halfwife2\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf" "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v7"

Valve Software - vbsp.exe (May 19 2009)
4 threads
materialPath: d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf\materials
Loading D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v7.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
Processing areas...done (0)
Building Faces...done (0)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 14 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
done (0)
writing D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v7.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_night_03 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_night_03 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_night_03 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_night_03 to build the default cubemap!
Finding displacement neighbors...
Found a displacement edge abutting multiple other edges.
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...

** Executing...
** Command: "d:\program files\valve\steam\steamapps\halfwife2\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf" "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v7"

Valve Software - vvis.exe (May 19 2009)
4 threads
reading d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v7.bsp
Error opening d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v7.bsp

** Executing...
** Command: "d:\program files\valve\steam\steamapps\halfwife2\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters: -game "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf" "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v7"

Valve Software - vrad.exe SSE (May 19 2009)

Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
[34 texlights parsed from 'lights.rad']

Loading d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v7.bsp
Error opening d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v7.bsp

** Executing...
** Command: Copy File
** Parameters: "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v7.bsp" "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf\maps\cp_wasteland_v7.bsp"

The command failed. Windows reported the error:
"The system cannot find the file specified."

I can't seem to find anything wrong with this, so could anyone see if they can spot a problem?
Also the vbsp didn't run.

Thanks

LD
 
Last edited:

Jack Riguel

L10: Glamorous Member
Jul 19, 2009
721
254
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!

Imagine the compiler as Navi from OoT. Whenever something is wrong, it bugs the hell out of you about it.

You've got yourself a nodraw on a displacement.
 

Jack Riguel

L10: Glamorous Member
Jul 19, 2009
721
254
It should come up if you use alt-p. That'll show the error window. If not, other then going through your map and just checking your displacements I'm not sure how to find it.

If you need the displacement, then add a texture on it. If not, then just go to the displacement window and "destroy" it. I'll return the brush back to normal.
 

Baraleth

L4: Comfortable Member
Aug 8, 2008
172
54
Alright so now its giving me coordinates to brushes that don't exsit. heres the compile log.

** Executing...
** Command: "d:\program files\valve\steam\steamapps\halfwife2\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf" "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v6ab"

Valve Software - vbsp.exe (May 19 2009)
4 threads
materialPath: d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf\materials
Loading D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v6ab.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
**** leaked ****
Entity prop_static (2025.00 -2397.00 900.40) leaked!

FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (6656.0 7168.0 1318.3)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (7168.0 6656.0 1318.3)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (5632.0 7168.0 1318.3)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (4608.0 7168.0 1318.3)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (7168.0 5632.0 1318.3)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (7168.0 4608.0 1318.3)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (3584.0 7168.0 1318.3)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:


FindPortalSide: Couldn't find a good match for which brush to assign to a portal near (2560.0 7168.0 1318.3)
Leaf 0 contents:
Leaf 1 contents: CONTENTS_SOLID
viscontents (node 0 contents ^ node 1 contents): CONTENTS_SOLID
This means that none of the brushes in leaf 0 or 1 that touches the portal has CONTENTS_SOLID
Check for a huge brush enclosing the coordinates above that has contents CONTENTS_SOLID
Candidate brush IDs:

*** Suppressing further FindPortalSide errors.... ***
Processing areas...done (0)
Building Faces...done (1)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 14 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
NODRAW on terrain surface!
NODRAW on terrain surface!
NODRAW on terrain surface!
done (0)
*** Error: Skybox vtf files for skybox/sky_night_03 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_night_03 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_night_03 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_night_03 to build the default cubemap!
Finding displacement neighbors...
Found a displacement edge abutting multiple other edges.
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...

** Executing...
** Command: "d:\program files\valve\steam\steamapps\halfwife2\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf" "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v6ab"

Valve Software - vvis.exe (May 19 2009)
4 threads
reading d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v6ab.bsp
Error opening d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v6ab.bsp

** Executing...
** Command: "d:\program files\valve\steam\steamapps\halfwife2\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters: -game "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf" "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v6ab"

Valve Software - vrad.exe SSE (May 19 2009)

Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
[34 texlights parsed from 'lights.rad']

Loading d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v6ab.bsp
Error opening d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v6ab.bsp

** Executing...
** Command: Copy File
** Parameters: "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v6ab.bsp" "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf\maps\cp_wasteland_v6ab.bsp"

The command failed. Windows reported the error:
"The system cannot find the file specified."

as you can see, I've decreased the amount of "NODRAW on terrain surface!" lines.

LD
 

Baraleth

L4: Comfortable Member
Aug 8, 2008
172
54
That "leaked" prop was still in the sealed are. However when I deleted all of my props and it said that the lights were leaking, so I deleted those and it said that the env_soundscapes were leaking. But all of those were in the sealed area. It just isn't making any sense.

LD
 

Jack Riguel

L10: Glamorous Member
Jul 19, 2009
721
254
You've got yourself a leak. What you need to do is fast compile, then go to the "map" drop-down menu and select "load pointfile". A red line will appear and draw through your map from a random entity to a hole in the wall that leads to the void. You'll need to patch that up.

Once you've done that, do another fast compile and load it up again. Keep patching until there's no longer a point-file to load that is the same name as your map.
 

re1wind

aa
Aug 12, 2009
644
588
deselecting everything in the vis group besides world geometry (hide/untick tools as well, if you have any) will help you in visualizing said red line (the leak) and where it is escaping into the void, aka "outside" of your map.
 

Baraleth

L4: Comfortable Member
Aug 8, 2008
172
54
This is my new compile log. I got rid of the "NODRAW on terrain surface!" and it still doesn't run.


** Executing...
** Command: "d:\program files\valve\steam\steamapps\halfwife2\sourcesdk\bin\orangebox\bin\vbsp.exe"
** Parameters: -game "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf" "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v8"

Valve Software - vbsp.exe (May 19 2009)
4 threads
materialPath: d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf\materials
Loading D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v8.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
Processing areas...done (0)
Building Faces...done (1)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 14 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v8.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_night_03 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_night_03 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_night_03 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_night_03 to build the default cubemap!
Finding displacement neighbors...
Found a displacement edge abutting multiple other edges.
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...

** Executing...
** Command: "d:\program files\valve\steam\steamapps\halfwife2\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf" "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v8"

Valve Software - vvis.exe (May 19 2009)
4 threads
reading d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v8.bsp
Error opening d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v8.bsp

** Executing...
** Command: "d:\program files\valve\steam\steamapps\halfwife2\sourcesdk\bin\orangebox\bin\vrad.exe"
** Parameters: -game "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf" "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v8"

Valve Software - vrad.exe SSE (May 19 2009)

Valve Radiosity Simulator
4 threads
[Reading texlights from 'lights.rad']
[34 texlights parsed from 'lights.rad']

Loading d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v8.bsp
Error opening d:\program files\valve\steam\steamapps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v8.bsp

** Executing...
** Command: Copy File
** Parameters: "D:\Program Files\Valve\Steam\SteamApps\halfwife2\sourcesdk_content\tf\mapsrc\cp_wasteland_v8.bsp" "d:\program files\valve\steam\steamapps\halfwife2\team fortress 2\tf\maps\cp_wasteland_v8.bsp"

The command failed. Windows reported the error:
"The system cannot find the file specified."