graphical problems CS Source

graphical problems CS Source

Re: graphical problems CS Source Posted by spec on Sun Mar 6th 2005 at 9:20pm
spec
9 posts
Posted 2005-03-06 9:20pm
spec
member
9 posts 1 snarkmarks Registered: Mar 6th 2005 Occupation: Student Location: UK
When playing my map it works fine but when i startt to look around the textures start duplicating into the distance. ive posted some screenshots because its hard to explain.

how it looks when its normal:

http://img64.exs.cx/my.php?loc=img64&image=screen23ac.jpg&bgc=002200&fgc=002211&bor=002211

When i start moving around it goes like this:

http://img64.exs.cx/my.php?loc=img64&image=screen10lo.jpg&bgc=002200&fgc=002211&bor=002211

http://img17.exs.cx/my.php?loc=img17&image=screen15ph.jpg&bgc=002200&fgc=002211&bor=002211
Re: graphical problems CS Source Posted by jman on Sun Mar 6th 2005 at 9:36pm
jman
40 posts
Posted 2005-03-06 9:36pm
jman
member
40 posts 4 snarkmarks Registered: Feb 17th 2005
Is your skybox on the edge of your wall/floor?If not, that'll probobly fix it to put the skybox on the edge.
Re: graphical problems CS Source Posted by omegaslayer on Sun Mar 6th 2005 at 9:47pm
omegaslayer
2481 posts
Posted 2005-03-06 9:47pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Hall of mirrors effect...are you using any nodraw brushes in that area?
Re: graphical problems CS Source Posted by spec on Sun Mar 6th 2005 at 10:20pm
spec
9 posts
Posted 2005-03-06 10:20pm
spec
member
9 posts 1 snarkmarks Registered: Mar 6th 2005 Occupation: Student Location: UK
Ermm... The skybox i make using a small busuh and putting skybox texture on it. so how do you mean at the corners of map?

And i have nodraw for glass and water. However it does it further up where there aint any nodraw textures.
Re: graphical problems CS Source Posted by French Toast on Mon Mar 7th 2005 at 12:25am
French Toast
3043 posts
Posted 2005-03-07 12:25am
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
How did you make the skybox? When you say skybox texture did you use tools/toolsskybox or something else?

Check for leaks.

Make sure your brush with tools/toolsskybox on it isn't intersecting any other brushes and completely contains open areas of your map.

Build cubemaps? (Just guessing)

ALT+P in editor to check for problems (it never really finds anything)

Try these things then post back.
Re: graphical problems CS Source Posted by spec on Mon Mar 7th 2005 at 7:25pm
spec
9 posts
Posted 2005-03-07 7:25pm
spec
member
9 posts 1 snarkmarks Registered: Mar 6th 2005 Occupation: Student Location: UK
my map does have 2 leaks. But i dont know what they are or how to fix them.

My skybox is made by making a small brush and applying a toolsskybox texture (a blue bg with skybox written on it).

Could someone explain how to fix leaks? p.s if anyone has msn add me becuase i could use someone who can help me now and again. (markspec87@hotmail.com)

thanks
Re: graphical problems CS Source Posted by Sub-Zero on Mon Mar 7th 2005 at 8:28pm
Sub-Zero
53 posts
Posted 2005-03-07 8:28pm
Sub-Zero
member
53 posts 15 snarkmarks Registered: Feb 16th 2005 Occupation: Student Location: USA
Alright! i can finally help someone out! heh..

to fix leaks...

First compile your map.. then scroll up to the coding in the compile list...

should say something like "LEAK at (1450, 213, 123, 12345) or something similar....

After you find that... copy the coordinates by highlighting and pressing control C.... then minimize your compile log.... go back into hammer and go to

Tools<<Load Pointfile (i am pretty sure its tools.. but it may be one of the other options on the top of the screen.. either way find (LOAD POINTFILE)

what this will do is load a file that directs you to where your leak is... it basically draws a red line through the leak...

now when your pointfile is loaded... paste the coordinates into "Go to Coordinates" i believe its in the Tools listing...

and hammer should display the pointfile (red line) and the coordinates where the leak is... from there.. you need to find a hole in your wall(s) that is showing to the outside void... and fix them by closing the hole,, either by creating another wall or stretching the walls u have...

As far as the weird graphical issue your having.. it is related to your skybox ... what i would do is delete the skybox you have now and make a new one... see what happens.. make sure it surrounds the entire area that is showing to the void.. (ground if neccessary)

let me know if u need anymore help

and in case you didnt know there are tons of references on how to find leaks online, in this forum... as well as in the help files that came with Hammer =P
Re: graphical problems CS Source Posted by spec on Mon Mar 7th 2005 at 10:11pm
spec
9 posts
Posted 2005-03-07 10:11pm
spec
member
9 posts 1 snarkmarks Registered: Mar 6th 2005 Occupation: Student Location: UK
right ive looked in my code for all the leaks and problems but it isnt a coordinate. below is some code that i think looks wrong, if anyone can give me a clue about it...

**** leaked ****
Entity info_player_counterterrorist (64.00 1792.00 256.00) leaked!

(no matter where i move the ct i get this error (with diff co ords))

Memory leak: mempool blocks left in memory: 48
Memory leak: mempool blocks left in memory: 4

WriteBSP...
"materials/nature/water002a.vtf": cached version doesn't exist

any ideas?
Re: graphical problems CS Source Posted by Crono on Mon Mar 7th 2005 at 10:30pm
Crono
6628 posts
Posted 2005-03-07 10:30pm
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
your player start is either in the ground making a hole in your map ... or is corrupted some how.

Delete it and make a new one placing it a couple units above the floor. I know HL1 had this problem.

And from now on, post your compile log in the initial post of the thread.
Re: graphical problems CS Source Posted by grippY on Mon Mar 7th 2005 at 11:08pm
grippY
6 posts
Posted 2005-03-07 11:08pm
grippY
member
6 posts 1 snarkmarks Registered: Jan 16th 2005 Occupation: student Location: USA
It could be also that you don't have that particular skybox texture. . . especially if it's sky_wasteland. Try going to map/map properties and changing the skybox texture name to one of the valve textures. Try one of these:

de_cobble, de_piranesi, hav, italy.
Re: graphical problems CS Source Posted by French Toast on Mon Mar 7th 2005 at 11:30pm
French Toast
3043 posts
Posted 2005-03-07 11:30pm
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
The error was info_player_counterterrorist leaked, nothing with the skybox.

Your error means that there is a hole in your map, try moving the entity up, if that doesn't work, load the pointfile and follow the red line. Patch up the hole. That's all, it should fix your problem.
Re: graphical problems CS Source Posted by Leperous on Mon Mar 7th 2005 at 11:47pm
Leperous
3382 posts
Posted 2005-03-07 11:47pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Read again what Sub-Zero said. Load the pointfile to your map, and follow the red line until you find the hole. You may have mutliple leaks, so only run BSP (i.e. not RAD) and repeat this process until you're leak-free.

The rest of you- I'm ashamed that you're getting this wrong :razz: The player start is "causing" the leak simply because the BSP can draw a path from it to the void outside, and the co-ordinates only tell you where this entity is (so it's easier to find one end of your pointfile).
Re: graphical problems CS Source Posted by Sub-Zero on Tue Mar 8th 2005 at 4:06pm
Sub-Zero
53 posts
Posted 2005-03-08 4:06pm
Sub-Zero
member
53 posts 15 snarkmarks Registered: Feb 16th 2005 Occupation: Student Location: USA
Wow Lep... i think im actually getting better with this program!?! lol... but yes spec... that seems to be your problem.. i know when i had leaks in my map.. i got all sorts of strange names for them.... sometimes props would leak.. sometimes models would leak... pretty much ignore whatever it says before the leak...

example... from what you posted

(64.00 1792.00 256.00) leaked! ....go to those coordinates... then load pointfile.. find the hole fix the hole.. recompile the map and do the same thing over again until you no longer see the cursed "leaked!" =P

good luck... and if that still doesnt work let us know
Re: graphical problems CS Source Posted by Natus on Tue Mar 8th 2005 at 5:38pm
Natus
570 posts
Posted 2005-03-08 5:38pm
Natus
member
570 posts 76 snarkmarks Registered: Jan 28th 2005 Location: Denmark
i had a problem similar to this once, and it was because my
skybox was just a little box placed somwhere, instead of a hollow
box sealing my map, ofcourse you shouldn't just make a hollow box
around your map, that would slow down perfomance
Re: graphical problems CS Source Posted by spec on Tue Mar 8th 2005 at 7:06pm
spec
9 posts
Posted 2005-03-08 7:06pm
spec
member
9 posts 1 snarkmarks Registered: Mar 6th 2005 Occupation: Student Location: UK
woow. i dont know what i did but i seem to have sorted it out. I did the skybox another way and the graphical problems have gone. The terrorist leak has gone after i moved him but i still have one leak left:

Memory leak: mempool blocks left in memory: 48
Memory leak: mempool blocks left in memory: 4

it doesnt have any co-ords so i cant look for them. Any ideas what the problem may be?
Re: graphical problems CS Source Posted by satchmo on Tue Mar 8th 2005 at 7:19pm
satchmo
2077 posts
Posted 2005-03-08 7:19pm
satchmo
member
2077 posts 1809 snarkmarks Registered: Nov 24th 2004 Occupation: pediatrician Location: Los Angeles, U.S.
Those memory leak messages are not real "leaks". Every single map
that anyone will ever compile for Source will have those memory
leaks. I don't like looking at them, because they suggest that
there is something wrong with my map, but they don't hurt anything.
Re: graphical problems CS Source Posted by French Toast on Tue Mar 8th 2005 at 7:21pm
French Toast
3043 posts
Posted 2005-03-08 7:21pm
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
That happens in all compiles that I've seen. I don't think it hurts performance and I don't think you can get rid of it.
Re: graphical problems CS Source Posted by spec on Tue Mar 8th 2005 at 7:25pm
spec
9 posts
Posted 2005-03-08 7:25pm
spec
member
9 posts 1 snarkmarks Registered: Mar 6th 2005 Occupation: Student Location: UK
O, I have another quick question as well. Ive added light to my map in a room, its just a red flashing one. Thast works fine but it makes the rest of my map dark. Do i need to do something with this light to make sure the rest stays light? or can i make a big light to act as a sun? (i tried a light entity at the center of my map but it doesnt work.)

And thanks for the help guys.
Re: graphical problems CS Source Posted by French Toast on Tue Mar 8th 2005 at 7:37pm
French Toast
3043 posts
Posted 2005-03-08 7:37pm
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
light_environment is for naturla lighting. Just a light entity has too small of a radius.
Re: graphical problems CS Source Posted by spec on Tue Mar 8th 2005 at 8:47pm
spec
9 posts
Posted 2005-03-08 8:47pm
spec
member
9 posts 1 snarkmarks Registered: Mar 6th 2005 Occupation: Student Location: UK
thank you.

Im sorry for all the questions but ive got another lol. Ive made a ladder prop and the ladder entity thing but when i goto the map my actual ladder doesnt appear and my entity wont let me move up. I read some tutorials (including one on here) but for some reason it doesnt seem to be working.
Re: graphical problems CS Source Posted by French Toast on Tue Mar 8th 2005 at 9:13pm
French Toast
3043 posts
Posted 2005-03-08 9:13pm
3043 posts 304 snarkmarks Registered: Jan 16th 2005 Occupation: Kicking Ass Location: Canada
It doesn't work for me either. What I ended up doing for ladders was making the model myself (just throw some brushes together) and then make a new brush that covers the front of the home-made ladder, but doesn't intersect with it, and texture it with tools/toolsinvisibleladder. Bam! You have yourself a fully functional ladder without all that info_ladder_dismount crap.
Re: graphical problems CS Source Posted by spec on Thu Mar 10th 2005 at 2:17pm
spec
9 posts
Posted 2005-03-10 2:17pm
spec
member
9 posts 1 snarkmarks Registered: Mar 6th 2005 Occupation: Student Location: UK
thanks, that worked a treat