entities create leaks
Post Reply
Quote
Re: entities create leaks
Posted by MaxPower on Fri Oct 24th at 11:15pm 2003


Ok, *phew*, i am making maps for CS in VHE 3.4. Evry time i put in a point-based entity in my map(thats including an info_player_start!!) it creates a leak. What Do i do?! Please help!!



Quote
Re: entities create leaks
Posted by Campaignjunkie on Fri Oct 24th at 11:18pm 2003


Entities do not cause leaks unless they are actually sticking out of your level into the void. In any case, the entity listed in a compile error is the starting point for the "pointfile". Read this ( http://www.snarkpit.com/editing.php?page=tutorials&id=3 ) and make sure you follow the information carefully. [addsig]



Quote
Re: entities create leaks
Posted by MaxPower on Sat Oct 25th at 12:02am 2003


No. You dont understand. I have done all this stuff. But seriously, evry time i take all the point-based entities out, the leak disappears. Evry time i add one, the leak appears in the compile process. In the block method, the block did not stop the leak untill i covered all the point-based entities with a block. I need Help!!!!



Quote
Re: entities create leaks
Posted by Campaignjunkie on Sat Oct 25th at 12:08am 2003


There's more than one way to screw up, but the problem is still the same. Check the positioning of your point entities and make sure they don't stick out into the void. And what point-entities are you using, specifically?

[addsig]



Quote
Re: entities create leaks
Posted by Leperous on Sat Oct 25th at 10:53am 2003


What happens if you build a giant hollow box around the entire level?

And have you tried the pointfile method properly? Screwy leaks can often only appear when something 'triggers' it to be noticed by the compilers- a few weeks ago, someone making a small box in the middle of a corridor would stop a leak from occuring.





Quote
Re: entities create leaks
Posted by MaxPower on Sat Oct 25th at 11:26am 2003


I did try the pointfile idea. I like it, but evry time i do it, it says "error:PutClientInGame: no info_player_start" when it is about to start. I put one in my map. I check it evry time. That is my only beef wit that otherwise i would have tackled this darn leak. Is there somting specifacally you have to do to make your info_player_start read?



Quote
Re: entities create leaks
Posted by MaxPower on Sat Oct 25th at 11:27am 2003


i will try the giant box idea u suggested tho



Quote
Re: entities create leaks
Posted by Gollum on Sat Oct 25th at 11:37am 2003


Odd - you shouldn't even need a player start for the map to run in singleplayer. If the game can't find one, it just dumps you at the world origin (0, 0, 0) instead. Then you can noclip out. [addsig]



Quote
Re: entities create leaks
Posted by Sim on Sat Oct 25th at 4:17pm 2003


Are you sure there isn't a leak in the first place, because it will point you to the nearest entity to he leak.

[addsig]




Quote
Re: entities create leaks
Posted by Leperous on Sun Oct 26th at 1:35pm 2003


... good point, the compilers won't care if you have a leak but no entities Mr Maxpower, you have leak(s) in your level and nothing weird is going on. Is this putclientingame error message stopping your map from loading then?



Quote
Re: entities create leaks
Posted by Orpheus on Sun Oct 26th at 1:48pm 2003


? posted by Sim

Are you sure there isn't a leak in the first place, because it will point you to the nearest entity to he leak.

entities do NOT create leaks unless placed in the void.

you must have a leak already, there is no other way.

and you do NOT need an info_player_start.. you only NEED a multi-player if you plan on it ever showing up in your list.

[addsig]




Quote
Re: entities create leaks
Posted by ReNo on Sun Oct 26th at 4:36pm 2003


Don't have too much time to read through all this, but in my understanding, a leak is caused when an entity has a route to the void, and so having a hole in the level means any entities inside the map fulfill this requirement for a leak. This also means that having a hole in a level with no entities means no leaks maybe? Not something I've ever tested, but I guess it makes sense. [addsig]



Quote
Re: entities create leaks
Posted by Hornpipe2 on Sun Oct 26th at 4:54pm 2003


Looks like you need to do the following:

1) Put an info_player_start in your map.

2) Don't worry about the LEAK LEAK LEAK stuff, your map will still compile.

3) Run HL and bring down the console and type pointfile. Follow the trail of dots until it goes outside the level. Fix the hole in VHE. Repeat.

'Course, if you're too lazy to read the resources already pointed out to you (http://www.snarkpit.com/editing.php?page=tutorials&id=3) then I don't know why I'm helping.

EDIT:

? posted by Leperous

What happens if you build a giant hollow box around the entire level?

YOU SHOULD NOT HAVE SAID THAT! Now he'll figure out that it seemingly "solves his problem" and he'll stick with it.

[addsig]




Quote
Re: entities create leaks
Posted by Leperous on Wed Oct 29th at 10:37pm 2003


Well now we know it's just a general leak, it's all very well smacking me up for saying that But meh, case closed methinks, it's just a normal crappy leak.




Post Reply