Please or Register to create posts and topics.

Serious problem with some maps I make

Sometimes I will make a map and it will work fine, then I add some stuff to it, run it again, and the entire level is screwed up completely

Portal 1.5 http://www.moddb.com/mods/portal-15

here's what happens when I run the map

Portal 1.5 http://www.moddb.com/mods/portal-15

Your map apparently leaks. Check the compilation log - it should say:

Code: Select all
-- leaked --
Entity entity_name (x_pos y_pos z_pos) leaked!
Trivia: this is the very second account I registered with the nickname ASBusinessMagnet, after my YouTube channel.

But what do I do to fix it?

Portal 1.5 http://www.moddb.com/mods/portal-15
yohoat9 wrote:
But what do I do to fix it?

This happens every once in a while with water for me; the next time I compile, it'll be gone. Very odd, and I'm guessing it's just a bug. If there is that flag in the compile log, then there's an entity that's outside of your map (e.g. projecting into or touching the "void"). Under one of the drop-down menus at the top, click "Load Pointfile". If there's a leak, a dialog will pop up saying "Load default pointfile (<filename>.lin)?" Hit yes. Now, there will be a red line in all four views that stem from wherever the leak is coming from; fix it so nothing's touching/protruding into the void, hit "Unload Pointfile" (under drop-down menu again), and compile. That should fix your problem.

Image
Now with 100% more inline comments!

Required knowledge for any Source mapper:
http://developer.valvesoftware.com/wiki/Leak

If your map doesn't have a leak (anymore) and the problem still persists (i.e. it's not a compiling freak accident like WinstonSmith described), then there is probably something wrong with your water volume. Check that:

  • the water volume is flush with the walls on all sides and the bottom of the pool,
  • the water texture is only applied to the top of the brush, all other sides must be "tools/toolsnodraw".

EDIT: some more info on making water:
http://developer.valvesoftware.com/wiki/Adding_Water

Sendificate series: Sendificate | A Beam Too Far | Airtime | 302
Other Portal 2 maps: Medusa Glare
Portal 1 maps: Try Anything Twice | Manic Mechanic

The 'Load Pointfile' saved my butt on a rather difficult room I constructed for my demo map. Just find yourself in my 'blue' room to understand what I mean after I upload it to the server with my texture package.

Sparky the Telus Pig status:
Fully recovered and kicking ham!
Now if only the snow and mud goes away (pigs truly hate wet mud!).