Odd Sky Box Lag? Created 17 years ago2007-05-10 22:57:30 UTC by ip ip

Created 17 years ago2007-05-10 22:57:30 UTC by ip ip

Posted 17 years ago2007-05-10 22:57:30 UTC Post #221615
Alright, reading the r_speeds tutorial, I'm currently trying to remove the bottom of my sky box (un-seeable because of floor) and making the edges and top 1 pixel off of the clip texture + walls. Before I had a box (sky) around my entire map about 120 pixel away from everything. Wouldn't making the sky farther away create more lag then closer???

Also another quick question... I thought sky boxes couldn't be used as invisible walls (like the clip texture). Is this true?
Posted 17 years ago2007-05-11 00:42:31 UTC Post #221617
The sky brush acts like a regular brush, only it shows the sky at any given point in a map. If you have a random sky brush in your map, you'll see the sky through that brush.

Don't ever surround your map completely with a skybox, just build the sky texture straight up from the surrounding walls of your map to a certain height, then make a flat piece on top to seal in the world form the void.

And making a huge skybox as compared to a small skybox doesn't make as much of a difference as you think. In-fact it's barely noticeable. And it's still a bad practice.

And the sky brush has to touch the other brushes. (Remember you have to seal off the level from the void. )
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-05-11 00:55:49 UTC Post #221618
I tried that, I have a box shaped map, with the top open. About 3/4ths up the walls of the map, the texture is {blue, and is invisible. So I took the sky brush and completely surround the walls and top (making sure they were touching the walls), and removed the bottom of the sky box (no point because un-seeable). I loaded the map and had EXTREME lag. So I read the tutorial about saying to move texture 1 pixel off, to stop the VIS (or whatever) from choping the texture into several pieces thus increasing r_speeds. So instead I moved the sky box walls, 1 pixel off of my map walls and put a 1 pixel wide little close off at the bottom, making sure it was enclosed, and having all but 1 pixel touching the walls. Once again I got extreme lag. My original set up had the sky box way out, and included a bottom. The lag was very low (still had some from things like touching brushs, no func_walls, etc.). Wouldn't bringing the sky box in closer reduce r_speeds, instead of increasing them?

In other words, I'm having less lag while having my sky box 150-200+ pixels off of my map walls, and including a bottom. Then I am bringing it super close and enclosing it off my walls.

:

Any help would be very appriciated.
Posted 17 years ago2007-05-11 01:08:57 UTC Post #221619
Try scaling up the {Blue texture to say.. 5 or so
Why do you want the {blue texture anyway??
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-05-11 01:11:11 UTC Post #221620
Well its not just a blue texture, its a forest texture of trees and the top of it is blue to to give the trees their actual shape so their not just square. (its all one texture) And above that is the clip texture which is the invisible enclosure. BTW do I need this or will 'sky' block off player movement for me?
Posted 17 years ago2007-05-11 01:16:33 UTC Post #221621
Hmm... Did you try nulling the back of the transparent texture? Or The top of the brush the forest texture is on?
I take it the forest doesn't need to be extremely detailed so try making it only 1 or 2 units wide.

If not, post it in the problem vault. I ain't doing anything tonight
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-05-11 01:19:18 UTC Post #221622
No I havnt ;) , I'll give that a try right now.
Posted 17 years ago2007-05-11 01:20:42 UTC Post #221623
All right. This is very weird i have never experienced anything like this before
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-05-11 01:28:34 UTC Post #221624
Oh is the brush just called 'null'? Sorry, first time having to do something like this.

BTW, the map is already uploaded in completed maps (i thought i had it completed a while back) I found out I had some lag problems so I'm kind of fixing up some stuff in it, so its kinda sloppy right now.
Posted 17 years ago2007-05-11 01:40:58 UTC Post #221625
I'd like to take a look at the .rmf and the wads. The null texture you can get from zhlt.wad. Check the links page for those links
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-05-11 01:46:43 UTC Post #221626
Ok, I just updated it, and also moved it to Problem Maps, the textures came from cz_druglab from Deleted Scenes (also included).

Edit: Oh wait 1 minute...

Edit 2: I can't include the cz_druglab.wad, you should have them if you have CZ:Deleted Scenes. The file is too big.
Posted 17 years ago2007-05-11 01:50:06 UTC Post #221627
email it to me. My email is in my profile.
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-05-11 01:56:31 UTC Post #221628
Alright its comin
Posted 17 years ago2007-05-11 02:04:38 UTC Post #221629
Ok i got it. You dont need to have clip brushes to enclose players from the outside of the map. Players can't walk through the sky anyway. And as for your "tag", you can just stick it in a hollowed out part of the floor. Someone will eventually find it.

I'll draw up a picture or suttin hold on. wait for the edit.

EDIT ---
http://img104.imageshack.us/img104/4218/examplemw9.jpg

I think that might do the trick. Follow that example through the rest of your map, and make each one of the 4 walls of the forest its own entity.
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-05-11 02:10:24 UTC Post #221630
Alright sweet, thanks for the help!
Posted 17 years ago2007-05-11 02:11:41 UTC Post #221631
Oh, and there's no need to encase the ambient_generic with a clip brush.

EDIT

im goin to bed. 2am where i dwell
too late even though im off college
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-05-11 02:31:44 UTC Post #221633
Nooo, its lagging still. I'm getting 4 fps. I enclosed everything, and its still not working. Anyone know how to fix this?

Can anyone else please help, this makes absolutly no sense...

EDIT: OH MY LORD I GOT IT!!!!!! ......... found out it was a leak in the left river brush... :D
Posted 17 years ago2007-05-11 09:47:35 UTC Post #221656
:) :
At least you found it :)
Tetsu0 Tetsu0Positive Chaos
Posted 17 years ago2007-05-11 13:02:34 UTC Post #221675
You know,

They have chat rooms for this.
Posted 17 years ago2007-05-13 11:17:18 UTC Post #221826
Yeah, but nobody else seemed to be helping him.
Tetsu0 Tetsu0Positive Chaos
You must be logged in to post a response.