Page 1 of 2

still having problems with sky

Posted: Thu Apr 24, 2003 11:43 am
by m4rine
when i try to put a sky all around my map it goes all blury when i look at it. even if 1mm of my screen catches it it locks the screen up and when u move the mouse the objects in my map blur in a sort of 'Windows solitaire way when u win wsolitaire' then i removed it for a plain grey sky and it did the same!!!!!!!!!

:cry: i cant progress on my map if i don't get this sorted, please help!

Posted: Thu Apr 24, 2003 11:47 am
by jv_map
The effect you described is know as 'hall of mirrors' (HOM). To prevent it from happening, type 'r_clear 1' in the console.

What sky texture did you use?

Posted: Thu Apr 24, 2003 12:40 pm
by m4rine
africa_night_1

Posted: Thu Apr 24, 2003 2:45 pm
by m4rine
is there a way of scripting 'r_clear 1' so u dont have to type it? cos if i release my map i dont want to have to tell people to type 'r_clear 1' everytime they play, can it be done automaticly? :?

Posted: Thu Apr 24, 2003 2:47 pm
by Butch
what about after waittill prespawn put

iprint r_clear 1

or something similar?

Posted: Fri Apr 25, 2003 12:14 pm
by Slyk
I will guarentee you that you have an overlapping/conflicting or non-aligned sky box brush on the part giving the mirror effect. Sometimes can be tough to find, but go over your sky box very carefully checking all the corners and top and bottom.

You'll eventually find the issue...but I'd bet it's a brush alignment causing it.

Posted: Fri Apr 25, 2003 2:51 pm
by panTera
i wouldnt put r_clear in your script. On servers this command will be cheat-protected i guess(?). R_clear is a command (just like lock_pvs; don't know the command for mohaa) used by mappers to properly and manually VIS their map. It then replaces the HOM by an opaque color so the mapper can see which parts of the map are actually drawn from a certain point.
I think, as Slyk said, you'll have to check your map for leaks or overlaps. Use thick (+/- 64units) skybrushes and try not to enclose the whole map with sky. Just use it as a 'lit' or 'canopy'. But it sure is a strange effect you have. Whenever I have a leak in my map, I only see HOM-effects in the places where it leaks into the void.

(side view of map):
,...__...., < skybrush in the middle
|______| < ground
Now I would only see HOM-effect where the dots are. If nothing helps then delete the whole sky and make a new one, ya never know.

Posted: Fri Apr 25, 2003 3:50 pm
by solar
Pantera Wrote:
R_clear is a command (just like lock_pvs; don't know the command for mohaa) used by mappers to properly and manually VIS their map.
I'm having FPS problems in my map. Can I ask if using this command will aid me in optimizing my FPS, or should I start a thread on it?

Posted: Fri Apr 25, 2003 7:26 pm
by panTera
(to Solar:) yeah we'd better stay on the sky-topic, right? But okay, the proper command is r_lockpvs 1 (no need to use r_clear for this). If I remember correctly this stands for Potential Visibility Set. To test this, start a SP-mission and type r_lockpvs 1 in the console. Then use noclip (notarget, the whole bunch;) to see which parts of the SP-unit are being drawn when entering the level. Type r_lockpvs 0 to turn it off. Try moving to another point in the mission, and then type r_lockpvs 1 again to see which parts are being drawn after you've moved to another point in the level.
However in most small/medium MP maps it looks like the whole map is being drawn regardless of your position in the map. But it can be a good way to see if your vis-leafgroups are doing their job right. If you have more questions about this you'd better start a new thread.

Posted: Sat Apr 26, 2003 6:16 pm
by m4rine
yo, r_clear doesnt work!

and ive tried about 12 different sky brushes, including 2 hollowed, but the rest all seperate brushes. What i did was go to the XY Top view and draw a box all around my map, then either hollow it or make it thin and add 5 more. Was it too far away or something? Right the way around my map.
:? i'm confused..........

:cry: please help!!!!!!

Posted: Sat Apr 26, 2003 8:27 pm
by wacko
As far as I understood, you get this effect in MOHAA not in MOHradiant?
What about maps that are made by someone else?
What happens in maps where the skytextures are replaced by a non-sky texture, i.e. without sky?

Posted: Wed Apr 30, 2003 6:04 pm
by m4rine
got it sorted, it turned out to be that i had put the sky brush right around the map, so the sky was ((in the game) literally about 5500 km from the ground and it messed up. ive got it sorted now though 8)

Posted: Wed Apr 30, 2003 6:10 pm
by m4rine
sorry about that
:oops:

Posted: Wed Apr 30, 2003 10:22 pm
by panTera
cheers Image

Posted: Fri May 02, 2003 6:44 pm
by Hashmark13
ugh... how did you make that face with the drink :?